* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Epilogue';
}

:root {
    --Almost-White: hsl(0, 0%, 98%);
    --Medium-Gray: hsl(0, 0%, 41%);
    --Almost-Black: hsl(0, 0%, 8%);
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--Almost-White);
}

header {
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.headLeft {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

nav img {
    margin-right: 2rem;
    user-select: none;
}

nav {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
}

nav a img {
    width: fit-content;
    margin: 0;
    padding: 0; 
}

#icon-close {display: none;}

nav a, .lg a {
    text-decoration: none;
    color: var(--Almost-Black);
    cursor: pointer;
    transition: ease-in-out 0.1s;
    font-size: 0.9rem;
    align-self: center;
    color: var(--Medium-Gray);
}

nav a:hover, .lg a:hover {
    color: var(--Medium-Gray);
}

.lg {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.burger {display: none;}

main {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-evenly;
    margin: auto;
}

.left {
    display: flex;
    width: 50%;
    flex-direction: column;
    gap: 2rem;
    padding: 5rem;
}

.left h1 {
    font-size: 4.3rem;
    font-weight: 700;
}

.left p {
    font-size: 1rem;
    color: var(--Medium-Gray);
}

button {
    all: unset;
    width: fit-content;
    height: fit-content;
    padding: 0.7rem;
    border: 1px solid var(--Almost-Black);
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
    transition: ease-in-out 0.2s;
}

button:hover {
    background-color: var(--Almost-Black);
    color: var(--Almost-White);
}

.right {
    width: 28%;
    height: 28%;
}

.mobile-img {display: none;}

.right img {
    width: 100%;
    height: 100%;
    user-select: none;
}

.sponsor {
    display: flex;
    gap: 50px;
}

.sponsor img {
    width: fit-content;
    height: fit-content;
    user-select: none;
}

/* nav drop */

.fearturesDrop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    left: 150px;
    top: 70px;
    background-color: var(--Almost-White);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 5px 0.1px var(--Medium-Gray);
    transition:ease-in-out 0.3s;
    opacity:0;
    pointer-events:none;
}

.companyDrop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    left: 320px;
    top: 70px;
    background-color: var(--Almost-White);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 5px 0.1px var(--Medium-Gray);
    transition:ease-in-out 0.3s;
    opacity:0;
    pointer-events:none;
}

.fearturesDrop a img {
    margin-right: 1rem;
}

.show {
    opacity: 1;
    pointer-events: all;
}
.hide {display: none;}

@media screen and (max-width:700px) {
    body {
        overflow-x: hidden;
        overflow-y: scroll;
        width: 100%;
    }

    .lg {
        display: flex;
        z-index: 1;
        position: absolute;
        flex-direction: column;
        top: 500px;
        right: 50px;
        transition:ease-in-out 0.3s;
        opacity:0;
        pointer-events:none;
    }

    header {
        width: 100%;
    }

    .headLeft {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    #icon-close {
        display: flex;
        width: fit-content; 
        align-self: flex-end;
        margin-right: 20px;
    }

    nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        height: 100%;
        width: 50%;
        top: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 0 1000px 0px black;
        transition:ease-in-out 0.3s;
        opacity:0;
        pointer-events:none;
    }

    .fearturesDrop,.companyDrop {
        all: unset;
        display: flex;
        position: relative;
        flex-direction: column;
        gap: 1rem;
        margin-left: 1rem;
        
    }

    .burger {
        display: flex;
    }

    .burger img {
        width: 30px;
        height: 20px;
    }

    main {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    .left {
        margin: auto;
        width: 80%;
        text-align: center;
        padding: 0;
        display: flex;
        margin: auto;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .left h1 {
        font-size: 2.5rem;
    }

    .desktop-img {
        display: none;
    }

    .mobile-img {display: flex;}

    .right {
        width: 100%;
        margin-bottom: 5rem;
    }

    .sponsor {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 5rem;
    }

    .sponsor img {
        width: 70px;
    }
}