* {
  font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition: 0.2s linear;
}

/* css variables */
:root {
    --white: #fff;
    --light-white: rgba(255, 255, 255, 0.8);
    --medium-white: rgba(255, 255, 255, 0.6);
    --dark-gray: #ababab;
    --light-gray: #8a8a8a;
    --dark-bg: #222;
    --light-bg: #333;
    --blue: #4AA0E8;
    --yellow: #bac964;
    --box-shadow: 0 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

html {
    height: 100vh;
    min-height: 100%;
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

html::-webkit-scrollbar {
    width: 14px;  
}

html::-webkit-scrollbar-track {
    background: var(--light-bg);
}

html::-webkit-scrollbar-thumb {
    width: 10px;
    background: var(--light-gray);
    border-radius: 7px;
}

html::-webkit-scrollbar-track {
    background: var(--light-bg);
}

body {
    background-color: var(--dark-bg);
}

section {
    padding: 5rem 9%;
}

.heading {
    color: var(--white);
    font-size: 3rem;
    font-weight: 200;
    text-align: center;
    padding-bottom: 4rem;
}

.heading span {
    font-weight: 600;
}

.btn {
    background-color: var(--blue);
    font-size: 1.7rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    color: var(--white);
    text-transform: uppercase;
    margin-right: 1rem;
    display: inline-block;
    margin-top: 1rem;
}

.page-heading {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 200;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* home */
.home {

    /* height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-image.jpg') no-repeat;
    filter: grayscale(100%);
    background-size: cover;
    -webkit-background-size: cover !important;
    background-position: center;
    background-attachment: fixed; */

    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

    .home .hero-text {
        font-size: 4.2rem;
        color: var(--dark-gray);
        font-weight: 200;
        line-height: 1;
        margin-top: 7rem;
        text-transform: none;
    }

    .home .hero-text span {
        font-size: 4.2rem;
        color: var(--blue);
        font-weight: 600;
    }

    .home p {
        color: var(--white);
        font-size: 1.5rem;
        font-weight: 200;
        margin-top: 2rem;
        text-transform: uppercase;
        letter-spacing: .5rem;
        margin-bottom: 3rem;
    }

    .home .hero-logo {
        align-items: center;
        width: 45%;
        height: 45%;
        /* object-fit: scale-down; */
        margin-top: 7rem;
        margin-bottom: 2rem;
    }
    /* home */

    /* header */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 5rem 9%;
        z-index: 100;
    }
    .header.active {
        background-color: var(--light-white);
        padding: 3rem 9%;
        -webkit-backdrop-filter: blur(20px);
    }

    .header.active .navbar a {
        color: var(--dark-bg);
    }

    .header.active .navbar a:hover {
        color: var(--light-gray);
    }

    .header.active .menu {
        color: var(--dark-bg);
    }

    .header .navbar {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header .navbar a {
        font-size: 1.5rem;
        color: var(--white);
        padding: 0 2rem;
        letter-spacing: 0.3rem;
        font-weight: 300;
        text-transform: uppercase;
    }

    .header .menu {
        font-size: 2.5rem;
        color: var(--white);
        cursor: pointer;
        text-align: right;
        display: none;
    }
    /* header */

    /* portfolio */
    .portfolio .box-container .box .image {
        height: 30rem;
        overflow: hidden;
        position: relative;
    }

    .portfolio .box-container .box .image img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }

    .portfolio .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
        gap: 4rem;
    }

    .portfolio .box-container .box {
        background-color: var(--light-bg);
        padding: 1rem;
        box-shadow: var(--box-shadow);  
    }

    .portfolio .box-container .box:hover .image img {
        transform: scale(1.1);
        transition-duration: 350ms;
    }

    .portfolio .box-container .box .image .content {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: var(--light-bg);
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(100%);
        transition-duration: 350ms;   
    }

    .portfolio .box-container .box .image .content h2 {
        font-size: 2rem;
        font-weight: 400;
        color: var(--white);
        letter-spacing: 0.3rem;
        text-transform: uppercase;
    }

    .portfolio .box-container .box:hover .image .content {
        transform: translateY(0);
    }
    /* portfolio */

    /* resume */

    .resume .col-container .col .box {
        background-color: var(--light-bg);
        padding: 2.5rem;
        margin: 2rem 0;
        box-shadow: var(--box-shadow);
    }

    .resume .col-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
        gap: 4rem;
    }

    .resume .col-container .col h2 {
        font-size: 2rem;
        color: var(--white);
        font-weight: 200;
        padding-bottom: 2rem;
    }

    .resume .col-container .col h2 i {
        color: var(--dark-gray);
        padding-right: 1.3rem;
        padding-bottom: .5rem;
        vertical-align: middle;
    }

    .resume .col-container .col .box span {
        color: var(--white);
        font-size: 1.7rem;
        display: flex;
        align-items: center;
    }

    .resume .col-container .col .box span i {
        color: var(--light-gray);
        padding-right: .5rem;
        font-size: 1.7rem;
    }

    .resume .col-container .col .box h3 {
        color: var(--white);
        font-size: 2rem;
        margin-top: 1rem;
        font-weight: 400;
    }

    .resume .col-container .col .box p {
        font-size: 1.7rem;
        color: var(--dark-gray);
        margin-top: 1rem;
        line-height: 2.5rem;
        text-transform: none;
    }

    .resume .col-container .col .box ul {
        font-size: 1.5rem;
        color: var(--dark-gray);
        margin-top: 1rem;
        margin-left: 3rem;
        line-height: 2rem;
        text-transform: none;
    }

    .resume .col-container .col .box .university {
        color: var(--light-gray);
        text-transform: capitalize;
    }
    /* resume */

    /* about */
    .about .heading {
        text-align: left;
    }

    .about .box-container .box .image {
        height: 100%;
        overflow: hidden;
    }

    .about .box-container .box .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
        gap: 4rem;
    }

    .about .box-container .box p {
        color: var(--light-gray);
        margin-bottom: 2rem;
        font-size: 1.7rem;
        line-height: 2.5rem;
        text-transform: none;
    }

    .about .box-container .box h2 {
        font-size: 2rem;
        color: var(--white);
        font-weight: 200;
        padding-bottom: 2rem;
        text-transform: capitalize;
    }

    .about .box-container .box p span {
        color: var(--dark-gray);
        font-weight: 600;
    }
    /* about */

    /* xpage */
    .xpage .heading {
        text-align: left;
    }

    .xpage .box-container .box .image {
        height: 100%;
        overflow: hidden;
    }

    .xpage .box-container .box .image img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
    }
    
    .xpage .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
        gap: 4rem;
        margin-bottom: 8rem;
    }

    .xpage .box-container .box p {
        color: var(--light-gray);
        margin-bottom: 2rem;
        font-size: 1.7rem;
        line-height: 2.5rem;
        text-transform: none;
    }

    .xpage .box-container .box h2 {
        font-size: 2rem;
        color: var(--white);
        font-weight: 200;
        padding-bottom: 2rem;
        text-transform: capitalize;
    }

    .xpage .box-container .box p span {
        color: var(--dark-gray);
        font-weight: 600;
    }
    /* xpage */

    /* motion */
    .motion .heading {
        text-align: left;
    }

    .motion .box-container .box .image {
        display: flex;
        justify-content: center;
   }
  
  iframe {
      aspect-ratio: 16 / 9;
      width: 100% !important;
  }

  iframe.hippo {
    width: 100% !important;
}

  .motion .box-container .box .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
    
    .motion .box-container {
        margin-bottom: 8rem;
    }

    .motion .box-container .box p {
        color: var(--light-gray);
        margin-bottom: 2rem;
        font-size: 1.7rem;
        line-height: 2.5rem;
        text-transform: none;
    }

    .motion .box-container .box h2 {
        font-size: 2rem;
        color: var(--white);
        font-weight: 200;
        padding-top: 4rem;
        padding-bottom: 2rem;
        text-transform: none;
    }

    /* motion */  

    /* contact */
    .contact .col-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
        gap: 6rem;
        padding-bottom: 4rem;
    }
    .contact .col-container .col h2 {
        font-size: 2rem;
        color: var(--white);
        font-weight: 200;
        padding-bottom: 5rem;
        text-transform: none;
    }

    .contact .col-container .col h2 i {
        color: var(--light-gray);
        padding-right: 1.3rem;
        padding-bottom: .5rem;
        vertical-align: middle;
    }

    .contact .col-container .col h2 ion-icon {
        color: var(--light-gray);
        padding-right: 1.3rem;
        padding-bottom: .5rem;
        vertical-align: middle;
    }

    .contact .col-container .col input,
    .contact .col-container .col textarea {
        background-color: var(--light-bg);
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0.5rem 0 0 0.5rem;
        font-size: 1.7rem;
        color: var(--dark-gray);
        margin: 0.5rem 0;
        resize: vertical;
    }

    .contact .col-container .col p a {
        font-size: 1.7rem;
        color: var(--blue);
        text-transform: none;
        letter-spacing: 0.1rem;
    }


    /* contact */

    /* footer */

    .footer {
        border-top: 0.2rem solid var(--light-bg);
        text-align: center;
    }

    .footer .socials ion-icon {
        font-size: 2.5rem;
        color: var(--light-gray);
        background-color: var(--light-bg);
        border-radius: 50%;
        padding: 1rem;
        margin: 0 1rem;
        cursor: pointer;
    }

    .footer p {
       font-size: 1.3rem; 
       color: var(--dark-gray);
       margin-top: 3rem;
    }
    /* footer */

    /* media queries */
    
    @media (max-width: 1200px) {
       .header {
            padding: 3rem 2rem;
       }
       
       .header.active {
            padding: 2rem;
       }

       section {
        padding: 3rem 2rem;
       }
    }

    @media (max-width: 991px) {
        html {
            font-size: 60%;
        }
        .home .hero-logo {
            width: 50%;
            height: 50%;
            margin-top: 3rem;
            margin-bottom: 2rem;
            }
    }

    @media (max-width: 786px) {
        .header .menu {
            display: block;
        }
        .header .navbar {
            position: fixed;
            top: 6.3rem;
            left: 0;
            right: 0;
            background-color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: translateX(100%);
        }

        .header .navbar.show {
            transform: translateX(0);

        }

        .header .navbar a {
            color: var(--dark-bg);
            margin: 0;
            font-size: 2rem;
            margin: 2rem 0rem;
        }

        .home .hero-text {
            font-size: 4rem;
        }

        .home .hero-text span {
            font-size: 4rem;
        }

        .home .hero-logo {
            width: 90%;
            height: 90%;
            margin-top: 3rem;
            margin-bottom: 2rem;
            }
    }

    @media (max-width: 450px) {
        html {
            font-size: 47%;
        }
        .home .hero-text {
            font-size: 4rem;
        }
        .home .hero-logo {
            width: 90%;
            height: 90%;
            margin-top: 2.5rem;
            margin-bottom: .5rem;
            }
            
            /* margin-top: 1.5rem;
            margin-bottom: 1rem; */
    }


    /* media queries */

    /* Slideshow container */
.slideshow-container {
    max-width: 1387px;
    position: relative;
    margin: auto;
  }

  .mySlides {
    display: none;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 42px;
    transition: 0.6s ease;
    border-radius: 0 10px 10px 0;
    user-select: none;
  }

  .next {
    right: 0;
    border-radius: 10px 0 0 10px;
  }

  .prev:hover, .next:hover {
    background-color: #4AA0E8;
  }

  .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: #949494;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active, .dot:hover {
    background-color: #4AA0E8;
  }

  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

    /* Slideshow Container */

    /* zoomIn */

   @keyframes btnEntrance {
    from {
       opacity: 0;
       transform: scale3d(0, 0.3, 0.3);
        }   
    to {
        opacity: 1;
        }
    }

.btnExit {
   animation-duration: 0.25s;
   animation-fill-mode: both;
   animation-name: btnExit;
}

/* zoomOut */

@keyframes btnExit {
   from {
       opacity: 1;
   }
   to {
       opacity: 0;
       transform: scale3d(0.3, 0.3, 0.3);
   }
}