body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
    background-color: aliceblue;
}
p, li{
    line-height: 1.6em;;
}


.container{
    margin: auto;
    width:90%;
    max-width: 1200px;
}
hr{
    margin:0;
    position: relative;
    width:100%;
    opacity: 0.2;
}

/* header */
.header{
    padding:15px 0;
}
.head{
    font-size: 2.5em;
    font-weight: 400;
}
nav{
    float:right;
}
nav ul{
    list-style:none;
}
nav li{
    float:left;
    padding: 0 12px;
    font-size: 1.1em;
}
nav a:hover{
    color:rgb(243, 96, 80);
}
nav a{
    text-decoration: none;
    color:lightsalmon;
    font-weight: 500;
}
#current{
    color: rgb(243, 96, 80);
}


.dropdown {
    margin-top:6px;
    float: right;
    overflow: hidden;
    display: none;
  } 
.dropdown .dropbtn {
    font-size: 1.3em;  
    border: none;
    outline: none;
    color: #fff;
    padding: 8px 14px;
    background-color: lightsalmon;
    font-family: inherit;
    font-weight: 700;
    margin: 0;
}
.dropdown .dropbtn:hover{
    color: lightsalmon;
    background-color: #333;
}
.dropdown-content {
    float:right;
    display: none;
    margin-left:-112.19px;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
} 
.dropdown-content a {
    float: none;
    color: lightsalmon;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
} 
.dropdown-content a:hover {
    background-color: #ddd;
    color:rgb(243, 96, 80);
} 

/* maincontent */
.card{
    display:grid;
    grid-template-areas: 'sidemenu main-content main-content main-content' ;
}
.about{
    margin-top:20px;
}
.about-head{
    font-size: 1.2em;
}

/* sidemenu */
.side-menu{
    width:185px;
    grid-area: sidemenu;
    background-color: rgba(197, 223, 245, 0.76);
    border: none;
    border-radius: 5px;
    line-height: 1.3em;
}
.side-menu h3{
    margin:0;
    padding: 15px 10px  ;
    font-size:1.2em;
    font-weight: 400;
}
.side-menu a{
    color:#333;
}
.side-menu ul{
    margin:0;
    padding-left: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.side-menu li{
    left:30px;
    font-size:1.1em;
    padding: 10px;
    padding-right:0;
    width:100%;
}
.side-menu li:hover{
    font-size: 1.2em;
    background-color: rgba(197, 223, 245, 0.9);
}
.side-menu a{
    text-decoration: none;
}

/* sidemenu btn */
.sidemenuBtn{
    display: none;
    top:130px;
    position:fixed;
    background-color: rgba(197, 223, 245);
    cursor:pointer;
    padding:10px;
    border-radius: 10px;
    writing-mode:vertical-lr;
    transform: rotate(180deg);
}
.sidemenuBtn:hover{
    font-size: 1.05em;
}

/* OVERLAY SIDEMENU */
.overlaySidemenu{
    display: none;
    position: fixed;;
    z-index: 2;
    width:185px;
    height: 100vh;
    background-color: rgba(197, 223, 245);
    border: none;
    border-radius: 5px;
    line-height: 1.3em;
}
.overlaySidemenu h3{
    float:right;
    margin:0;
    padding: 15px 20px  ;
    font-size:1.6em;
    font-weight: 500;
}
.overlaySidemenu h3:hover{
    font-size: 1.9em;
}
.overlaySidemenu a{
    color:#333;
}
.overlaySidemenu ul{
    margin:0;
    padding-left: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.overlaySidemenu li{
    left:30px;
    font-size:1.1em;
    padding: 10px;
    padding-right:0;
    width:100%;
}
.overlaySidemenu li:hover{
    font-size: 1.2em;
    background-color: rgba(197, 223, 245, 0.9);
}
.overlaySidemenu a{
    text-decoration: none;
}
        
/* main content */
.main-content{
    grid-area: main-content;
    padding-left:20px;
    width:100%;
}
.main-body{
    display: flex;
    flex-direction: column;
}
.main-body .main-head{
    margin:30px 0;
    line-height: 1.3em;
    font-size: 35px;
}
.main-body .main-head a{
    color:#333;
}

.intro-para{
    display: flex;
}
.main-para p{
    font-size: 1.1em;
    flex:1;
}
.main-para a{
    color:salmon;
    text-decoration: none;
}
.main-para a:hover{
    text-decoration:underline;
}
.intro-para video{
    flex:1;
    margin: 10px;
    padding: 0;
    width:40%;
}

/* media */

@media (max-width:800px){ 
    .main-body{
        padding-right:10px;
    }
}

/* head font size */
@media (min-width: 720px) and (max-width: 1499px){
    .main-body .main-head{
        font-size: calc(21.994px + 14.006 * (100vw - 720px) / 780);
    }
}
@media(max-width:720px){
    .main-body .main-head{
        font-size:25px;
    }
}

/* intro with video */
@media (max-width:1100px){
    .intro-para{
        display: flex;
        flex-direction: column;
    }
    .intro-para video{
        margin-left:0;
        margin-right: 0;
        width: 100%;
    }
}

/* overlay sidemenu */
@media(max-width:500px){
    .side-menu{
        display: none;
    }
    .sidemenuBtn{
        display:block;
    }
}


/* footer */
.footer-nav{
    display: flex;
    flex-direction: row;
    padding:10px;
}
.sections{
    width:25%;
}
.sections .title{
    font-weight: 700;
    color:rgba(51, 51, 51, 0.801);
}
.sections ul{
    padding-left: 0px;
    list-style: none;
}
.sections li a{
    text-decoration: none;
    color:#333;
}
.sections li a:hover{
    text-decoration: underline;
}
.section4 p{
    line-height: 1.4em;
}
.section4 a{
    color:#333;
    text-decoration: none;
}
.section4 a:hover{
    text-decoration: underline;
}


.footer-lower{
    /* margin-left: -700px; */
    position: absolute;
    width:100%;
    color:#ccc;
    text-align: center;
    background-color: #333;
    border-radius: 5px;
    line-height: 1.4em;
    font-size: 1.2em;
}
.footer-lower a{
    color:#ccc;
    /* text-decoration: underline; */
}

/* media */

@media (max-width:800px){ 
    .container{
        width:100%;
        overflow-x: hidden;
    }
    .header{
        padding-left:5%;
        padding-right: 5%;
    }
    nav{
        display: none;
    }
    .dropdown{
        display: block;
    }
    .card{
        padding-right:20px;
    }
    .footer-nav{
        flex-wrap: wrap;
    }
    .sections{
        padding-left: 15%;
        padding-bottom: 10px;
    }
}


