.Desktop { display: block; }
.Mobile { display: none; }
@media (min-width: 881px) {
.Desktop {display: block;}
.Mobile { display: none; }


* 
{ 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    color: white;
}


/* Header section */
header{
    background-color: #4E4E4E;
    color: #FFFAFA;
    padding: 20px 50px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100 ;


}
header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;

}
header h1{
    font-size: 1.5rem;
}
.links a{
    text-decoration: none;
    color: #FFFAFA;
    transition: color 0.5s;
}
header .links{
    justify-content: space-between;
    display: flex;
    gap: 6vw;
}
.links a:hover{
    color: #ff9800;
}


section{
    padding: 60px 90px;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}



/* Hero Section */
#hero{
    height: 90vh;
    background-color: #1B1B1B;
    display: flex;
    max-width: 100vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #ffffff;
    flex-direction: row;
    text-align: left;  
    gap: 250px;
}
.hero_info{
    display: flex;
    flex-direction: column;
}
#hero h2
{ 
    font-size: 2.5rem; 
    margin-bottom: 0px; 
}
#hero h3
{ 
    font-size: 2.4rem; 
    margin-bottom: 15px; 
}
#hero p
{ 
    font-size: 1.2rem; 
    margin-bottom: 50px; 
}
.btns{
    flex-direction: row;
    display: flex;
    width: 500px;
    height: 50px;

}
.btns a{
    text-decoration: none;
    color: inherit;

}
.btns .work, 
.btns .hire
{
    width: 150px;
    height: 50px;
    background: transparent;
    border: 3px solid black;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    text-decoration: none;
    margin-right: 40px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px ;
    transition: background 0.5s, color 0.01s, transform 0.5s, border 0.01s;
}
.btns .work:hover, 
.btns .hire:hover
{
    background: #CF1A1A;
    color: black;
    transform: scale(1.1);
    border: none;
}
.photohero{
    width: 35%;
    aspect-ratio: 1/1;
    background-color: #292929;
    border-radius: 50%;
    margin: 100px 0 0 0;
    background-image: url(imgs/Me\ _herosection.png);
    background-size: cover;
    animation: float 5s ease-in-out infinite alternate;
}

@keyframes float {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

/* //About section */
#about{
    height:73.9568vh;
    background-color: #131313;
    width: 100vw;
    max-width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 100px;

}
.about-img{
    width: 250px ;
    height: 350px ;
    background: url(Me_about.jpg);
    background-size: cover;
    transition: filter 0.5s ease, transform 0.55s ease;
    border-radius: 10px;
    filter: 
    brightness(70%)
    contrast(200%)
    saturate(0%)
    sepia(50%)
    invert(1%)
    hue-rotate(20deg);
    z-index : 1;
}
.about-img:hover{
    filter: none;
    transform: translateY(-20px);
}

.about-right{
    display: flex;
    flex-direction: column;

    max-width: 600px;


}
.about-right #about1{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 25px;
    font-weight: 900;
}
#about1 #abouth2{
    color : #3D5058 ;
    font-weight: 900;

}

.about-right .name{
    font-size: 30px;
    margin-bottom: 5px;
}
.about-right .role{
    font-size: 25px;
    margin-bottom: 30px;
}

.about-right p{
    margin-bottom: 15px;
}

.about-right .contact{
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0;
    margin-top: 1px;
}

/* SKills section */
#skills
{    
    max-width: 100%;
    height: 74.126074498567vh;
    background: #1B1B1B;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skills-subhead h2
{
    color: white;
    margin-bottom: 50px;
    font-size: 3rem;
}
.skills-list{
    width: 80%;
    height: 80%;
    background: #201F1F;
    border-radius: 15px;
    display: flex;
    padding: 15px;
    justify-content: space-evenly;
    align-items: center;
    gap: 100px;
}

#skills img{
    width: 75px;
    transition: transform 0.5s;
}
#skills img:hover{
    transform: scale(1.2);
}

/* Projects/work Section */

#work{
    background-color: #131313;
    max-width: 100%;
    height: 107.30659025788vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.work-subhead{
    margin-bottom: 50px;
}
.work-subhead h2{
    font-size: 50px;
    color: rgb(255, 255, 255);

}
.projects-list{
    width: 90%;
    height: 50%;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}
.projects{
    width: 300px;
    height: 300px;
    background-color: black;
    border: 1px solid rgb(150, 148, 148);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 100;
}


/* //Education Section */
#education
{
    background-color: #1B1B1B;
    max-width: 100%;
    height: 87.30659025788vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.education-subhead{
    margin-bottom: 50px;
}
.education-subhead h2{
    font-size: 50px;
    color: rgb(255, 255, 255);

}

.school{
    width: 80%;
    height: 50%;
    background: #2B2828;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 100px;
}
.school .schoolimg{
    height: 100%;
    width: 25%;
    background-color: transparent;
}
.one{
    background-image: url(imgs/sreedattha.png);
    background-size: cover;
}
.two{
    background-image: url(imgs/Sri\ chaitanya.png);
    background-size: cover;
}

.school-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}
.school-info h2{
    font-size: 30px ;
    font-weight: 100;
}
.school-info h3{
    font-size: 20px;
    font-weight: 100;
    margin-top: 0px;
}.school-info p{
    margin-top: 50px;
    font-size: 35px;
    font-weight: 900;
    color: #785D5E;
    -webkit-text-stroke: 0.2px rgb(51, 51, 51);    
}

/* Footer Section */

footer{
    height: 50vh;
    max-width: 100%;
    background-color: #131313;
    display: flex;
    align-items: center;
}
.thankyou{
    margin-left: 230px ;
    gap: 30px;
    max-width: 500px;
}
.thankyou p{
    font-size: 30px;
    margin-top: 50px;
}

.footer_links{
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inner_footer_links{
    width: 50%;
    height: 20%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    margin-bottom: 0;

}

.linkedin{
    width: 50px;
    height: 50px;
    background: url(imgs/LinkedIn\ \(1\).png);
    background-size: contain;

}.github{
    width:50px;
    height: 50px;
    background: url(imgs/Github.png);
    background-size: contain;
}.facebook{
    width:50px;
    height: 50px;
    background: url(imgs/Facebook.png);
    background-size: contain;
}
.f_links_name{
    margin-top: 10px;
    font-size: 35px;
    color: #c5c1c1;
}

.linkedin:hover, 
.github:hover, 
.facebook:hover{
    transform: scale(1.2);
    transition: transform 0.3s;
}

}



@media (max-width: 880px) {
  .Desktop { display: none; }
  .Mobile { display: block; }

  
  
* 
{ 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    color: white;
}


/* Header section */
header{
    background-color: #4E4E4E;
    color: #FFFAFA;
    padding: 20px 50px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100 ;


}


section{
    padding: 60px 90px;
    max-width: 1000px;
    margin: auto;
}



/* Hero Section */
#hero{
    height: 80vh;
    background-color: #1B1B1B;
    display: flex;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    flex-direction: column;
    text-align: center;  
    gap: 10px;
}
.hero_info{
    display: flex;
    flex-direction: column;
}
#hero h2
{ 
    font-size: 2.5rem; 
    margin-bottom: 0px; 
}
#hero h3
{ 
    font-size: 2.4rem; 
    margin-bottom: 15px; 
}
#hero p
{ 
    font-size: 1.2rem; 
    margin-bottom: 50px; 
}

.photohero{
    width: 65%;
    aspect-ratio: 1/1;
    background-color: #292929;
    border-radius: 50%;
    margin: 100px 0 0 0;
    background-image: url(imgs/Me\ _herosection.png);
    background-size: cover;
    animation: float 5s ease-in-out infinite alternate;
}

@keyframes float {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

/* //About section */
#about{
    height : 999.9568px;
    background-color: #131313;
    width: 100vw;
    max-width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 50px;
}
#about img{
    width: 250px;
    border-radius: 15px;
}


.about-bottom{
    display: flex;
    flex-direction: column;
    max-width: 600px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.about-bottom #about1{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 25px;
    font-weight: 900;
}
#about1 #abouth2{
    color : #3D5058 ;
    font-weight: 900;
}

.about-bottom .name{
    font-size: 30px;
    margin-bottom: 5px;
}
.about-bottom .role{
    font-size: 25px;
    margin-bottom: 30px;
}

.about-bottom p{
    margin-bottom: 15px;
}

.about-bottom .contact{
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0;
    margin-top: 1px;
}

/* SKills section */
#skills
{    
    max-width: 100%;
    height: 74.126074498567vh;
    background: #1B1B1B;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skills-subhead h2
{
    color: white;
    margin-bottom: 50px;
    font-size: 2rem;
}
.skills-list{
    width: 120%;
    height: 40%;
    background: #201F1F;
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 15px;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
}
#skills img{
    padding: 10px;
    width : 100%;
}
}
