@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* { 
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}


/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 100;
}

.logo {
    width: 70px;
}

.navbar a {
    position: relative;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    margin-left: 30px;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: dodgerblue;
    transition: .3s;
}

.navbar a:hover::before {
    width: 100%;
}

#check {
    display: none;
}

.menubar {
    font-size: 40px;
    cursor: pointer;
    display: none;
}


/* CONTAINER */
.container {
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding-top: 200px;
}

.title {
    font-size: 10vw;
    cursor: pointer;
}


/* FOOTER */
footer {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 400px;
}

@media (max-width: 700px) {
    .header {
        justify-content: space-around;
        width: 90%;
    }

    .logo {
        width: 60px;
    }

    .container {
        padding-top: 150px;
    }

    .title {
        font-size: 8vw;
    }

    .menubar {
        padding: 20px;
        display: block;
    }

    .navbar {
        position: fixed;
        background-color: dodgerblue;
        width: 100%;
        height: 100vh;
        top: 100%;
        left: 0;
        text-align: center;
        transition: all .5s;
    }

    .navbar a {
        display: block;
        font-size: 40px;
        align-self: center;
        margin-left: -4px;
        margin-top: 20px;
    }

    #check:checked ~ .navbar {
        top: 120px;
    }
}
