*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", serif;
    list-style: none;
}

nav{
    backdrop-filter: blur(20px);
    opacity: 0.9;
    margin-right: 5%;
    margin-left: 5% ;
    border-radius: 30px;
    border: 1px solid white;
    margin-top: 0;
    position: fixed;
    top: 25px;
    width: 90%;
    z-index: 1;
    
    
}
nav  a img{
    width: 5rem;
}
   
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 70px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}
nav a:hover{
    text-decoration: underline black;
}
nav li:first-child{
    margin-right: auto;
}
.sidebar{
   
    position: fixed;
    top: 0;
    right: 0;
    height: 80vh;
    width: 250px;
    z-index: 999;
    background-color: white;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-btn{
    display: none;
}
@media(max-width:800px){
    .hideOnMobile{
        display: none;
    }
    .menu-btn{
        display: block;
    }
}
@media(max-width:400px){
    .sidebar{
        width: 100%;
    }
}


#introduction{
    padding-top: 13rem;
    background-image: url(../image/solartrees-crop.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: white;
    font-size: 4rem;
    text-transform: uppercase;
    padding-left: 2rem;
    text-shadow: 0px 0px 4px brown;
}
#row-1{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    margin-top: 3rem;
    }
#image img{
    width: 20rem;
    height: 20rem;
    border-radius: 20px;
    filter: drop-shadow(0px 0px 3px brown);
}
#portfolio-header{
    margin-top: 5rem;

}
#portfolio-header h1{
    text-align: center;
    font-size: ;
}
#row-3{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    margin-top: 3rem;
    }
    
#main-footer{
    background-color: white;
    padding-bottom: 5rem;
    padding-top: 10rem;
    font-size: 1.125rem;
    line-height: 1.33em;
}
#footer-2{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: brown;
    background-size: cover;
    color: white;
    height: 5rem;
    border-radius: 30px;
    margin-right: 3rem;
    margin-left: 3rem;
    /* padding-top: 5rem; */
    box-shadow: -1px 1px 11px brown;
}
#terms-conditions{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#privacy{
    border-right: 3px solid tomato;
    padding-right: 7px;
}
#terms{
    padding-left: 7px;
}
#footer{
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 5rem;
    
}
#column-1 a{
    text-decoration: none;
    color: black;
}
#image-section{
    padding-bottom: 0;
}
#social-media img{
    width: 45px;
    padding-right: 15px;
    cursor: pointer;
}
#social-media{
    font-size: 1.125rem;
    display: flex;
    align-items: center;
}
#column-1 h1{
    padding-bottom: 15px;
    font-size: x-large;
}
@media (max-width: 480px){
    #footer, #social-media {
        font-size: 0.8rem;
    }
    #social-media img{
        width: 2rem;
    }
    #footer-2{
        font-size: 0.8rem;
        margin-right: 0rem;
        margin-left: 0rem;
        border-radius: 3px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding-left: 3px;
        padding-right: 3px;
    }
    #footer{
        display: flex;
        flex-direction: column-reverse;
        text-align: left;
        padding-left: 3rem;
    
    }
    #column-1{
    margin-bottom: 2rem;
    }
    #row-1, #row-3{
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    #image img{
        width: 14rem;
        height: 17rem;
    }
    #image{
        padding-bottom: 1rem;
    }
    #portfolio-header h1{
        text-align: center;
        font-size: larger;
    }
}


/* tablet screen size */

@media (max-width: 840px ){
    #footer, #social-media {
        font-size: 0.8rem;
    }
    #social-media img{
        width: 2rem;
    }
    #footer-2{
        font-size: 0.8rem;
        margin-right: 0rem;
        margin-left: 0rem;
        border-radius: 3px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding-left: 3px;
        padding-right: 3px;
    }
    #footer{
        display: flex;
        flex-direction: column-reverse;
        text-align: left;
        padding-left: 3rem;
    
    }
    #column-1{
    margin-bottom: 2rem;
    }
    #row-1, #row-3{
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    #image img{
        width: 14rem;
        height: 17rem;
    }
    #image{
        padding-bottom: 1rem;
    }
    #portfolio-header h1{
        text-align: center;
        font-size: larger;
    }
}