body {
    font-family: "PT Sans", sans-serif;
    margin: 0;
    transition: background-color 0.2s;
}
canvas {
    position: fixed;
    top: 0;
    z-index: -1;
}
header {
    width: 100%;
    display: flex;
    color: #333;
    justify-content: space-between;
    position:fixed;
    top: 0;
    z-index: 3000000000;
    height: 10vh;
    margin-top: 1vh;
}
main {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
}
aside{
    height: 100%;
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    position: fixed;
    z-index: 2000000000;
    /* background-color: #fff; */
}
aside .socials {
    padding: 1em;
}
aside .socials > a {
    text-decoration: none;
    color: #333;
    padding: 1em;
    width: 100%;
    height: 100%;
    display: block;
}
aside .socials > a > i {
    color: #333;
    font-size: 2.2em;
    transition: 0.1s;
}
aside .socials > a > i:hover {
    font-size: 3em;
}
section{
    height: 100vh;
    min-height: 100vh;
    width: 100vw;
    background-color: rgb(248, 250, 249, var (--background-opacity));
}
i.sm-size {
    font-size: 0.8em;
}
#logo_container {
    padding: 1em;
    margin-left: 1vw;
}
#navbar_contact_container {
    display: flex;
    flex-direction: row;
    border-radius: 50px;
    align-items: center;
    color: #333;
    font-size: 1.1em;
    cursor: pointer;
    padding: 0.5em;
    transition: 0.2s;
    height: 2.5em;
}
#navbar_contact_container:hover {
    background-color: #dfdfdf;
}
#navbar_contact_container > a {
    padding-left: 0.5em;
    color: #333;
}
#navbar_contact_container .contact-icon i {
    vertical-align: middle;
}
#darkmode_toggle {
    margin: 0;
}
#darkmode_slider_container {
    margin-top: -6px;
    position: absolute;
    bottom: 4%;
    border-radius: 35px;
    /* border: 1px solid #000; */
    border-radius: 35px;
}
#darkmode_slider_container > label {
    width: 50px;
    height: 25px;
    position: relative;
    display: block;
    background: #939393;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}
#darkmode_slider_container > label:after {
    content: "";
    width: 23px;
    height: 23px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    border-radius: 23px;
    transition: 0.3s;
    border: 1px  solid #000;
}
#darkmode_slider_container > label > svg {
    position: absolute;
    width: 18px;
    top: 3px;
    z-index: 0;
}
#darkmode_slider_container > label > svg.sun{
    left: 4px;
    fill: #fff;
    transition: 0.3s;
}
#darkmode_slider_container > label > svg.moon{
    left: 29px;
    fill: #ebebeb;
    transition: 0.3s;
}

#darkmode_slider_container > input {
    width: 0;
    height: 0;
    visibility: hidden;
}
#darkmode_slider_container > input:checked + label {
    background: #242424;
}
#darkmode_slider_container > input:checked + label svg.sun {
    fill: #fff;
}
#darkmode_slider_container > input:checked + label svg.moon {
    fill: #fff;
}
#darkmode_slider_container > input:checked + label:after {
    left: 50px;
    transform: translateX(-100%);
    background: #fff;
}
.nav_logo {
    display: flex;
    align-items: center;
}
.nav_logo a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 1em;
}
.nav_logo img {
    width: 3em;
}
nav ul{
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}
nav li {
    padding: 6px 12px;  
    list-style-type: none;   
    cursor: pointer;    
    transition: 0.1s;       
}
nav .link {
    display: inline-block;
    position: relative;
    font-size: 1.2em;
    color: #333;
    text-decoration: none;
}
nav .link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #333;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
nav .link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* Style the navigation menu */
  
    /* Hide the links inside the navigation menu (except for logo/home) */
    .topnav #myLinks {
    display: none;
    width: 25vw;
    position: relative;
    top: 8vh;
    height: 10vh;
    }
    .topnav #myLinks.show {
        display: block;
    }
    #myLinks a {
        padding: 10%;
        text-align: center;
    }
    /* Style navigation menu links */
    .topnav a {
    color: #000;
    padding: 4%;
    text-decoration: none;
    font-size: 1em;
    display: block;
    background-color: #fff;
    }

    /* Style the hamburger menu */
    .topnav a.icon {
    background: none;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    }

    /* Style the active link (or home/logo) */
    .active {
    background-color: #04AA6D;
    color: white;
    }
#about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
}
#about > div {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#about .fullname {
    width: 260px;
    font-size: 3.5em;
    font-weight: 600;
    color: #333;
    line-height: 1;
}
#about .lastname {
    text-align: right;
}
#about .headline {
    padding-top: 1em;
    font-size: 1em;
    color: #333;
    font-weight: bold;
}
#about .description {
    padding: 2em 2em 0em 0em;
    font-size: 1em;
    color: #333;
}
#about > div.hero {
    max-width: 240px;
    margin-top: 210px;
}

#about > div.hero img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
}

#how {
    margin-top: 101vh;
    background-color: #fefff4;
    position: relative;
    z-index: 1;
  }
  .main-content {
    display: flex;
    /* max-width: 1400px; */
    margin: 0 auto;
    transition: 1.5s cubic-bezier(0.22, 0.44, 0, 1);
  }
  .main-content-side {
    flex-grow: 1;
    flex-basis: 0;
    text-transform: uppercase;
    font-family: "Roboto Condensed";
    font-weight: 700;
    color: #0a5ea2;
    letter-spacing: 0.15rem;
    font-size: 0.92rem;
    margin-top: 12px;
    margin-right: 40px;
  }
  .main-content-side img {
    max-width: 100%;
    margin-top: 40px;
    transition: 1.5s cubic-bezier(0.22, 0.44, 0, 1) 0.4s;
  }
  .main-content-side:before {
    content: "";
    height: 2px;
    width: 30px;
    background-color: #0a5ea2;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-2px);
    margin-right: 10px;
  }
  .main-content-text {
    flex-grow: 2;
    flex-basis: 0;
    font-family: "Playfair Display";
    line-height: 1.5;
    -webkit-text-stroke: 0.015rem;
    font-size: 1.25rem;
    font-weight: 400;
    margin-left: 40px;
  }
  .main-content-text-callout {
    font-weight: 700;
    margin-bottom: 60px;
    font-size: 1.5rem;
  }
  .main-content-text-col {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
  
  .toggle-class {
    opacity: 0;
    transform: translateY(120px);
  }
/* Dark Mode */
  body.dark {
    background-color: #0f0f10;
  }
  .dark #navbar_contact_container {
    color: #fff;
  }
  .dark #navbar_contact_container > a {
    color: #fff;
  }
  .dark nav .link {
    color: #fff;
  }
  .dark nav .link i {
    color: #fff;
  }
  .dark #about .fullname {
    color: #fff;
  }
  .dark #about .headline {
    color: #fff;
  }
  .dark #about .description {
    color: #fff;
  }
  .dark aside .socials > a > i {
    color: #fff;
  }
.dark  #navbar_contact_container:hover {
    background-color:#9c9c9c;
} 
.dark nav .link::after{
    background-color: #fff;
}
.dark .topnav a.icon {
    color: #fff;
    cursor: pointer;
}
.dark .button.fancy {
    color: #fff;
}
.dark .button.fancy.fancy::before {
    border-top-color: #fff;
    border-left-color: #fff;
}
.dark .button.fancy.fancy::after {
    border-bottom-color: #fff;
    border-right-color: #fff;
}
.dark .button.fancy.fancy:hover:after,
.dark .button.fancy.fancy:hover:before {
    border-color: #fff;
}
