@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=EB+Garamond:wght@600&family=IBM+Plex+Sans:wght@600&family=Lato&family=Noto+Sans&family=Noto+Sans+NKo+Unjoined:wght@500&family=Open+Sans&family=Oswald:wght@600&family=Poppins:wght@500&family=Ubuntu&family=Young+Serif&display=swap');
/*---------GLOBAL CSS---------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.header{
    position: fixed;
    right: 0;
    top: 0;
    height: 80px;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 33px 9%;
    background-image: linear-gradient(#f8f8f8, #ecebeb) ;
    box-shadow: 0 2px 3px rgba(0,0,0,.2);
    min-height: 100px;
    transition: transform 0.3s ease-in-out;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

html {
    width: 100%;
    overflow-x: hidden;
}

body{
    position: relative;
    line-height: 1.5;
    height: 100%;
    width: auto;
    color: black;
    background: #ffffff;
    background-image: linear-gradient(90deg, #ffffff,#d9d3d3, #c5c1c1);
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.box div{
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 6px solid rgba(163, 160, 160, 0.8);
    border-radius: 5px;
    z-index: -100000;
}

.box div:nth-child(1){
    top: 12%;
    left: 42%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(2){
    top: 70%;
    left: 50%;
    animation: animate 7s linear infinite;
}

.box div:nth-child(3){
    top: 17%;
    left: 6%;
    animation: animate 9s linear infinite;
}
.box div:nth-child(4){
    top: 20%;
    left: 60%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(5){
    top: 67%;
    left: 10%;
    animation: animate 6s linear infinite;
}
.box div:nth-child(6){
    top: 80%;
    left: 70%;
    animation: animate 12s linear infinite;
}
.box div:nth-child(7){
    top: 60%;
    left: 80%;
    animation: animate 15s linear infinite;
}

.box div:nth-child(8){
    top: 37%;
    left: 25%;
    animation: animate 16s linear infinite;
}

.box div:nth-child(9){
    top: 90%;
    left: 25%;
    animation: animate 9s linear infinite;
}
.box div:nth-child(10){
    top: 20%;
    left: 80%;
    animation: animate 5s linear infinite;
}

@keyframes animate{
    0%{
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }
    100%{
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0;
    }
}

.title {
    align-items: center;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 50px;
    scroll-margin-top: 2em;
    font-family: 'EB Garamond', serif;
}

.line {
    text-decoration: none;
    cursor: pointer;
    position: relative;
    color: black;
    border-bottom: 1.4px solid black;
  }
  
  .line::before {
    background: hsl(45 100% 70%);
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
  }
  
  .line:hover::before {
    color: white;
    transform: scaleX(1);
  transform-origin: left;
  }

/*---------INTRO CSS---------*/

.intro {
    position: relative;
    display: grid;
    flex-direction: column;
    align-items: center;
    min-height: 750px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 5rem;
}

section{
    padding: 0 19%;
}

.introText h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 70px;
    line-height: 1;
    margin: 55px 0 0px;
}

.auto-type {
    font-weight: 600;
    color: rgb(70, 70, 70);
}


.introText p {
    margin-left: 3px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    line-height: 1.6;
}

.introText h4 {
    color: rgb(0, 0, 0);
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.intro-img img {
    box-shadow: 5px 5px 10px rgb(26, 25, 25);
    height: 400px;
    width: auto;
    margin: 65px 0 0;
    border-radius: 5px;
    filter: saturate(0);
    transition: .5s ease;
}

.intro-img img:hover {
    filter: saturate(1);
    transform: rotateZ(3deg)
}

.logo {
    font-size: 32px;
    font-weight: 400;
    color: black;
    font-family: 'Noto Sans', sans-serif;
    transition: all .35s;
}

.logo:hover{
    transform: translateY(-2px);
    color: #3f3c3c;
}

.navlist {
    display: flex;
    top: 70px !important;
}

.navlist a {
    font-family: 'Noto Sans', sans-serif;
    color: black;
    margin-left: 60px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .55s ease;
}

.navlist a:hover{
    color: #3f3c3c;
    border-bottom: 2px solid #3f3c3c;
}

#menu-icon {
    color: black;
    font-size: 35px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

#home-icon {
    color: black;
    font-size: 29px;
    z-index: 10001;
    cursor: pointer;
    bottom: 0;
}


@media (max-width: 1290px){
    .introText {
        width: 400px;
        height: auto;
    }
}

@media (max-width: 1165px){
    .intro {
        gap: 3rem;
    }
}

@media (max-width: 1125px){
    
    .intro {
        gap: 3.5rem;
    }

    .introText {
        width: 350px;
        height: auto;
    }

    .intro-img img {
        height: 350px;
        width: auto;
    }

    .introText h1 {
        font-size: 60px;
        line-height: 1;
    }

    .introText h4 {
        font-size: 28px;
    }

    .introText p {
        font-size: 18px;
    }
}

@media (max-width: 990px){
    #menu-icon{
        display: block;
    }
    .navlist{
        position: absolute;
        margin-top: 30px;
        top: 100%;
        right: -1000%;
        width: 30%;
        height: 40vh;
        border-radius: 8px;
        background: #ecebeb;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 50px 20px;
        transition: all .55s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,.2);
        border-radius: 0 0 0 3px;
    }

    .navlist a {
        margin-left: 0;
        display: block;
        margin: 10px 0;
    }


    .navlist.open {
        right: 0;
    }
}

@media (max-width: 975px){
    
    .intro {
        gap: 2rem;
    }

    .introText {
        width: 350px;
        height: auto;
    }

    .intro-img img {
        height: 300px;
        width: auto;
        box-shadow: 5px 5px 8px rgb(26, 25, 25);
    }

    .introText h1 {
        font-size: 55px;
        line-height: 1;
    }

    .introText h4 {
        font-size: 26px;
    }

    .introText p {
        font-size: 16px;
    }
}

@media (max-width: 855px){
    .intro img {
        height: 250px;
    }
}


@media (max-width: 880px){
    .intro {
        gap: 1rem;
    }
}

@media (max-width: 790px){
    .intro img {
        height: 230px;
    }
}

@media (max-width: 770px){

    .title {
        margin-top: 110px;
    }
    
    .header{
        min-height: 90px;
    }

    .intro {
        gap: 0rem;
        display: flex;
        flex-direction: column-reverse;
        min-height: 600px;
    }

    .introText {
        width: 350px;
        height: auto;
    }

    .intro-img img {
    height: 300px;
    width: auto;
    margin: 0 0 0;
    box-shadow: 0 5px 10px rgb(26, 25, 25);
    }

    .introText h1 {
        font-size: 50px;
        line-height: 1;
        margin-top: 20px;
        margin-left: 0;
    }

    .introText h4 {
        margin-left: 0;
        font-size: 24px;
    }

    .introText p {
        font-size: 16px;
    }
}

@media (max-width:740px) {
    .intro-img img {
        height: 280px;
        }
}

@media (max-width:670px) {
    .intro {
        min-height: 585px;
    }

    .intro-img img {
        height: 260px;
        }
}

@media (max-width:500px) {

    .intro {
        min-height: 585px;
    }
    
    .intro-img img {
        height: 250px;
        }
}

@media (max-width: 465px){

    #home-icon {
        font-size: 25px;
    }

    .logo {
        font-size: 28px;
    }

    #menu-icon {
        font-size: 30px;
    }
}

@media (max-width: 415px){
    .intro {
        min-height: 585px;
    }

    .intro-img img {
        height: 250px;
        width: auto;
    }

    .title {
        font-size: 40px;
        margin-top: 150px;
    }
}

@media (max-width: 400px){

    #home-icon {
        font-size: 22px;
    }

    .logo {
        font-size: 26px;
    }
}


/*---------ABOUT ME---------*/

.aboutMe{
    position: relative;
    display: grid;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.about-img img {
    height: 500px;
    width: auto;
    box-shadow: 5px 5px 10px rgb(26, 25, 25);
    transition: all .55s ease;
    filter: saturate(0);
    border-radius: 3px;
}

.aboutText p {
    margin-left: 3px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    line-height: 1.9;
}

.aboutText h2 {
    font-family: 'Dela Gothic One', cursive;
    font-weight: 200;
    font-size: 30px;
    line-height: 1.9;
    margin-bottom: 10px;
}

@media (max-width:1286px){
    .aboutText {
        width: 450px;
    }

    .aboutMe {
        gap: 5%;
    }
}

@media (max-width: 1265px){
    .about-img img {
        height: 450px;
    }
}

@media (max-width: 1185px){
    .aboutText p {
        font-size: 16px;
    }

    .aboutText h2 {
        font-size: 28px;
    }
}

@media (max-width: 940px){
    .about-img img {
        height: 400px;
        width: auto;
    }
}

@media (max-width: 905px){
    .aboutText {
        width: 350px;
    }

    .aboutText p {
        font-size: 14px;
    }

    .aboutText h2 {
        font-size: 26px;
    }
}

@media (max-width: 820px){
    .about-img img {
        height: 350px;
        width: auto;
    }
}

@media (max-width: 770px){
    .aboutMe{
        display: flex;
        min-height: 650px;
    }

    .about-img img {
        height: 200px;
        width: 400px;
        margin-top: 12%;
        margin-bottom: 10%;
        border-radius: 8px;
        object-fit: cover;
        object-position: 0 38%;
    }

    .aboutText {
        width: 400px;
    }

    .aboutText h2 {
        font-family: 'Dela Gothic One', cursive;
        font-weight: 200;
        font-size: 30px;
        line-height: 1.9;
        margin-bottom: 10px;
    }

    .aboutText p {
        font-size: 16px;
    }
}


@media (max-width: 530px){

    .about-img img {
        height: 200px;
        width: 350px;
    }

    .aboutText {
        width: 400px;
    }

    .aboutText p {
        font-size: 16px;
    }

    .aboutText h2 {
        font-size: 26px;
    }
}

@media (max-width: 425px){

    .about-img img {
        height: 150px;
        width: 300px;
    }

    .aboutText {
        margin-left: 30px;
        width: 350px;
    }

    .aboutText p {
        font-size: 14px;
    }

    .aboutText h2 {
        font-size: 24px;
    }
}

/*---------SKILLS---------*/

.skills {
    min-height: 700px;
    padding: 15px 9%;
    padding-bottom: 100px;
}

.skills-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 15px;
}

.skills-content div {
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border-radius: 5px;
    background: #c1bebe;
    text-align: center;
    padding: 30px 20px;
    transition: all .55s ease;
}

.skills-content img {
    margin-bottom: 5px;
    height: 80px;
    width: auto;
    filter: saturate(0);
}
.skills-content h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: rgb(82, 81, 81);
}

.skills-content p {
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: rgb(106, 105, 105);
}

.skills-content a {
    margin-top: 10px;
    width: 80px;
    height: 40px;
    font-size: 14px;
    color: rgb(24, 24, 24);
    text-decoration: none;
    transition: .35s ease;
    border-bottom: 1px solid black;
  }

  .skills-content a:hover {
    color: rgb(85, 84, 84);
  }

.html-div:hover:before {
    opacity: 1;
  }
  
  .html-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }
.html-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.html-div:hover .html-img {
    filter: saturate(1);
}


.css-div:hover:before {
    opacity: 1;
  }
  
  .css-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }
.css-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.css-div:hover .css-img {
    filter: saturate(1);
}

.js-div:hover:before {
    opacity: 1;
  }
  
  .js-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }

.js-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.js-div:hover .js-img {
    filter: saturate(1);
}

.lua-div:hover:before {
    opacity: 1;
  }
  
  .lua-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }

.lua-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.lua-div:hover .lua-img {
    filter: saturate(1);
}

.py-div:hover:before {
    opacity: 1;
  }
  
  .py-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }

.py-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.py-div:hover .py-img {
    filter: saturate(1);
}

.cpp-div:hover:before {
    opacity: 1;
  }
  
  .cpp-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }

.cpp-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.cpp-div:hover .cpp-img {
    filter: saturate(1);
}

.blender-div:hover:before {
    opacity: 1;
  }
  
  .blender-div:before {
    background: linear-gradient(
      45deg,
      transparent 5%,
      rgb(225, 224, 222) 50%,
      transparent 99%
    );
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    transition: opacity 400ms;
    z-index: -1;
  }

.blender-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.blender-div:hover .blender-img {
    filter: saturate(1);
}

@media(max-width:770px) {
    .skills {
        min-height: 650px;
    }
}

/*---------PROJECTS---------*/

.project {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
    align-items: center;
}

.project-contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5%;
    justify-items: center;
    margin-bottom: 20%;
}

.project-contents div {
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border-radius: 5px;
    text-align: center;
    padding: 30px 20px;
    transition: all .55s ease;
}

.project-contents h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: rgb(82, 81, 81);
}

.project-contents p {
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: rgb(106, 105, 105);
}

.project-contents a {
    margin-top: 10px;
    width: 80px;
    height: 40px;
    font-size: 14px;
    color: rgb(24, 24, 24);
    text-decoration: none;
    transition: .35s ease;
    border-bottom: 1px solid black;
}


.project-div {
    position: relative;
    width: 340px;
    height: 255px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit;
    transition: filter 0.3s ease;
    z-index: 1;
}

.project-div:hover::before {
    filter: blur(5px);
}

.project-div:hover {
    transform: translateY(-5px);
}

.project-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    background-color: #d8d3d3;
    background-size: 100%, 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-div:hover .project-content {
    opacity: 1;
}

.project-content h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 120%;
    line-height: 1.9;
    color: rgb(82, 81, 81);
}

.project-content p {
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    font-size: 85%;
    color: rgb(106, 105, 105);
}



@media(max-width: 1080px) {
    .project-contents {
        max-width: 700px;
        width: 100%;
    }
}

@media(max-width: 1040px) {

}

@media(max-width: 900px) {

}

@media(max-width: 770px) {
    
    .project {
        min-height: 350px;
    }

    .project-contents h1 {
        font-size: 45px;
        margin-bottom: 18px;
    }

    .project-contents p {
        font-size: 16px;  
    }
}

@media(max-width: 693px) {

    .project-contents h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .project-contents p {
        font-size: 15px;
    }
}

@media(max-width: 555px) {
    .project-contents h1 {
        font-size: 38px;
    }

    .project-contents p {
        font-size: 15px;
    }
}

@media(max-width: 525px) {
    .project-contents h1 {
        font-size: 36px;
    }

    .project-contents p {
        font-size: 14px;
    }
}


@media(max-width: 495px) {
    .project-contents h1 {
        font-size: 34px;
        margin-bottom: 12px;
    }

    .project-contents p {
        font-size: 13px;
    }
    
}

@media(max-width: 469px) {

    .project-content {
        max-width: 500px;
        width: 100%;
    }
    .project-content h1 {
        font-size: 32px;
    }

    .project-content p {
        font-size: 12px;
    }
}

@media(max-width: 446px) {

    .project-content h1 {
        font-size: 30px;
    }

    .project-content p {
        font-size: 11px;
    }
}

@media(max-width: 420px) {

    .project {
        min-height: 300px;
    }

    .project-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .project-content p {
        font-size: 11px;
    }
}
/*---------CONTACT---------*/

.contact {
    min-height: 12%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 10%;
}

.ct-subtitle h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 36px;
    line-height: 1;
    margin: 5% 0;
}

.ct-subtitle p {
    margin-left: 3px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.ct-col h4 {
    font-size: 18px;
    color: #353434;
    text-transform: capitalize;
    margin: 15px 0;
    font-family: 'Noto Sans NKo Unjoined', sans-serif;
    font-weight: 500;
}

.ct-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: #636060;
    margin: 10px 5px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #f1efef;
}

.ct-col .social-links a:hover {
    background-color: #f1efef;
    color: #636060;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}


.ct-form {
    width: 400px;
    height: 500px;
    margin-top: 50px;
    background:linear-gradient(#f4f1f1,#efeeee,#e7e6e6,#e0dede);
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 5px 8px rgba(0,0,0,0.2);
    margin-left: 20px;
}

.ct-form h1 {
    margin-bottom: 30px;
    font-size: 26px;
    font-family: 'Young Serif', serif;
    border-bottom: 1.5px solid #3f3c3c;
}

.ct-form label {
    font-weight: 500;
    font-size: 20px;
    margin: 15px 0;
}

.ct-form input {
    background: #f7f5f5;
    margin: 5px;
    border: 1px solid black;
    border-radius: 5px;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Noto Sans', sans-serif;
    width: 300px;
    transition: all .55s ease;
}

.ct-form input:focus {
    scale: 103%;
}

.ct-form textarea {
    background: #f7f5f5;
    margin: 5px;
    border: 1px solid black;
    width: 320px;
    border-radius: 5px;
    height: 100px;
    padding-left: 5px;
    padding-top: 5px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    transition: all .55s ease;
}

.ct-form textarea:focus {
    scale: 103%;
}

.contact-btn {
    margin: 10px;
    width: 90px;
    height: 40px;
    border: none;
    border-radius: 5px;
    transition: .35s ease;
    background: linear-gradient(90deg, #faf8f8, #f1efef, #f4f1f1);
}

.contact-btn:hover {
    scale: 1.1;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.input-name {
    width: 300px;
    height: 50px;
}

.input-email {
    width: 300px;
    height: 50px;
}

.input-message{
    width: 300px;
    height: 90px;
}

@media (max-width: 1251px) {

    .ct-subtitle h2 {
        font-size: 34px;
    }
    
    .ct-subtitle p {
        font-size: 16px;
    }

    .ct-col h4 {
        font-size: 16px;
    }

    .ct-col .social-links a {
        height: 40px;
        width: 40px;
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .ct-subtitle h2 {
        font-size: 32px;
    }
    
    .ct-subtitle p {
        font-size: 16px;
    }

    .ct-col h4 {
        font-size: 16px;
    }

    .ct-col .social-links a {
        height: 40px;
        width: 40px;
        text-align: center;
    }
}

@media (max-width: 1060px) {
    .contact {
        flex-direction: column;
    }
}

@media (max-width: 1060px) {
    .ct-form {
        width: 400px;
        height: 500px;
    }
}

@media (max-width: 590px) {

    .contact {
        gap: 0;
    }
    .ct-subtitle h2 {
        font-size: 30px;
    }

    .ct-subtitle p{
        font-size: 14px;
    }

    .ct-form {
        width: 380px;
        height: 500px;
        margin-left: 0px;
    }

    .ct-form h1 {
        font-size: 24px;
    }

    .ct-form label {
        font-size: 18px;
    }
    
    .ct-form input {
        font-size: 14px;
        width: 280px;
    }

    .ct-form textarea {
        width: 310px;
        height: 90px;
        font-size: 13px;
    }

    .contact-btn {
        width: 90px;
        height: 40px;
    }
}


@media(max-width: 525px) {
    .ct-form {
        width: 380px;
        height: 500px;
    }
}

@media (max-width: 490px) {
    .ct-form {
        width: 370px;
        height: 490px;
    }
}

@media (max-width: 450px) {
    .ct-form {
        width: 360px;
        height: 480px;
    }

    .ct-subtitle h2 {
        font-size: 28px;
    }

    .ct-subtitle p{
        font-size: 16px;
    }

    .ct-form h1 {
        font-size: 22px;
    }

    .ct-form label {
        font-size: 16px;
    }
    
    .ct-form input {
        font-size: 12px;
        width: 270px;
        height: 45px;
    }

    .ct-form textarea {
        width: 300px;
        height: 80px;
        font-size: 11px;
    }

    .contact-btn {
        width: 85px;
        height: 35px;
    }
}

@media (max-width: 440px) {
    .ct-form {
        width: 360px;
        height: 470px;
    }
}

@media (max-width: 410px) {
    .ct-form {
        width: 340px;
        height: 470px;
    }

    .ct-subtitle h2 {
        font-size: 24px;
    }

    .ct-subtitle p{
        font-size: 15px;
    }

    .ct-form h1 {
        font-size: 20px;
    }

    .ct-form label {
        font-size: 15px;
    }
    
    .ct-form input {
        font-size: 12px;
        width: 260px;
        height: 45px;
    }

    .ct-form textarea {
        width: 280px;
        height: 80px;
        font-size: 10px;
    }

    .contact-btn {
        width: 85px;
        height: 35px;
    }
}

/*---------FOOTER---------*/

.footer {
    min-height: 500px;
}

.ftr {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, #525151, #403f3f, #3b3a3a);
    padding: 50px 0;
    height: 170px;
}

.ftr-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ftr-col h4 {
    font-size: 22px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 5%;
    font-family: 'Noto Sans NKo Unjoined', sans-serif;
    font-weight: 500;
}

.ftr-col p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #ffffff;
}

@media (max-width: 840px){

    .ftr-col h4 {
        font-size: 20px;
    }

    .ftr-col p {
        font-size: 17px;
    }
}

@media (max-width: 770px){
    .footer{
        min-height: 400px;
    }
}

@media (max-width: 550px){

    .ftr {
        height: 160px;
    }

    .ftr-col h4 {
        font-size: 18px;
    }

    .ftr-col p {
        font-size: 15px;
    }
}

@media (max-width: 430px){

    .ftr {
        height: 140px;
        padding: 45px 0;
    }

    .ftr-col h4 {
        font-size: 16px;
    }

    .ftr-col p {
        font-size: 13px;
    }
}
