


* {
    margin: 0;
    padding: 0;

}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

.container {
    font-family: 'Alata', sans-serif;
}


.banner {
    width: 100%;
    height: 100vh;
    background: url(img/home-background.jpg) no-repeat;
    background-position: center top;
    background-size: cover;

}
.home-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    text-align: center;
}

.home-banner h1 {
    font-size: 3.5rem;
    color: #351d77;
    font-weight: 600;
    margin-bottom: 30px;
    animation: moveToLeft 2s;
    font-family: 'Lexend Tera', sans-serif;
    text-transform: uppercase;
}


.home-banner h2 {
    font-size: 2.7rem;
    font-weight: 400;
    color:  #351d77;
    text-shadow: -2px -2px 2px #fff;
    animation: moveToRight 2s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 4px;
}

.home-banner p {
    font-size: 1.25rem;
    font-weight: 400;
    color:  #333;
    text-shadow: -2px -2px 2px #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 20px;
    letter-spacing: 2px;
    animation: moveToRight 2s;
    padding: 20px;

}

@keyframes moveToLeft {
    0% {
        transform: translateX(120px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;         
    }
}


@keyframes moveToRight {
    0% {
        transform: translateX(-120px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;         
    }
}



.logo {
    height: 80px;
    width: 80px;
    position: fixed;
    top: 20px;
    left: 50px;
    z-index: 100;
}


.logo img {
    width: 100%;
}

.hamburger-menu {
    width: 35px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    position: fixed;
    top: 40px;
    right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 300;
}

.line {
    width: inherit;
    height: 5px;
    background-color: #351d77; 
    border-radius: 25px;
    transform-origin: right;
    transition: transform 0.5s;
}

.line-2 {
    height: 3px;
}


.change .line-1 {
    transform: rotateZ(-45deg);
    background-color: #fff;
}

.change .line-2 {
    transform: translate(5px, 20px);
    background-color: transparent;
}
.change .line-3 {
    transform: rotateZ(45deg);
    background-color: #fff;
}

.btn-wrapper {
    position: absolute;
    top: 85%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    perspective: 1000px;
}


 .banner-btn {
    width: 15%;
    height: 5%;
    background: #ec91c4;
    border: none;
    outline: none;
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eeefda;
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
    margin: 10px;
    box-sizing: border-box;
}


.banner-btn:hover {
    animation: buttonRotation 2s 1s linear;
}

@keyframes buttonRotation {
    0% {transform: scale(1) rotateZ(0)}
    5% {transform: scale(1.2) rotateZ(5deg)}
    10% {transform: scale(1.2) rotateZ(-5deg)}
    15% {transform: scale(1.2) rotateZ(5deg)}
    20% {transform: scale(1.2) rotateZ(-5deg)}
    25% {transform: scale(1.2) rotateZ(5deg)}
    30% {transform: scale(1.2) rotateZ(-5deg)}
    35% {transform: scale(1.2) rotateZ(5deg)}
    40% {transform: scale(1.2) rotateZ(-5deg)}
    45% {transform: scale(1.2) rotateZ(5deg)}
    50% {transform: scale(1.2) rotateZ(-5deg)}
    55% {transform: scale(1.2) rotateZ(5deg)}
    60% {transform: scale(1.2) rotateZ(-5deg)}
    65% {transform: scale(1.2) rotateZ(5deg)}
    70% {transform: scale(1.2) rotateZ(-5deg)}
    75% {transform: scale(1.2) rotateZ(5deg)}
    80% {transform: scale(1.2) rotateZ(-5deg)}
    85% {transform: scale(1.2) rotateZ(5deg)}
    90% {transform: scale(1.2) rotateZ(-5deg)}
    95% {transform: scale(1.2) rotateZ(5deg)}
    100% {transform: scale(1) rotateZ(0)}
}





.top-nav {
    height: 15vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, .8) , rgba(0, 0, 0, .8)), url(img/nav-bg2.jpg)  no-repeat 50% 0;
    background-size: cover;
    position: fixed;
    top: -15vh;
    z-index: 110;
    transition: top .4s;
}

.change .top-nav {
    top: 0;
}


.nav-list {
    list-style: none;
    width: 80%;
    margin: auto;
    height: inherit;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-list li {
    perspective: 500px;
}

.nav-link {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #453e4f;
    background-color:#F4BEDC;
    letter-spacing: 1px;
    padding: 5px 10px;
    display: block;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: top;
    transition: transform .3s;
}

.nav-link:hover {
    transform: rotateX(90deg);
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    bottom: -100%;
    background-color: #f19494;
    padding: inherit;
    color: #351d77;
    transform: rotateX(-90deg);
    transform-origin: top;


}








/***** About Me Page *****/

.about-container {
    width: 100%;
    background-color: #EEE4F0;
    display: flex;
    flex-direction: row;
    box-sizing: content-box;
}

.about-me-wrapper {
    width: 100%;
    background-color: #EEE4F0;
    position: relative;
    display: flex;
    align-content: center;
    flex-direction: row;
    padding-bottom: 100px;
    padding-top: 50px;
}
.about-me-img {
    width: 50%;
    text-align: center;

}

.about-me-img img {
    width: 100%;
    padding-bottom: 50px;
}

.about-me-wrapper h2 {
    font-size: 2rem;
    font-family: 'Lexend Tera', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 20px;

}
.about-me-wrapper h3 {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    margin: 20px;
    text-align: center;
    padding-bottom: 50px;
}

.about-info-wrapper {
    width: 50%;
    height: auto;
    padding: 20px;
    margin: auto;
    background-color: #E8F0E4;
    background-size: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: content-box;


}

.about-info-wrapper h2 {
    font-size: 2.8rem;
    font-family: 'Lexend Tera', sans-serif;
    letter-spacing: 2px;
    margin: 20px;
    padding-bottom: 50px;
    text-transform: uppercase;
    text-align: left;

}

.about-info-wrapper {
    font-family: 'Lexend Tera', sans-serif;
    color: #351d77;
    line-height: 1.5;
    text-align: left;


}

.about-section-1 span {
    font-size: 1.375rem;
    text-transform: uppercase;
    font-weight: 600;
    color: black;
}
.about-section-1 p {
    padding-bottom: 30px;
    padding-left: 20px;
    font-size: 1.125rem;
    letter-spacing: -1px;

}

.about-section-2 p {
    padding-bottom: 30px;
    font-size: 1.125rem;
    margin-bottom: 30px;


}

.about-section-2 span {
    font-size: 1.375rem;
    text-transform: capitalize;
    font-weight: 600;
    color: black;
}
/***** SKILLS *******/


.skills-container {
    width: 100%;
    background: url(img/background2.jpg) no-repeat;
    background-size: cover;

}

.skill-header {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.skill-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block !important;
    color: #351d77;
    margin: 50px 0;
    padding: 5px 10px;
    cursor: pointer;

}

.heading {
    color: #152a3e;
    font-size: 2.5rem;
    position: relative;
    top:10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Lexend Tera', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    white-space: pre-wrap;
}

.heading::after {
    content: '';
    width: 5px;
    height: 55px;
    background-color: #152a3e;
    position: absolute;
    animation: blinking 1s 3s infinite;
}

@keyframes blinking {
    0% {background-color: #152a3e}
    50% {background-color: transparent}
    100% {background-color: #152a3e;}
}


.cards-wrapper {
    width: 100%;
    margin-top: 50px;
    padding-bottom: 180px;
    display: flex;
    justify-content: space-evenly;
    position: relative;
    top: 35%;
    left: 50%;
    overflow: hidden;
    transform: translateX(-50%);

    
}


.card {
    width: 30%;
    background-color: #eee;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: transform .5s;
    margin:30px;
}

@keyframes cardAnim {
    0% {opacity: 0}
    100% {opacity: 1}
}


.card:nth-child(1) {
    animation: cardAnim 2s 3s backwards;
}

.card:nth-child(2) {
    animation: cardAnim 2s 3.5s backwards;
}

.card:nth-child(3) {
    animation: cardAnim 2s 4s backwards;
}

.card:hover {
    transform: scale(1.1);
}


.image-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 73%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 73%, 0% 100%);

}

.profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -110px;
    z-index: 10;
    border: 10px solid #eee;
}

.card h2 {
    font-family: 'Slabo 27px', serif;
    font-size: 2.5rem;
    color: #555;
    margin: 10px;
}

.skill-icons {
    width: 90%; 
    text-align: center;
    list-style-type: none;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 2rem;
    font-family: 'Lexend Tera', sans-serif;
}

.skill-icons li {
    padding-bottom: 10px;
    color: #152a3e;
}

.soft-skill-lists {
    font-family: 'Lexend Tera', sans-serif;
    margin: 15px 0;
    color: #152a3e;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.5;
    list-style-type: none;
   
}

.soft-skill-lists li {
    padding-bottom: 5px;
    font-size: 1.375rem;
}

.software-lists {
    font-family: 'Lexend Tera', sans-serif;
    margin: 15px 0;
    color: #152a3e;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.5;
    list-style-type: none;
   
}

.software-lists li {
    padding-bottom: 5px;
    font-size: 1.375rem;
}


/****** PRoject PART *******/

.project-content-wrapper {
    width: 100%;
    height: 100%;
    background: #e8f0e4;
    padding-bottom: 100px;

}

.project-section {
    position: relative;
}

.project-heading {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #eeefda;
    margin: 50px 0;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

}

.project-heading h2 {
    display: inline-block;
    font-size: 3.5rem;
    color: #351d77;
    padding: 5px 10px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects {
    flex-wrap: wrap;

}

.project {
    width: 40%;
    height: 100%;
    background-color: #1A1B25;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    box-sizing: border-box;
   
}

.project-content-wrapper {
    padding-top: 75px;
}
.project-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: auto;

}

.project-title {
    width: 40%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    align-items: center;
    color: #351d77;
    border-radius: 10px;
    background-color: #eee4f0;
    box-sizing: border-box;
    margin: 40px 40px;
    text-align: center;
    padding: 10px;

    
}

.project-title h3 {
    text-transform: uppercase;
    font-family: 'Lexend Tera', sans-serif;
    text-align: center;
    font-weight: 600;
    font-size: 1.7rem;
}

.project-title p {
    font-weight: 600;
    font-family: 'Slabo 27px', serif;
    letter-spacing: 1px;
    font-size: 1.25rem;
    text-align: left;
    padding: 10px;

}




.project-title a {
    color: #eee;
    font-size: 1.125rem;

}
.project img {
    width: 100%;
    height: 100%;
}


.project-title a {
    background: #e9b14c;
    padding: 5px;
    border-radius: 10px;
    color: #351d77;
    margin-top: 5px;
}

.project-title a {
    text-decoration: none;
    color: #351d77;
    font-weight: bold;
    text-transform: uppercase;

}








/*****CONTACT PAGE *****/ 


.contact-container {
    width: 100%;
    background: url(img/pastel-background.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
    bottom: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: inherit;
    
    
  }
  
  .contact-card {
    width: 60%;
    margin-top: 50px;
    margin-bottom: 50px;
    z-index: 3;
    padding: 20px;
    
  }
  
  .contact-card-bio {
    background-color: #E8F0E4;
    padding: 30px 30px 40px 30px;
    display: flex;
    border-radius: 10px 10px 0 0;
    position: relative;
    z-index: 100;
    flex-direction:row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .img-wrapper {
    width: 25%;
    height: 25%;

  }
  
  .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .contact-info {
    width: 100%;
    font-family: 'Lexend Tera', sans-serif;
    letter-spacing: -1px;
    color: #152a3e;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  
  .contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px rgba(39, 29, 29, 0.3);
    text-align: center;
  }
  .contact-info h2 {
    font-size: 2.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .contact-info p {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    
    
  }
  
  .card-btn {
    position: absolute;
    bottom: -25px;
    right: 100px;
    width: 200px;
    height: 60px;
    background-color: #d4d3e9;
    color:#351d77;
    border-radius: 50px;
    border: none;
    font-family: 'Lexend Tera', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    outline: none;
    cursor: pointer;
   
  }
  
  
  .card-btn-contact,
  .card-btn i {
    width: 100%;
    position: absolute;
    left: 50%;
  }
  
  .card-contact {
    background-color: #e9b14c;
    color: #351d77;
    padding: 10px 10px;
    border-radius: 0 0 5px 5px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
  }
  
  
  
  .card-contact h4 {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  
  .card-social {
    background-color: #fff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    box-sizing: border-box;
  }
  
  .card-social a {
    font-size: 1.9rem;
  }

  .contact-icon-wrapper {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
  }
  
  .contact-icon-wrapper i {
    font-size: 1.9rem;
  }

  .email .icon-wrapper {
    background-color: #dd4b39;
  }
  
  .fb .icon-wrapper {
    background-color: #3b5998;
  }
  
  .linkedin .icon-wrapper {
    background-color: #007bb6;
  }
  
  .icon-wrapper i {
    font-size: 1.9rem;
    color: #fff;
  }
  
  .contact-details h4 {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }
  
  .email h4 {
    color: #a62c1c;
  }
  
  .fb h4 {
    color: #3b5998;
  }
  
  .linkedin h4 {
    color: #007bb6;
  }
  
  .contact-details p {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.25rem;
    color: #444;
    letter-spacing: -3px;
  }
  
  .card-social span {
    margin-left: auto;
    font-size: 1.125rem;
    font-weight: bold;
    color: #999;
  }
  


  .back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background-color: #f19494;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
  }
  
  .back-to-top:hover {
    background-color: #daaeae;
  }
  

footer {
        background-color: #e8f0e4;
        padding: 20px;
        text-align: left;
        font-size: 1rem;
        color: #152a3e;
        font-weight: 400;
        font-family: 'Lexend Tera', sans-serif;
}



/*Responsive*/



/* Mobile */
@media(prefers-reduced-motion: reduce),(max-width: 767px) {
    
    .home-banner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-banner h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .home-banner h2 {
        font-size: 2.0rem;
    }

    .home-banner p {
        font-size: 1.25rem;
    }

    .banner-btn {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }


   

    .logo {
        width: 50%;
        height: 50%;
        z-index: 110;
        top: 1%;
        left: 2%;
        position:fixed ;
    }


    .logo img {
        width: 40%;
    }

    .top-nav {
        height: auto;
        top: -30vh;
    }


    .nav-list {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
    }
    .nav-link {
        margin: 3px 0;
        font-size: 18px;
    }
    .about-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .about-me-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 100%;

    }

    .about-me-wrapper {
        text-align: center;
    }

    .about-me-wrapper h2 {
        font-size: 1.7rem;
    }
    .about-me-wrapper h3 {
        font-size: 1.5rem;
    }
   

    .about-me-wrapper img {
        width: 100%;
        margin: 20px;
    }

    .about-info-wrapper {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        height: 100%;
    }

    .skills-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .heading {
        width: 100%;
        letter-spacing: 2px;
        text-align: center;
    }
    .cards-wrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .card {
        width: 80%;
    }

    .project {
        width: 100%;
        margin-bottom: 10px;
        height: 100%;
    }

    .project-title {
        width: 100%;
        height: 100%;
        margin: 20px;
    }

    .contact-card-bio {
        width: 100%;
    }

    .contact-card {
        width: 100%;
    }
    .contact-details  {
        font-family: 'Slabo 27px', serif; 
        text-transform: capitalize;
    }
    .contact-container {
        width: 100%;

    }
    .card-social {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .project-content-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding-top: 75px;
    }
}

@media(prefers-reduced-motion: reduce),(min-width: 768px)  {

    .home-banner p {
        margin-bottom: 50px;
    }


    .icons {
        left: 40%;
    }

    .btn-wrapper {
        top: 85%;
    }

    .about-me-container {
        width: 100%;
    }
    .about-me-wrapper {
        width: 100%;
        display: flex;
        box-sizing: border-box;

    }

    .about-me-img {
        width: 90%;
        height: 100%;
    }

    .about-info-wrapper {
        width: 95%;
        height: 100%;
    }

}






