@keyframes colorchange {
    0%   {color:rgb(248, 0, 0); }
    25%  {color:yellow; }
    50%  {color:rgb(58, 58, 248); }
    75%  {color:green; }
    100% {color:rgb(255, 0, 0); }
  }


body{
   background-color: #121212; 
   margin: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   color: white;

}
*{
    font-family: 'Raleway',sans-serif;
    box-sizing: border-box;
    color:#fff; 
    text-decoration: none;
}

.navbar{
    color: white;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}
.navbar a{
    text-decoration: none;
    color: inherit;
}
.logo{
    font-size: 1.75rem;
    font-weight: 700;
}

.logo2{
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}
.logo2 img{
    height: 2.5rem;
    width: auto;
}

/* second part of the site */
.content{
    padding-top: 4rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 70%;
}
.title{
    font-size: 6rem;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.playful{
    animation-name: colorchange;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
.content img{
    height: 270px;
    width: 230px;
}

.name{
    width: 70%;
    font-size: 1.4rem;
    font-weight: 400;
    margin-block-start: 1em;
    margin-block-end: 1em;
    text-align: left;
}

/* projects section  */
.project-button{
    background-color: #121212;
    border: none;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin: 2rem auto;
    outline: none;
}

.project-button svg {
    display: block;
    margin: .4rem auto;
    width: 1.1rem;
}

.project{
    padding: 1rem 6rem 0;
    height: 75vh;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.project img{
    height: 60%;
    width: 50%;
    border-radius: 20px;
    box-shadow: 0 2.8px 2.2px hsla(0, 0%, 83%, .02), 0 6.7px 5.3px hsla(0, 0%, 83%, .028), 0 12.5px 10px hsla(0, 0%, 83%, .035), 0 22.3px 17.9px hsla(0, 0%, 83%, .042), 0 41.8px 33.4px hsla(0, 0%, 83%, .05), 0 100px 80px hsla(0, 0%, 83%, .07);
}

.projectDescription{
height: auto;
width: 50%;
padding: 2rem 2rem 2rem ;
font-weight: 300;
color: #a9a9a9;
}

.project button{
    background-color: white;
    color: black;
    height: 3rem;
    width: 6rem;
    border-radius: 20px;
    font-weight: 12px;
}

#visit{
    color: white;
    width: 100%;
    font-size: larger;
    font-weight: bold;
    height: 3rem;
    border-radius: 0%;
    background-color: black;
    border: solid white 5px;
    margin-top: 2rem;
}

#visit:hover{
    background-color: rgb(108, 108, 126);
    color: white;
}

/* This is the code for the Connect with me section */
.connect{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 4rem;
    font-weight: bolder;

}

.connect ul {
    align-items: center;
    display: flex;
    font-size: 15px;
    gap: 3rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.cwm{
    color: white;
}
.logos img{
    height: 2.5rem;
    width: auto;
}



/* ---media queries goes here --- */

@media only screen and (max-width:885px) {
    .navbar{
        color: white;
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        justify-content: space-between;
        margin: .9rem;
        
    }
    .navbar a{
        text-decoration: none;
        color: inherit;
    }
    .logo{
        font-size: 1.75rem;
        font-weight: 700;
    }
    
    .logo2{
        font-size: 15px;
        font-weight: 700;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
    .logo2 img{
        height: 2rem;
        width: auto;
    }
    

    /* second part of the site */
.content{
    padding-top: 12rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 90%;
}
.title{
    font-size: 2rem;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.playful{
    animation-name: colorchange;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
.content img{
    height: 120px;
    width: 100px;
}

.name{
    width: 90%;
    font-size: .8rem;
    font-weight: 400;
    margin-block-start: 1em;
    margin-block-end: 1em;
    text-align: left;
}
  
/* projects Button below the landing page of the site  */
.project-button{
    font-size: .9rem;
    margin: 5rem auto;
}

.project-button svg {
    width: .7rem;
}


/* projects section  */
.project{
height: auto;
width: 100%;
padding:  0 2% 5rem 2%;
display: flex;
flex-direction: column;
justify-content: left;
}

.project img{
    height: auto;
    width: 90%;
}

.projectDescription{
width: 90%;
text-align: left;
font-size: 15px;
padding: 0 2% 0 2%;
}


.project button{
font-size: small;
height: fit-content;
width: 5rem;
}

#visit{
    font-size: medium;
    font-weight: bold;
    height: auto;
    background-color: black;
    border: solid white 2px;
    margin-top: 2%;
}



/* Connect with me section goes here */
.connect{
    width: 100%;
    font-size: 2rem;
    font-weight: bolder;
}

.connect ul {
    gap: 2rem;
}

.logos img{
    height: 2rem;
    width: auto;
}
}