*{
    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%;   
}
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%;
    }
}

#main-footer{
    background-color: white;
    padding-bottom: 5rem;
    padding-top: 10rem;
    font-size: 1.125rem;
    line-height: 1.33em;
    color: black;
}
#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;
}
#column-2 a{
    text-decoration: none;
    color: black;
}
#column-3 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;
}


/* forms and other sections styling */
section{
    padding-top: 15rem;
    background-image: url(../craftshipwebsite/image/solarsite.jpg);
    background-repeat: no-repeat;
    background-size: contain;

}
#body-text{
    text-align: center;
    height: 17rem;
    padding-bottom: 7rem;
     
    
}
#body-text h1{
    font-size: 4rem;
}
#main-part{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    background-color: white;
    padding-top: 5rem;
}
#location{
    color: black;
    font-weight: 600;
    line-height: 2em;
    
}
#e-mail{
    padding-top: 5rem;
}
#e-mail a{
    color: brown;
    font-weight: 600;
    text-decoration: none;
}
#e-mail a:hover{
    text-decoration: underline;

}
#number{
    font-weight: 800;
    padding-top: 5rem;
}
#location h1{
    padding-bottom: 5rem;

}
#contact-info{
    width: 20%;
}
#form h1{
    padding-bottom: 5rem;
    font-size: 2rem;
    text-align: center;
}
input[type=submit]{
    background-color: red;
    color: white;
    border: solid 1px brown;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: 60%;
    border-radius: 50px; 
    text-align: center;
    font-weight: 900;
 
  }

#submit{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 3rem;
}
input[type=email] {
    border: none;
    border-bottom: 1px white;
    padding: 12px 12px;
    margin: 10px 0;
    width: 80%;
    background-color: transparent;
    color: black !important;
    font-weight: bolder;
 
  }
  .icon img{
    width: 28px;
    display: block;
    margin-left: 15px;
    padding-bottom: 0.6rem;
    
  }
  #column-3 h1{
    padding-bottom: 15px;
    font-size: x-large;
}
#column-2 h1{
    padding-bottom: 15px;
    font-size: x-large;
}
  @media (max-width: 480px){
    #main-part{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #contact-info{
        width: 80%;
        padding-bottom: 3rem;
    }
    #footer-2{
        font-size: 0.8rem;
        margin-right: 0rem;
        margin-left: 0rem;
        border-radius: 3px;
        padding-left: 3px;
        padding-right: 3px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    
  #footer, #social-media {
         font-size: 0.8rem;
         text-align: center;
    }
    #footer{
        display: flex;
        flex-direction: column-reverse;
        text-align: left;
        padding-left: 3rem;
    }

    #column-1, #column-2, #column-3{
        margin-bottom: 2rem;
        }
    #social-media img{
        width: 2rem;
    }
    #location, #e-mail, #number{
        font-size: 0.8rem;
    }
    #e-mail, #number{
        padding-top: 3rem;
    }
    #form{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #submit, #name, #location, #comment{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
       
        
    }
    #comment{
        display: flex;
        justify-content: center;
    }
    #location{
        width: 100%;
    }
    #commentss{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
  }

    /* tablet screen size */

    
  @media (max-width: 840px){
    #main-part{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #contact-info{
        width: 80%;
        padding-bottom: 3rem;
    }
    #footer-2{
        font-size: 0.8rem;
        margin-right: 0rem;
        margin-left: 0rem;
        border-radius: 3px;
        padding-left: 3px;
        padding-right: 3px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    
  #footer, #social-media {
         font-size: 0.8rem;
         text-align: center;
    }
    #footer{
        display: flex;
        flex-direction: column-reverse;
        text-align: left;
        padding-left: 3rem;
    }

    #column-1, #column-2, #column-3{
        margin-bottom: 2rem;
        }
    #social-media img{
        width: 2rem;
    }
    #location, #e-mail, #number{
        font-size: 0.8rem;
    }
    #e-mail, #number{
        padding-top: 3rem;
    }
    #form{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #submit, #name, #location, #comment{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
       
        
    }
    #comment{
        display: flex;
        justify-content: center;
    }
    #location{
        width: 100%;
    }
    #commentss{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
  }