body{
    margin: 0;
}
main{
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

header{
    background-color: grey;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 999;
    width: 100%;
    
}

.logo{
    padding-left: 20px;
    margin: 10px;
    font-family: "Anton";
    font-weight: 150;
    font-size: 30px;
}

.logo a{
    text-decoration: none;
    color: black;
}
nav{
    position: absolute;
    text-align: center;
    top: 100%;
    left: 0;
    background-color: grey;
    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 a{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out 150ms;
}

nav a:hover{
    color: black;
}

.nav-toggle:checked ~ nav{
 transform: scale(1,1);
}

.nav-toggle{
    display: none;
}

.nav-toggle:checked ~ nav a{
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

.nav-toggle-lable{
    align-self: center;
    padding-right: 30px;
    font-size: 30px;
}

.logo{
  right: 10%;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.soc-icon a{
    text-decoration: none;
    color: black;
    font-size: 20px;
}

@media screen and (min-width: 800px) {
    .nav-toggle-lable{
        display: none;
    }

    header{
        display: flex;
    }
   
    nav{
        all: unset;
        display: flex;
        align-items: center;
    }

    nav a{
        opacity: 1;
    }

    nav ul{
        display: flex;
    }

    nav ul li{
        padding-right: 15px;
    }
}