body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header/NavBar */

.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar a {
    float: left;
    padding: 14px 14px;
    text-decoration: none;
}

/* Dark Mode */
/* The switch - the box around the slider */

label{
    margin: 1em;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5fb7ff;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: rgb(243, 215, 137);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #4b4b4b;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #4b4b4b;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #4b4b4b;

    box-shadow: inset -5px -5px gold;
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


.circle {
    position: fixed;
    overflow: hidden;
    z-index: 3;
    height: 200px;
    width: 200px;
    background-color: #9f86c0;
    border-radius: 50%;
    top: 0px;
    right: 0px;
    transform: scale(0.5) translate(40%, -40%);
}

.circle2 {
    position: fixed;
    overflow: hidden;
    z-index: 1;
    height: 50px;
    width: 50px;
    background-color: #9f86c0;
    border-radius: 50%;
    top: 50px;
    right: 50px;
    transform: scale(10);
    animation: open_menu 0.5s forwards;
}

.collapse_menu {
    position: fixed;
    overflow: hidden;
    z-index: 1;
    height: 50px;
    width: 50px;
    background-color: #9f86c0;
    border-radius: 50%;
    top: 50px;
    right: 50px;
    transform: scale(0);
    animation: collapse_menu 0.5s linear;
}

#menu {
    cursor: pointer;
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.no-animation {
    animation: none !important;
}

.line {
    height: 10px;
    width: 100px;
    margin: 1em;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 4px 8px 10px 0 rgba(0, 0, 0, 0.2);
}

.line.one.active {
    animation: toggle_one 0.7s forwards;
}

.line.two.active {
    animation: toggle_two 0.7s forwards;
}

.line.three.active {
    animation: toggle_three 0.7s forwards;
}

.line.one.inactive {
    animation: toggle_one_rev 0.5s linear;
}

.line.two.inactive {
    animation: toggle_two_rev 0.5s linear;
}

.line.three.inactive {
    animation: toggle_three_rev 0.5s linear;
}

@keyframes toggle_one {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(25px) rotate(0deg);
    }

    100% {
        transform: translateY(25px) rotate(135deg);
    }
}


@keyframes toggle_two {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.5);
        opacity: 0.5;
    }


    100% {
        transform: scale(0);
        opacity: 0;
    }

}

@keyframes toggle_three {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(0deg);
    }

    100% {
        transform: translateY(-25px) rotate(45deg);
    }
}

@keyframes toggle_one_rev {
    0% {
        transform: translateY(25px) rotate(135deg);
    }

    50% {
        transform: translateY(25px) rotate(0deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}


@keyframes toggle_two_rev {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(0.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes toggle_three_rev {
    0% {
        transform: translateY(-25px) rotate(45deg);
    }

    50% {
        transform: translateY(-25px) rotate(0deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes open_menu {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(11);
    }

    100% {
        transform: scale(10);
    }
}

@keyframes collapse_menu {
    0% {
        transform: scale(10);
    }

    20% {
        transform: scale(11);
    }

    100% {
        transform: scale(0);
    }
}

.nav-box {
    width: 200px;
    position: fixed;
    z-index: 2;
    top: 0px;
    right: -1000px;
}

.nav-box .navLinks p,
.nav-box .navLinks a {
    display: block;
    text-align: right;
    font-size: 24px;
    width: inherit;
}

.open {
    transition: 0.5s;
}

.open:nth-of-type(1) {
  transform: translateX(-1100px);
  transition-delay: 0s;
}

.open:nth-of-type(2) {
    transform: translateX(-1100px) translateY(40px) rotate(-30deg);
    transition-delay: 0.1s;
}

.open:nth-of-type(3) {
    transform: translateX(-1050px) translateY(50px) rotate(-45deg);
    transition-delay: 0.2s;
}

.close {
    animation: fadeOut 0.7s linear;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

a:link {
    text-decoration: none;
    color: white;
}

a:visited {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: none;
    color: #444444;
}

a:active {
    text-decoration: none;
}

.hamburger {
    height: 50px;
    width: 50px;
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    margin: 16px;
}

.bar1,
.bar2,
.bar3 {
    background-color: black;
    height: 4px;
    width: 36px;
    margin: 3px;
    border-radius: 15px;
}

.mobileNav {
    width: 80px;
    background-color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 2;
    top: 66px;
    right: -160px;
    margin: 0;
    padding: 16px;
    transition: transform 0.5s;
}

.mobileNav img {
    width: 24px;
    height: 24px;
}

.openDrawer {
    transform: translateX(-160px);
}

.mobileNav a {
    text-decoration: none;
    color: black;
    margin: 16px 0;
}

.mobileNav a:hover {
    text-decoration: underline;
}

.animateBar1 {
    animation: flipBar1 0.7s;
    animation-fill-mode: forwards;
}

.animateBar2 {
    animation: fadeBar2 0.7s;
    animation-fill-mode: forwards;
}

.animateBar3 {
    animation: flipBar3 0.7s;
    animation-fill-mode: forwards;
}

@keyframes flipBar1 {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(45deg) translate(4px, 10px);
    }

}

@keyframes fadeBar2 {
    from {
        transform: scaleX(1);
        opacity: 1;
    }

    to {
        transform: scale(0);
        opacity: 0;
    }

}

@keyframes flipBar3 {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-45deg) translate(4px, -10px);
    }

}

h1 {
    font-weight: 500;
    font-size: 5em !important;
    font-weight: 400;
    letter-spacing: -1.5px;
    margin: 0;
}

h2{
    font-size: 2em !important;
}

.hero {
    background-color: #5e548e;
    background-size: cover;
    height: 85vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-pages {
    height: 120px;
}

.content {
    max-width: 80%;
    margin: 0 auto;
    padding: 32px;
}

/* gallery starts */

  #wrap{
    margin-top: 1em;
    width: 85%;
    margin: auto;
  }
  
  .ImgThumbnail {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    height: 250px;
    width: 250px;
    object-fit: cover;
  }
  
  .ImgThumbnail:hover {
    opacity: 0.8;
  }
  
  .ImgThumbnail:nth-of-type(1) {
    margin-left: 20%;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 25px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
  }
  .modalImage {
    margin: auto;
    display: block;
    /* width: 50%; */
    height: 80%;
    max-width: 700px;
  }
  .caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    /* height: 150px; */
  }
  .closeModal {
    position: absolute;
    top: 2em;
    right: 5em;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  .closeModal:hover,
  .closeModal:focus {
    color: rgb(90, 90, 90);
    cursor: pointer;
  }
  
.externalSite{
    display: table;
    margin: 0 auto;
    padding: 15px;
}

/* gallery ends */



/* Footer */

.footer {
    display:block;
    position: relative;
    margin-top: auto;
    bottom: 0;
    width: 100%;
    background-color: #5e548e;
}

.footer ul {
    list-style: none;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 15px 0;
}

.footer ul li {
    display: inline;
    padding: 0 16px;
}

.footer a:link {
    text-decoration: none;
    color: white;
}

.footer a:visited {
    text-decoration: none;
    color: white;
}


.footer li a:hover {
    border-bottom: 2px solid #ccc;
    color: #ccc;
}

.footer-content {
    text-align: center;
}

.footer i {
    color: white;
    font-size: 1.5rem;
    margin: 0 8px;
}

.footer i:hover {
    color: #ccc;
}

.footer p {
    color: white;
    margin: 0;
    padding: 8px 8px;
}

/* Footer End */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbbbbb;
}

@media only screen and (max-width: 875px) {

    /* Home */
    .hero h1 {
        font-size: 50px;
    }

    .hero p {
        font-size: 40px;
    }

    /* Projects */
    .grid {
        display: grid;
        grid-template-areas:
            "creative rockpaperscissors"
            "magic8ball aerialarts";
        grid-gap: 16px;
        width: 50%;
        height: 250px;
    }
}

@media only screen and (max-width: 646px) {

    /* Home */
    .hero span.wave {
        display: none;
    }

    .hero p {
        font-size: 20px;
    }

    /* Projects */

    .project-gallery {
        height: 650px;
        margin: auto;
        display: block;
    }

    .grid {
        display: grid;
        grid-template-areas:
            "creative"
            "rockpaperscissors"
            "magic8ball"
            "aerialarts";
        grid-gap: 16px;
        width: 50%;
        height: 250px;
    }
}

@media only screen and (max-width: 425px) {

    /* Nav */
    .logo {
        height: 50px;
        width: 50px;
    }

    .circle {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hamburger:hover {
        cursor: pointer;
    }
}