@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

:root{--ff-primary: "Roboto", sans-serif;}
body{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    background: #f0effe;
    font-family: var(--ff-primary);
}

.active{
    color: #8cf31f;
}



nav{
    background:#9b705e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}
h2{
    font-size: 3rem;
    color:cornflowerblue;
    letter-spacing: 5px;
}

ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
}

li{
    margin-right: 3em;
}

li a{
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    transition: all 0.4s ease;
    font-weight: 800;
    letter-spacing: 2px;
}

li a:hover{
    cursor: pointer;
    color: #8cf31f;
}



.main{
    min-height: 90vh;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50vw;
    margin: 0 auto;
    margin-top: 10em;
}

.container h2{
    background: #222;
    font-size: 3rem;
    color: whitesmoke;
    border-radius: 2em;
    box-shadow:0 5px 10px rgba(0, 0, 0, 0.6);
    padding: 0.4em;
}

 .color{
    font-size: 2.2rem;
    color: cornflowerblue;
    font-weight: 800;
}

.btn-main{
    font-size: 1.5rem;
    padding: 0.5em;
    border-radius: 0.5em;
    background: transparent;
    border: 2px solid #222;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.btn-main:hover{
    color: whitesmoke;
    background: rgb(63, 63, 63);
}


/* Media Queries */

@media (min-width:1024px){
    .container{
        width:100%;
    }
}

@media (min-width:1460px){
    h2{
        font-size: 7rem;
    }

    li a{
        font-size: 3.5rem;
        margin-right: 2em;
    }

    .container h2{
        border: 2px solid blue;
        font-size: 5rem;
    }

    .color{
        font-size:4.5rem;
      
    }

    .btn-main{
        font-size: 3rem;
    }
}

@media only screen 
  and (min-width: 320px) 
  and (max-width: 812px) 
  { 

    nav{
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    .container{
        width: 100vw;
        text-align: center;
    }
    .container h2{
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
    .color{
        font-size: 1.5rem;
        color: cornflowerblue;
        font-weight: 800;
        letter-spacing: 1.5px;
     
    }
    
    .btn-main{
        font-size: 1rem;
    }
}

