:root{
    --gray0: #ADADAD;
    --gray1: #6b6b6b;
    --gray2: #081B26;
    --green0: #99F2E2;
    --green1: #4AD9BF;
    --green2: #0E7C71;
    --base0: #FBF8EE;
}
.light{
    --bg: var(--base0);
    --bg-nav: linear-gradient(to left, var(--gray1), var(--gray2));
    --h1-color: var(--gray2);
    --h2-color: var(--green2);
    --text: var(--gray1);
    --bg-logo: var(--gray2);
    --bg-inner-logo: var(--base0);
    --hover: var(--green2);

}
.dark{
   --bg: var(--gray2);
   --bg-nav: linear-gradient(to left, var(--base0), var(--green0));
    --h1-color: var(--base0);
    --h2-color: var(--green1);
    --text: var(--gray0);
    --bg-logo: var(--base0);
    --bg-inner-logo: var(--gray2);
    --hover: var(--green1);
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Overpass', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    transition: background 500ms ease-in-out, color 1000ms ease-in-out;
    height: 100vh;
    overflow: hidden;
}
h1{
    font-family: 'Exo', sans-serif;
    font-size: 43px;
    font-weight: bold;
    color: var(--h1-color);
}
h2{
    font-family: 'Kanit', sans-serif;
    font-size: 27px;
    font-weight: 100;
    font-style: italic;
    color: var(--h2-color);
}
a{
    color: currentColor;
    text-decoration: none;
    transition: color 200ms ease-in-out;
}
a:hover{
    color: var(--hover);
}
.navbar{
    height: 10vh;
    width: 100%;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
} 
.navbar-nav{
    align-items: center;
    justify-content: flex-end;
}
#theme{
    cursor: pointer;
    margin-right: 10%;
}
#theme:hover{
    color: var(--hover);
}
.logo{
    height: 200px;
    width: auto;
}
.cls-1{
    fill: var(--bg-logo);
}
.cls-2{
    fill: var(--bg-inner-logo);
}
.icon{
    width: 25px;
    height: 25px;
}
header{
    position: relative;
    padding: 2.5em;
    padding-bottom: 3.5em;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.polygon{
    width: 156px;
    height: 180px;
    background-color: var(--green1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: absolute;
    bottom: -90px;
    left: 46%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social{
    height: auto;
    width: 20%;
    justify-content: space-evenly;
    margin-top: 5%;
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5%;
    height: 90vh;
}
@media screen and (max-width: 930px){
    h2{
        text-align: center;
    }
    .social{
        width: 70%;
    }
}