@import "vars.css";

body, html {
    height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

embed{
    pointer-events: none;
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */
    /* Navigation styles start here */
    header {
        background: transparent;
        text-align: center;
        position: absolute;
        width: 100%;
        z-index: 999;
        animation: fadeInAnimation ease 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .social-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 170px;
        margin-bottom: 1vw;
        position: absolute;
        right: 10%;
        top: 2vh;
    }

    .logo-center {
        display: flex;
        position: absolute;
        top: 30vh;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        width: 80%;
    }

    .logo {
        width: 100%;
    }

    @keyframes fadeInAnimation {
        0% {
            opacity: 0;
            margin-top: 20vw;
        }
        100% {
            opacity: 1;
            margin-top: 0;
        }
    }

    .nav-toggle {
        display: none;
    }

    .nav-toggle-label {
        position: absolute;
        top: 5vw;
        left: 0;
        margin-left: 1em;
        height: 25%;
        display: flex;
        align-items: center;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--navigation-color);
        height: 3px;
        width: 2em;
        border-radius: 2px;
        position: relative;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        bottom: -14px;
    }

    .nav-toggle-label span::after {
        top: 7px;
    }

    nav {
        position: absolute;
        text-align: left;
        margin-top: 15%;
        left: 0;
        background: transparent;
        width: 100%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 400ms ease-in-out;
    }

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav li {
        margin-bottom: 1em;
        margin-left: 1em;
    }

    nav a {
        color: var(--navigation-color);
        text-decoration: none;
        font-size: 5vw;
        text-transform: uppercase;
        opacity: 0;
        transition: opacity 150ms ease-in-out;
        font-family: var(--font-style);
    }

    nav a:hover {
        color: #ffffff;
    }

    .nav-toggle:checked ~ nav {
        transform: scale(1,1);
    }

    .nav-toggle:checked ~ nav a {
        opacity: 1;
        transition: opacity 250ms ease-in-out 250ms;
    }

    /* Navigation styles end here */
    /* Parallax stuff starts here */
    .parallax {
        height: 75%;

        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .image1 {
        background-image: url("../images/bg1.webp");
    }
    /* Parallax stuff ends here */
    /* Content styles start here */
    .items-bg {
        height: auto;
        background-color:var(--section-background2);
        position:relative;
        overflow-x:hidden;
    }

    .items {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .title {
        color: var(--text-color2);
        font-family: var(--font-style);
        font-size: 2.5rem;
        margin: 1vh 0 1vh 0;
    }

    .textdiv1 {
        width: 80%;
        text-align: center;
    }

    .textdiv1 ul li {
        font-family: var(--font-style2);
        color: var(--text-color2);
        font-size: 1.2rem;
    }

    /* Content styles end here */
    /* Scroll wheel style start */
    .scroll4::-webkit-scrollbar {
        width: 10px;
    }

    .scroll4::-webkit-scrollbar-thumb {
        background: #797979;
        border-radius: 20px;
    }

    .scroll4::-webkit-scrollbar-track {
        background: #4e4e4e;
        border-radius: 20px;
    }
    /* Scroll wheel style end */
}

@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    nav a {
        font-size: 3vw;
    }

    .nav-toggle-label {
        top: 2vw;
    }

    nav {
        margin-top: 8%;
    }
}
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */
    .social-container {
        right: 4%;
    }
}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */
    .social-container {
        right: unset;
        left: 3%;
    }

    .nav-toggle-label {
        display: none
    }

    nav {
        all: unset;
    }

    nav a {
        opacity: 1;
        font-size: 2.2rem;
    }

    nav ul {
        display: flex;
        justify-content: flex-end;
        margin-right: 1%;
        margin-top: 1%;
    }
}