* {
    margin: 0px;
    padding: 0px;
}

html{
    scroll-behavior: smooth;
}
body{
    color: white;
    font-family: Montserrat, sans-serif;
}


body{
    background-color:#191f3e;
    font-family: Montserrat, sans-serif;
}

.nav-list{
    background-color:#191f3e;
    margin:0;
    padding: 1rem 0;
    display:flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-item{
    list-style:none;
    margin-right: 2rem;
}

.nav-item a{
    text-decoration: none;
    color:white;
}

.nav-item a:hover{
    color:gray;
    transition: all 200ms ease-in;
}

.nav-item:first-child{
    margin-right: auto;
    margin-left: 3rem;
    font-size: 2rem;
}

.btn{
    font-family: Montserrat, sans-serif;
    color:white;
    font-size: 1rem;
    background: none;
    border:none;
    outline:none;
    border-radius: 0.2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 200ms ease-in;
}

.btn:hover{
    color: gray;
}

/*___________________Introduction__________________*/

.intro{
    margin-top: 5rem;
    width:100%;
    height: 36rem;
}

.introduction{
   display:flex;
   justify-content: space-between;
   width: 100%;
   padding:2rem 0;
}

.introduction-left{
    width: 60%;
    margin: 0 5rem;
    display: flex;
}

.introduction-content h1{
    font-size: 3rem;
    margin-bottom: 2rem;
}

.introduction-content p{
    font-size: 20px;
    margin-bottom: 5rem;
}

.introduction-content button{
    font-family: Montserrat, sans-serif;
    background-color: darkgray;
    border: none;
    outline:none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 200ms ease-in;
}

.introduction-content button:hover{
    color:gray;
}


.introduction-right{
    width: 40%;
    display:flex;
    justify-content: flex-end;
    margin: 0 2rem;
    
}

.headshot{
    width: 100%;
}

.headshot img{
    width: 20rem;
    height: 25rem;
    border-radius: 300px;
    
}
/*___________________About_Me__________________*/

#about h2{
    text-align:center;
    margin: 0 auto 5rem auto;

}

#about h2::after{
    content:"";
    text-align:center;
    display:block;
    width:60px;
    height:3px;
    background-color:white;
    margin:0.4rem auto 0 auto;
    border-radius:2px;

}

.about-me{
    margin-top: 3rem;
    width:100%;
    display:flex;
    justify-content: space-around;
    /*border: 1px solid red; */
  
}

.boxesContainer {
    width: 20rem;
    max-width: 400px;
    height: 25rem;
    max-height:800px;
    aspect-ratio: 1 / 1;
    position:relative;
    margin-left: 120px;
    margin-top: 30px;
}

.box {
    position:absolute;
    width:100%;
    height:100%;
    border-radius: 0.3em;
}

.profile-picture {
  top: -5%;
  left: -5%;
  width: 100%;
  height: 100%;
  z-index: 2;

}

.profile-frame {
    box-shadow: 0px 0px 8px gray;
    border: 1px solid black;
}

.profile-picture img{
    width:100%;
    height:100%;
    border-radius: 0.3em;
}

.description span{
    font-size: 22px;
}
.description{
    width:45%;
    margin-left: 8rem;
    
}
.description p{
    margin-top:2rem;
    line-height: 32px;
    font-size: 20px;
    text-align:left;
}

/*Skills section*/


#skills{
    margin-top: 3rem;
}

#skills h2{
    text-align: center;
    margin: 7rem auto 5rem auto;
}

#skills h2::after{
    content:"";
    text-align:center;
    display:block;
    width:60px;
    height:3px;
    background-color:white;
    margin:0.4rem auto 0 auto;
    border-radius:2px;
}


.skills-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    
}

/* Left column */
.languages {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-content:center;
    width: 30rem;
    gap: 30px;
    box-shadow: 0px 0px 8px gray;
    border: 1px solid black;
    padding: 20px;
    border-radius: 8px;
}

.languages-section h3{
    margin-bottom:20px;
}
/* Right column container */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.frameworks, .tools {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    width:27rem;
    gap: 30px;
    box-shadow: 0px 0px 8px gray;
    border: 1px solid black;
    padding: 20px;
    border-radius: 8px;
}

.skill-pair{
    display:flex;
    flex-direction:column;
    gap: 10px;
    align-items:center;
    text-align:center;
    height:7rem;
}

.skill-pair img{
    width:80px;
    height:80px;
}
/*Projects section*/

#projects{
    margin: 0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
}


#projects h2{
    text-align:center;
    margin: 7rem auto 5rem auto;
}

#projects h2::after{
    content:"";
    text-align:center;
    display:block;
    width:60px;
    height:3px;
    background-color:white;
    margin:0.4rem auto 0 auto;
    border-radius:2px;

}

.project-left img{
    width:30rem;
    border-radius: 12px;
}

img{
    width:100%;
    height: 100%;
    border-radius: 0.3rem;
}

.project{
    display:flex;
    gap: 50px;
    width:90%;
    height:20rem;
    margin: 1rem;
}

.project-left{
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 16px;
}

.project-right h3 {
    margin-bottom: 16px;
}

.project-right p{
    line-height: 1.6;
    margin-bottom: 24px;
}

.tech-stack{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-stack span{
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.9rem;
    color: #fff;
}

/*Contact me section */
.contact-me{
    margin-bottom: 100px;
}
.contact-me h2{
    text-align:center;
    margin: 7rem auto 5rem auto;
}

.contact-me h2::after{
    content:"";
    text-align:center;
    display:block;
    width:60px;
    height:3px;
    background-color:white;
    margin:0.4rem auto 0 auto;
    border-radius:2px;
}

.contact-me input{
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 20px;
    font-size: 18px;
    padding: 16px 16px;
    border-radius: 10px;
    border-color:white;
}

.contact-me textarea{
    background-color:  rgba(255, 255, 255, 0.12);
    color: white;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 25px;
    font-size: 18px;
    padding: 16px 16px;
    border-radius: 10px;
}

.contact-me input:focus-within{
    outline: none;
    border-color:#191f3e;
    border-width: 3px;

}

.contact-me textarea:focus-within{
    outline: none;
    border-color:#191f3e;
    border-width: 3px;
}

.contact-me button{
    background-color: white;
    color: black;
    border-radius: 20px;
    border-color: black;
    font-size: 18px;
    padding: 10px 18px;
    text-align:center;
    display:flex;
    margin: auto;
}

.contact-me button:hover{
    opacity: 80%;
    cursor: pointer;
}

/* Footer section */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    color: black;
    gap: 10px;
    padding: 5px;
    background-color: #E9E9E9;
}

footer .logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
   
}

footer .logos img {
    width: 25px;
    height: 25px;
}