:root { /*WHEN COPYING FOR NEW PAGES, ITS FROM HERE*/
    /* Colours */
    --clr-base-100: #F5F4ED;
    --clr-lightgrey: hsl(270, 2%, 25%);
    --clr-grey: hsl(0, 0%, 16%);
    --clr-blue: hsl(194, 64%, 71%);
    --clr-orange: #F15A24;;
/* Fonts*/
    --ff-800: 'GeneralSans-Bold';
    --ff-700: 'Impact';
    --ff-600: 'GeneralSans-Medium';
    --ff-400: 'GeneralSans-Light';
    --fs-XL: clamp(1.5rem, 2vw + 1rem, 3.5rem);
    --fs-500: 1.5rem;
    --fs-400: 1rem;
    --fs-300: .8rem;
    --fs-200: .6rem;
/* Miscellaneous */
--b-rad: .5rem;
}
::-webkit-scrollbar {
    display: none;
}
html {
    scroll-behavior: smooth;
}
@font-face {
    font-family: 'GeneralSans-Light';
    src: url('../media/font/GeneralSans_Complete/GeneralSans-Light.woff2') format('woff2'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Light.woff') format('woff'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Light.ttf') format('truetype');
         font-weight: 400;
         font-display: swap;
         font-style: normal;
  }
  @font-face {
    font-family: 'Impact';
    src: url('../media/font/Impact/ImpactLTStd.woff2') format('woff2'),
        url('../media/font/Impact/ImpactLTStd.woff') format('woff'),
        url('../media/font/Impact/ImpactLTStd.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}
  @font-face {
    font-family: 'GeneralSans-Medium';
    src: url('../media/font/GeneralSans_Complete/GeneralSans-Medium.woff2') format('woff2'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Medium.woff') format('woff'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Medium.ttf') format('truetype');
         font-weight: 600;
         font-display: swap;
         font-style: normal;
  }
@font-face {
    font-family: 'GeneralSans-Bold';
    src: url('../media/font/GeneralSans_Complete/GeneralSans-Bold.woff2') format('woff2'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Bold.woff') format('woff'),
         url('../media/font/GeneralSans_Complete/GeneralSans-Bold.ttf') format('truetype');
         font-weight: 800;
         font-display: swap;
         font-style: normal;
  }
* {
    margin: 0;
    font-family: var(--ff-400);
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
}
body {
    background-color: var(--clr-base-100);
}
/* THIS IS THE START OF THE CSS FOR THE STYLING OF THE HEADER SECTION */
.container {
    margin: 0 14rem;
    max-width: 1800px;
}
@media (width<= 1800px) {
    .container {
        margin-left: 11rem;
        margin-right: 11rem;
    }
}
@media (width<= 1500px) {
    .container {
        margin-left: 9rem;
        margin-right: 9rem;
    }
}
@media (width<= 1300px) {
    .container {
        margin-left: 6rem;
        margin-right: 6rem;
    }
}
@media (width<= 1200px) {
    .container {
        margin-left: 4rem;
        margin-right: 4rem;
    }
}
@media (width<= 1082px) {
    .container {
        margin-left: 3rem;
        margin-right: 3rem;
    }
}
@media (width<= 1025px) {
    .container {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }
}
@media (width<= 1000px) {
    .container {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}
@media (width<= 900px) {
    .container {
        margin-left: .5rem;
        margin-right: .5rem;
    }
}
header p {
    font-family: var(--ff-800);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
}
.logo p {
    color: var(--clr-grey);
    font-size: 2.5rem;
}
.navbar ul {
    display: flex;
    list-style: none;
    gap: 6rem;  
}
.navbar ul li {
    padding: 1rem;
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    left: 0;
    background-color: var(--clr-orange);
    scale: 0 1;
    transition: scale 250ms;
}
.nav-link:hover::after{
    scale: 1 1;
}
.nav-link a {
    color: var(--clr-grey);
    transition: 250ms;
}
.nav-link a:hover {
    color: black;
}
.hamburger {
    display: none;
 }
 
 .hamburger.is-active .bar:nth-child(1) {
     transform: rotate(-45deg) translate(-6px, 5px);
     background-color: white;
 }
 .hamburger.is-active .bar:nth-child(2) {
     opacity: 0;
 }
 .hamburger.is-active .bar:nth-child(3) {
     transform: rotate(45deg) translate(-6px, -5px);
     background-color: white;
 }
 .mobile-nav {
     display: none;
 }
 .mobile-nav.is-active {
     left: 0;
 }
 
 @media (width<=800px) {
     .leave {
         display: none;
     }
     .logo p {
         font-size: 1.5rem;
     }
     .hamburger {
         position: relative;
         width: 25px;
         cursor: pointer;
         padding: 0;
         margin: 0;
         z-index: 97;
         
         appearance: none;
         background: none;
         outline: none;
         border: none;
     
         display: grid;
         gap: 5px;
         .bar {
             width: 100%;
             height: 3px;
             background-color: black;
             transition: 350ms;
             
         }
     }
     .mobile-nav {
         display: grid;
         align-items: end;
         position: fixed;
         top: 0;
         left: 100%;
         width: 100%;
         min-height: 100vh;
         z-index: 96;
         background-color: var(--clr-orange);
         transition: 350ms cubic-bezier(.72,.37,0,.75);
         div {
             margin: 5rem 1.5rem;
         }
         a {
             display: block;
             text-align: right;
             color: white;
             margin: 1.5rem auto 0;
             .main-link {
                 font-family: var(--ff-700);
                 font-size: 3rem;
             }
             .sub-text {
                 font-family: var(--ff-600);
             }
         }
     }
 }
/*TO HERE*/
/* START OF THE CONTACT FORM */
.wrapper {
    height: 85svh;
    display: grid;
    gap: 5rem;
    margin-bottom: 2rem;
}
.big-text {
    margin-top: 2rem;
    div {
        overflow: hidden;
    }
    h1 {
        font-family: var(--ff-700);
        text-transform: uppercase;
        font-size: clamp(3rem, 1.8184rem + 5.2516vw, 9rem);
        line-height: .85;
        color: var(--clr-grey);
        animation: hero-load 1000ms cubic-bezier(.72,.37,0,.75);
        
        span {
            font-family: var(--ff-700);
            color: var(--clr-orange);
        }
    }   
}
@media (width<=800px) {
    .big-text div {
            overflow: visible;
        }
}
.bottom-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: space-between;
}
.resume {
    display: grid;
    align-items: end;
    a {
        color: var(--clr-grey);
        font-family: var(--ff-700);
        font-size: clamp(3rem, 1.8184rem + 5.2516vw, 9rem);
    } 
}
.word {
    position: relative;
}
.word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: var(--clr-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 350ms ease-in-out;
}
.word:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
@keyframes hero-load {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.social-links {
    display: grid;
    gap: 2rem;
    justify-content: end;
    color: var(--clr-grey);
}
.two {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.social-links p {
    font-family: var(--ff-800);
}
.head-desc {
    justify-self: end;
    font-size: var(--fs-XL);
    p {
        font-family: var(--ff-700);
    }
}
.social-links a {
    font-family: var(--ff-800);
    color: rgba(0, 0, 0, 0.459);
}
@media (width<=800px) {
    .bottom-page {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-content: space-between;
    }
}
@media (width<= 550px) {
    .wrapper {
        height: auto;
    }
    .head-desc {
        justify-self: start;
    }
}
@media (width<= 400px) {
    .social p {
        font-size: var(--fs-300);
    }
}
/* FOOTER START OF THE FOOTER SECTION IS RIGHT HERE */
footer {
    background-color: var(--clr-grey);
    color: white;
    font-size: var(--fs-300);
    padding: 6rem 10rem 0 10rem;
}
.footer-section {
    background-color: var(--clr-grey);
    display: grid;
    gap: 2rem;
    max-width: 1800px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
}
.footer-first-half p {
    font-size: var(--fs-500);
    font-family: var(--ff-800);
    width: 18ch;
    margin: 1rem 0;
}
.footer-second-half {
    display:flex;
}
.footer-second-half ul li{
    margin: 1rem 0;
}
.footer-second-half ul a {
    color: white;
}
.footer-second-half ul li p {
    font-family: var(--ff-400);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
}
.footer-bottom h2 {
    font-size: 6rem;
    font-family: var(--ff-700);
}
b {
    font-family: var(--ff-800);
    color: var(--clr-orange);
}
.footer-logo {
    color: var(--clr-blue);
}
@media (width<= 1500px) {
    footer {
        padding: 6rem 9rem;
    }
}
@media (width<= 1300px) {
    footer {
        padding: 6rem 6rem;
    }
}
@media (width<= 1200px) {
    footer {
        padding: 6rem 4rem;
    }
}
@media (width<= 1025px) {
    footer {
        padding: 6rem 3rem;
    }
    .footer-bottom h2 {
        font-size: 4rem;
    }
}
@media (width<= 900px) {
    footer {
        padding: 3rem 2.5rem;
    }
}
@media (width<= 750px) {
    footer {
        padding: 2rem 2rem;
    }
    .footer-bottom h2 {
        font-size: 2.5rem;
    }
}
@media (width<= 600px) {
    footer {
        padding: 2rem .5rem;
    }
    .none {
        display: none;
    }
    .footer-top {
        display: block;
        /* justify-content: space-between; */
    }
}