@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
:root {
    --bg-body: hsl(0, 0%, 3%);
    --bg-body2: rgb(39, 39, 39); 
    --accent: hsl(153, 71%, 59%);
    --accent: #0fffdb;
    --text1: hsl(0, 0%, 100%);
    --text2: hsl(0, 0%, 85%);
    --invalid: hsl(7, 100%, 68%); 
    --fs-18: 1.125rem;
    --fs-88: 5.5rem;
    --fs-72: 4.5rem;
    --fs-40: 2.5rem;
    --fs-48: 3rem;
    --fs-36: 2.25rem;
    --fs-32: 2rem;
    --fs-24: 1.5rem;
    --fs-20: 1.25rem; 
    --container: 69.375rem;
    --transition: 250ms ease-in-out;
    --common-width: 1400px; 
    --padding-left-right: 30px;
    --mobile-padding: 15px;
  }
  
  body {
    margin: 0;
    background-color: var(--bg-body);
    color: var(--text1);
    font-size: var(--fs-18);
    /* line-height: 1.56; */
   
  }
*{
    font-family: "Space Grotesk", sans-serif;
    /* font-optical-sizing: auto; */
    /* font-style: normal; */
    box-sizing: border-box;
    
}
/* body{
    background-color: rgb(20, 20, 20);
} */

p {
    font-size: 1rem;
    font-size: clamp(1rem, 0.79rem + 0.89vw, 1.125rem);
    line-height: 1.5;
    color: var(--text2);
  }

.row1{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
}
.row1-inside {
    width: 100%;
    max-width: var(--common-width);
    padding: 50px 30px;
    height: 85%;
}
.row1-inside > div{
    display: flex;
    justify-content: space-between;
    height: 100%;
    
}

.row1-col1 div{
    padding: 15px 0;
}

.socials-container {
    display: flex;
}
.socials-container div {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.facebook-container {
    background-color: blue;
}

.instagram-container {
    background-color: crimson;
}
.linkedin-container {
    background-color: blueviolet;
}
.github-container {
    background-color: rgb(92, 91, 91);
}
.youtube-container {
    background-color: red;
}

.row1-col1{
    display: flex;
    flex-direction: column;
    width: 60%;   
    justify-content: space-around;
}
.intro-container{
    width: 100%;
    max-width: 600px;
}
.row1-col2{
    width: 40%;

}
/* .row1-col2 img{
    width: 100%;
    border-radius: 50%;
    border: 5px solid var(--accent);

} */

.big-heading{
    font-size: 80px;
    margin: 0;
    font-weight: 800;
}

.row1 p{
    font-weight: 600;
}
.row1 a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.highlight-text{
    color: var(--accent);
}

.underline{
    position: relative;
    padding: 0;
    z-index: -100;
}
.underline-small::after{
    bottom: 0px;
}
.underline-big::after{
    bottom: -6px;
}
.underline::after{
    content: "";
    position: absolute;
    background-color: var(--accent);
    height: 3px;
    width: 100%;
    left: 0;

}


.underline2{
    position: relative;
    padding: 0;

}
.underline2-small::after{
    bottom: 0px;
}
.underline2-big::after{
    bottom: -6px;
}
.underline2::after{
    content: "";
    position: absolute;
    background-color: var(--accent);
    height: 3px;
    width: 100%;
    left: 0;

}



a {
    transition: 0.2s color ease-in;
}

a:hover {
    color: var(--accent);
}

.underline-wrapper{
    width: fit-content;
}


.row2{
    display: flex;
    justify-content: center;
    align-items: center;
}
.row2-inside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: var(--common-width);
    padding: 70px 0;
}
.row2-header{
    max-width: var(--common-width);
    width: calc(100% - 40px);
    margin: auto;
    
}

.skills-container1{
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
    
}

.skill-card{
    min-width: 270px;
    display: flex;
    flex-direction: column;
    margin: 30px 15px 30px 0;
    justify-content: center;
    align-items: center;
}
.skill-card h1{
    font-size: 50px;
    margin: 0px 0;
}
.skill-card p{
    margin: 0;
}
.communication-container a{
    cursor: pointer;
}
.communication-container a:hover .row1-btns{
    background-color: aliceblue;
}

.row1-btns{
    padding: 7px 10px;
    border: 2px solid var(--accent);
    background-color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    width: 150px;
    margin-right: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s background-color ease-in-out;

}
row1-btns:hover {
    background-color: rgb(1, 94, 63);
}


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

}
.row3-inside {
    width: 100%;
    max-width: var(--common-width);
    padding: 50px var(--padding-left-right);
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.row-header a{
    color: white;
    text-decoration: none;
}
.row-header a:hover {
    color: var(--accent);
}

.project-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;

}
.project-card{
    width: 50%;
    margin: 20px 0;
    transition: 0.3s opacity ease-in-out;
    position: relative;
    
}
.project-card h2{
    text-transform: uppercase;
}


.project-card p{
    font-weight: 600;
}
.project-card img{
    width: 100%;
    height: 370px;
    object-fit: contain;
}
.project-card img:hover {
    opacity: 0.4;
}



.row4{
    display: flex;
    justify-content: center;
    align-items: center;
}
.row4-inside {
    padding: 20px var(--padding-left-right);
    width: var(--common-width);
}

.services-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.service-card{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 30%;
    background-color: var(--bg-body2);
    flex-direction: column;
    padding: 30px;
    border-radius: 7px;
    transition: 0.3s background-color ease-in-out;
    margin: 30px 0;
    font-weight: 500;
    

}

.service-card:hover {
    background-color: var(--accent);
}
.service-card:hover p{
    color: black;
}
.service-card:hover h2{
    color: black;
}
.top{
    width: 80px;
    height: 80px;
    border-radius: 7px;
    background-color: var(--accent);
    position: absolute;
    top: -50px;

}



.row5{
    display: flex;
    justify-content: center;
    align-items: center;
}
.row5-inside {
    padding: 70px var(--padding-left-right);
    width: var(--common-width);
}
.row5-inside form {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.row5-inside form input {
    height: 45px;
    margin: 10px 0;
    background-color: var(--bg-body2);
    color: white;
    padding: 0 10px;
    font-weight: 600;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 4px;
}
.row5-inside form textarea {
    height: 250px;
    margin: 10px 0;
    background-color: var(--bg-body2);
    color: white;
    padding: 10px;
    font-weight: 600;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 4px;
    resize: none;
}

.row5-inside form button{
    margin: 10px 0;
    height: 40px;
    background-color: var(--accent);
    font-size: 16px;
    border: 2px solid var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s background-color ease-in-out;
    cursor: pointer;
    
}
.row5-inside form button:hover {
    background-color: rgb(6, 234, 180);
    color: black;
}





.parent {
    width: 550x;
    height: 550px;
    position: relative;
    /* background-color: white; */
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.parent::before{
    position: absolute;
    content: '';
    background-image: linear-gradient(to right, #0fffdb, #0fffdb);
    inset: -10px 100px;
    animation: animateDiv 1.5s linear infinite;
    
    
}

.child {
    height: 98%;
    width: 98%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
}
.child img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

@keyframes animateDiv {
    0%{
        transform: rotate(0deg);
    }

    100%{
        transform: rotate(360deg);
    }
}



@media screen and (max-width: 1500px){
    .parent {
        width: 500px;
        height: 500px;

    }

    
    
}

@media screen and (max-width: 1250px){
    .parent {
        width: 400px;
        height: 400px;

    }
    .big-heading{
        font-size: 65px;
    }

    
    
}



@media screen and (max-width: 1080px){

    /* ROW1  */
    .row1 {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        min-height: 80dvh;
        max-height: 90dvh;
        height: 90dvh;
    }

    .row1-inside {
        width: 100%;
        max-width: var(--common-width);
        padding: 10px var(--mobile-padding);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row1-inside > div {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        height: 100%;
        flex-direction: column-reverse;
    }
    .row1-col1 {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: space-around;
        text-align: center;

    }
    /* .row1-col2{
        height: 40%;
    } */
    .row1-col1 div{
        padding: 7px 0;
        
    }
    .row1-col1 h2 {
        margin: 7px 0;
    }

    .row1-col2-inside {
        height: 100%;
    }
    /* .row1-col2 img{
        width: 100%;
        max-width: 220px;
        max-width: 25dvh;

    } */


    .parent {
        width: 210px;
        height: 210px;

    }
    .parent::before{

        inset: -10px 50px;
    
        
    }
    
    .child {
        height: 98%;
        width: 98%;
        background-color: black;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        position: absolute;
    }

    .row1-col2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    
    }

    .big-heading {
        font-size: 30px;
        margin: 0;
        font-weight: 800;
    }
    .row1-col1 h2{
        font-size: 22px;
    }

    .row1-col1 .underline-wrapper{
        align-self: center;
        margin: 10px 0;
    }

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

    /* ROW1 */

    /* ROW3  */
    .project-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .project-card {
        width: 100%;
        margin: 10px 0;
        transition: 0.3s opacity ease-in-out;
        position: relative;
    }
    .project-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .row3-inside {
        padding: 50px var(--mobile-padding);
    }

    /* ROW3 */



    /* ROW4 */
    .services-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .service-card {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        flex-direction: column;
        padding: 35px;
        border-radius: 7px;
        transition: 0.3s background-color ease-in-out;
        margin: 35px 0;
    }

    .row4-inside {
        padding: 20px var(--mobile-padding);
    }
    /* ROW4 */

    /* ROW5 */

    .row5-inside {
        padding: 70px var(--mobile-padding);
        width: var(--common-width);
    }

    /* ROW5 */

    /* ROW2  */
    .skills-container1 {
        padding: 10px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .skill-card {
        min-width: 45%;
        width: 50%;
        display: flex;
        flex-direction: column;
        margin: 30px 0 30px 0;
        justify-content: center;
        align-items: center;

    }
    .skill-card h1 {
        font-size: 30px;
        margin: 0;
    }
    .skill-card p{
        margin: 0;
    }

    /* ROW2  */


}



