@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Red Hat Display", sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth !important;
    overflow-x: hidden;
}

::-webkit-scrollbar{
    width: .6rem;
}
::-webkit-scrollbar-track{
    background-color: #fff;
}
::-webkit-scrollbar-thumb{
    background-color: #afafaf;
    border-radius: 2rem;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.row{
    display: flex;
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 6rem;
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

nav #logo {
    font-size: 2rem;
    text-decoration: none;
    color: #2D2E32;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    list-style: none;
}

#nav-links {
    margin-left: 3rem;
    text-decoration: none;
    list-style: none;
    color: #2D2E32;
    font-size: 1.6rem;
    font-weight: 700;
    transition: 0.2s;
}

#nav-links:hover {
    color: #c284fc;
}

.mob-menu {
    display: none;
}

.fa-bars {
    display: none;
}

.mob-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgb(250, 250, 250);
    height: 100vh;
    width: 100%;
    align-items: center;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.mob-menu.active {
    transform: translateX(0);
}

#hero-section{
    background-color: #FAFAFA;
    height: calc(100% - 70px);
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
}

.hero-content{
    width: 50%;
    text-align: left;
}

.hero-content h1{
    font-size: 5.5rem;
    color: #2D2E32;
    position: relative;
}

.hero-content h1 img{
    width: 6rem;
   margin-left: 1rem;
   margin-bottom: -0.8rem;
}

.hero-content p{
    margin-top: 1.8rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    letter-spacing: 1.2px;
    color: #555555;
    position: relative;
}
.hero-content p img{
    width: 3.5rem;
    margin-bottom: -1rem;
}

.links{
    display: flex;
    align-items: center;
}

.links a img {
    width: 3.5rem;
    margin-right: 1.8rem;
    transition: all ease 0.3s;
}

.links a img:hover{
    transform: translatey(-1rem);
}

.hero .hero-img{
    width: 50%;
    text-align: right;
}

.hero .hero-img img{
    width: 75%;
    animation: blob 4s ease-in-out infinite;
    border: 4px solid #c284fc;
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        /* transform: translatey(1rem); */
    }
    50%{
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        /* transform: translatey(-1rem); */
    }
}

.hero .skills{
    position: absolute;
    left: 0;
    bottom: 5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hero .skills h3{
    font-size: 1.8rem;
    color: #555555;
    padding-right: 3rem;
    margin-right: 6rem;
    border-right: 2px solid #2D2E32;
}

.hero .skills .skill-img{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    
}

.hero .skills .skill-img img{
    width: 6rem;
}
.logos1{
    animation: logos1 4s ease-in-out infinite;
}
.logos2{
    animation: logos2 4s ease-in-out infinite;
}

@keyframes logos1 {
    0%,100%{
        transform: translateY(0.8rem);
    }
    50%{
        transform: translateY(-0.8rem);
    }
}
@keyframes logos2 {
    0%,100%{
        transform: translateY(-0.8rem);
    }
    50%{
        transform: translateY(0.8rem);
    }
}


.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75vh;
}
.about .abt-img img{
    width: 90%;
    text-align: right;
    border-radius: 1.2rem;
}
.abt-content h3{
    font-size: 1.7rem;
    color: #c284fc;
    margin-bottom: 1.8rem;
}
.abt-content h2{
    font-size: 2.5rem;
    color: #2D2E32;
    margin-bottom: 1.8rem;
}
.abt-content h2 img{
    width: 3rem;
    margin-bottom: -0.8rem;
}
.abt-content p{
    font-size: 1.6rem;
    color: #555555;
    font-weight: 500;
}

#projects{
    background-color: #F9F9F9;
}

.project{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    flex-direction: column;
    min-height: 60vh;
    padding: 8rem 0;
}

.pro-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pro-content h2{
    font-size: clamp(4rem, 5vw, 5rem);
    color: #2D2E32;
    text-align: center;
}
.pro-content p{
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: #525355;
    text-align: center;
    font-weight: 600;
    width: 70%;
}
.pro-cards{
    width: 80rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.pro-box{
    width: 40rem;
    height: 20rem;
    background-color: #000;
    background-position: top;
    transition: ease-in-out 10s;
}
.pro-card-img-1{
    background-image: url(RestrauntWEB\ \(Project-1\).png);
    gap: 1.2rem;
    background-size: cover;
}
.pro-card-content{
    width: 50%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;    
    gap: 1.2rem;
}

.pro-box:hover{
    background-position: bottom;
}

.pro-card-content h3{
    color: #c284fc;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}
.pro-card-content p{
    font-size: clamp(1.3rem, 5vw, 1.6rem);
}
.pro-card-content a{
    text-decoration: none;
    color: #fff;
    background-color: #c284fc;
    padding: .8rem 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: .6rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: .5s;
}
.pro-card-content a:hover{
    gap: 1.2rem;
}

.components{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.components p{
    border: 1px solid #525355;
    color: #525355;
    font-weight: 600;
    border-radius: .4rem;
    padding: .4rem 1rem;
    cursor: pointer;
    display: flex;
}

.contact{
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    height: 40vh;
    padding-top: 17rem;
    padding-bottom: 22rem;
}

.contact-content h2{
    margin-top: 6rem;
    font-size: 2rem;
    font-weight: 900;
    color: #c284fc;
}
.contact-content p{
    font-size: 2rem;
    font-weight: 900;
    margin-top: 2rem;
}

.contact-links{
    gap: 5rem;
    margin-top: 6rem;
    flex-wrap: wrap;
}

.location .img,
.mail .img{
    width: 5rem;
    background-color: #fff;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.location img,
.mail img{
    width: 60%;
}
.location,
.mail{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
}
.location h3,
.mail h3{
    font-size: 2rem;
}
.location p,
.mail a{
    font-size: 1.6rem;
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    cursor: pointer;
    transition: all ease 0.3s;
}
.location p:hover,
.mail a:hover{
    color: #c284fc;
}

#footer{
    background-color: #2D2E32;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem 3rem;
    color: #fff;
}






















@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content h1{
        font-size: 5rem;
    }
    
    .about{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .abt-content{
        width: 80%;
        text-align: center;
    }
    .about .abt-img{
        width: 80%;
        text-align: center;
    }
    .about .abt-img img{
        width: 60%;
        margin-bottom: 4rem;
    }

}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 640px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav{
        padding: 2rem 4rem;
    }
    nav #logo{
        font-size: 2rem;
    }

    .dekstop-menu {
        display: none;
    }

    .mob-menu {
        display: flex;
    }

    #nav-links,
    .nav-btn {
        font-size: 2rem;
    }


    .mob-menu li {
        margin-top: 8rem;
    }

    .fa-bars {
        display: block;
        font-size: 2.5rem;
    }

    .fa-xmark {
        position: absolute;
        font-size: 2.7rem;
        top: 3.7rem;
        right: 3.7rem;
    }

    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 11rem;
        padding-bottom: 8rem;
        justify-content: center;
    }

    .hero-content{
        width: 100%;
        text-align: center;
    }
    .hero-img{
        width: 100%;
        padding-bottom: 4rem;
    }
    .hero .hero-img{
        width: 80%;
        text-align: center;
    }

    .hero-content h1 img{
        width: 5rem;
    }

    .hero-content p{
        font-size: 1.8rem;
    }

    .hero-content .links{
        justify-content: center;
        margin-top: 4rem;
    }

    .hero-content .links a img {
        width: 5rem;
        margin-bottom: 1.8rem;
    }
    .hero .skills{
        position: static;
        margin-top: 2rem;
    }
    .about{
        padding-top: 10rem;
        padding-bottom: 10rem;
        height: auto;
    }
    .contact{
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (max-width: 640px) {


    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 475px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .pro-cards{
        flex-direction: column;
    }
    .components{
        text-align: center;
    }
}

@media (max-width: 375px) {

    html{
        font-size: 45%;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-content h1{
        font-size: 4.5rem;
    }
    .hero-content p{
        font-size: 1.8rem;
        font-weight: 500;
    }
}