body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}



.scroll-up-btn {
    position: fixed;
    height: 50px;
    width: 47px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    z-index: 999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}



.fa, .fas {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}

.fa, .fab, .fad, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}




nav {
    background-image: url(Screenshot\ 2024-04-11\ 003616.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    margin-top: 0;
    width: 100vw; 
    height: 2.5rem;
    padding: 0.625rem 0;
    font: white;
    font-family: "ubuntu",sans-serif;
    font-weight: 400;
    font-size: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
   
}

.left {
    font-family: "Dancing Script", cursive;
    width: 2.5rem;
    color: white;
    font-weight: 800;
    font-size: 2rem;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    transition: color 0.3s ease-in-out;
}

.left:hover {
    color: firebrick;
} 


nav ul {
    display: flex;
    justify-content:center ;
    padding: 0 2.5rem;
    
}

nav ul,a:hover {
    color: rgb(205, 11, 11);

}




nav  a:hover {
    font-size: 1.5rem;

}



nav ul li,a{
    list-style: none;
    text-decoration: none;
    color: white; 
    margin: 0 1.438rem;
}

.home {
    font-size: 3rem;
    background-image: url(1337527.png);
    height: 100vh;
    padding-left: 6.25rem;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;

} 




.home .max-width {
    margin: auto 0 auto 2.5rem;
}



.home .home_content .text-1 {
    font-size: 1.688rem;
}

.home .home_content .text-2 {
    font-size: 4.688rem;
    font-weight: 600;
}



.home .home_content .text-3 {
    font-size: 2.5rem;
}

.home .home_content .text-3 span {
    color: crimson;
    font-weight: 500;
}



.home .home_content .web {
    margin-right: 1.563rem;
}



.home .home_content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 2.5rem;
    padding: 0.5rem 1.25rem;
    margin-top: 1.25rem;
    border-radius: 0.375rem;
    border: 0.125rem solid crimson;
    transition: all 0.3s ease;
}




#about {
    width: 100%;
    height: 88vh;
    margin-bottom: 1.875rem;
    margin-left: 0;
}




#about h2, #skills h2, #projects h2, #contact h2  {
    color: crimson;
    text-align: center;
    text-decoration: 2px solid crimson underline;
    width: 100%;
    height: 3.75rem;
    font-size: 2rem;
}



#about .about {
    margin-left: 0;
}




#about .row {
    margin: 0;
    display: flex;
   
}


 #about .left_content {
    width: 40vw;
    height: 28.125rem;
    padding: 0.625rem 1.25rem 3.125rem 0.313rem;
    margin-left: 0;
    
}




.image {
    width: 60%;
    height: 40%;
    display: flex;
    flex-direction: column;
    margin: 10% 10%;
}

.image img {
    background-size: cover;
    border-color: 0.125rem aquamarine;
    box-shadow: inset;
    padding-bottom: 0.625rem;
}

.social{
    background-size: cover;
    font-size: 2rem;
    padding-left: 34%;
    width: 6.25rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.social a {
    color: #0f1111;
}



.social a:hover {
    color: crimson;
}





#about .span {
    width: 3vw;
}



#about .right_content {
    width: 50vw;
    height: 31.25rem;
    margin-top: 2%;
    font-size: 1.03rem;
    padding-right: 9.375rem;
    padding-bottom: 3.125rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    
}
 


#about .right_content h3 {
    color: crimson;
    text-decoration: 0.125rem solid crimson underline;
}





#skills {
    background-color: #0f1111;
    color: #fff;
    height: 92vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}


#skills .row {
    display: flex;
}


#skills .left_content {
    width: 40%;
    height: 70vh;
    font-size: 1.2rem;
    padding: 0.625rem 1.25rem 3.125rem 0.313rem;
    font-family: cursive;
}



#skills .left_content p {
    margin-top: 1.25rem;

}




#skills .span {
    width: 5%;
}





#skills .right_content {
    font-size: 8rem;
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10%;
   
}







#projects {
    width: 100%;
    height: 93%;
    display: flex;
    justify-content: center;
    align-items: center;
}




#projects > h2 {
    margin-bottom: 20%;
}


.card {
    background-color: #201e1e;
    width: 8.125rem;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-left: 1.5rem;
    

}

.card:hover {
    cursor: pointer;
    background-color: rgb(41, 37, 37);
    
}
    




.cards-container {
    margin-top: 10%;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    height: 3.125rem;
      
}

.card-img {
    width: 100%;
    border-radius: 0.5rem;
}

.card {
   margin-right: 10%;
   height: 15.625rem;
   width: 12.5rem;
}





.card-info {
    font-size: 1rem;
    opacity: 0.8;
    color: #fff;

}


#contact {
    background-color: #0f1111;
    color: #fff;
    height: 41.875rem;
}






#contact .row {
    width: 100%;
    display: flex;
    align-items: center;
    
}



.content {
    margin: 0 2.25rem;
    padding: 0 5rem;
    width: 100%;
    height: 75vh;
}


#contact .left_content {
    font-size: 1.4rem;
    padding-left: 3.125;
    width: 45%;
    height: 31.25rem;
}


#contact .span {
    width: 5%;
    
}



#contact .social {
    padding-left: 30px;
}



#contact .social a  {
    color: crimson;
    padding: 0;
    border: 0.25rem solid  white;
    border-radius: 50%;
    background-color: #fff;
    background-size: contain;
}


#contact .right_content {
    width: 50%;
    height: 31.25rem;
    margin-right: 10%;
}


#contact .text h2{
    display: flex;
    margin-bottom: 0;
    text-decoration: none;
}




#contact .left_content p {
    text-align: justify;
}


#contact .left_content .text1 {
    margin-bottom: 10px;
    height: 1.875rem;
   
}


#contact .left_content .icons {
    margin: 10px 0;
}

#contact .contact_row {
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
    height: 5rem;
}


#contact .contact_row i {
    color: crimson;
}

#contact .contact_row .info {
    margin-left: 2rem;
    justify-content: left;
    float: left;
}



#contact .head {
    padding: 0.313rem;
}


#contact .sub-title {
    text-align: left;
    display: flex;

}



form .fields {
    display: flex;
}



#contact form .fields, #contact form .field {
    height: 2.813rem;
    width: 100%;
    margin-bottom: 0.938rem;
}

#contact form .field input {
    padding-left: 5px;
    
}

#contact form .field input, #contact form .textarea textarea {
    height: 100%;
    width: 100%;
    border-radius: 6px;
    outline: none;
    font-family: sans-serif;
    
}




#contact form .button button {
    height: 40px;
    width: 40%;
    border: 2px solid white;
    background: crimson;
    color: #fff;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}


#contact form .email {
    margin-left: 20px;
}

