
body{
    color: black;
    padding-top: 100px;
    /* border: 2px solid black; */
}
.header {
    position:fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    padding: 20px 10px;
    box-shadow: 3px 3px 5px 4px rgb(95, 95, 95);
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}
.header1 {
    position:fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    padding: 20px 10px;
    box-shadow: 3px 3px 5px 4px rgb(95, 95, 95);
    background-color: white;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}
/* hamburger-menu */
#hamburger-nav {
    display: none;
}
.hamburger-menu {
    position:relative;
    display: inline-block;
}
.hamburger-icon {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 height: 24px;
 width: 30px;
 cursor: pointer;
}
.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.1 ease-in-out;
}
.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.1 ease-in-out;
}
.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.1 ease-in-out;
}
.menu-links li {
    list-style: none;
}
.menu-links.open {
    max-height: 300px;
}
.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2){
   opacity: 0;
}

.hamburger-icon.open span:nth-child(3){
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
    transform: none;
}
.hamburger-icon span:first-child{
    opacity: 1;
}
.hamburger-icon span:first-child{
    transform: none;
}

.logo {
    position: relative;
    font-size: 29px;
    color: black;
    text-decoration: none;
    font-weight: 600;
    flex: 2;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;    
}
.header nav{
    /* border: 2px solid black; */
    flex: 1;
    padding-right: 100px;
    display: flex;
    justify-content: space-around;
}
.navbar a {
    font-size: 18px;
    color: black;
    text-decoration: none;
    text-decoration-color: white;
    font-weight: 700;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 0.45s;    
}

.navbar a:hover,
.navbar a.active {
    color: rgb(88, 88, 88);
    text-decoration: underline;
    text-underline-offset: 1rem;
}

   /* section */
 section{
    padding-top: 4vh;
    height: 90vh;
    /* width: 1600px; */
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container{
    display: flex;
    }
    


     /* HOME SECTION  */


#home{
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid blue; */
    gap: 2rem;
    /* height: 50vh; */
}
.section_pic-container{
    height: 400px;
    /* border: 2px solid yellowgreen; */
    width: 400px;
    margin: auto 0;
}
.section_text  {
    /* border: 2px solid black; */
    flex: 1;
    text-align: center;
}
.section_text p {
    font-weight: 300;
}
#socials-container {
    display: flex;
    justify-content: center;
    /* border: 2px solid yellow; */
    margin-top: 1rem;
    gap: 1rem;
}
  /* icon */
#click {
    cursor: pointer;
    font-size: 37px;
    color: white;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: black;
    text-align: center;
    align-content: center;
}
#click:hover {
    opacity: 0.9;
}
/* buttons */

.btn-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn{
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1,
.btn-color-2{
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
#click:hover,
.btn-color-2:hover{
    cursor: pointer;
}
.btn-color-1,
.btn-color-2:hover{
    background: rgb(0, 0, 0);
    color: white;
}

.btn-color-1:hover{
      background: rgb(53, 53, 53);
}
.btn-color-2{
    background: none;
}
.btn-color-2:hover{
    border: rgb(255, 255, 255) 0.1rem soild;
}
.image {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    box-shadow: 5px -15px 15px rgba(8, 8, 8, 0.123);
    transition: 3s;
  }
.image::after  {
    content: '';
    position: absolute;
    top: 100%;
    right: 100%;
    width: 100%;
    height: 100%;
    background: black;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 43;    
}

.image:hover {
    background: transparent;
    opacity: .7;
}
 
     /* about section */

.title{
    font-size: 3rem;
    text-align: center;
}
.title::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;    
}
.section_text_p1{
    text-align: center;
}
.section_text_p2{
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
#about {
    position: relative;
    /* border: 2px solid yellow; */
    gap: 4rem;
    height: 80%;
}
.about-container{
    gap: 2rem;
    /* border: 2px solid red; */
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.about-details-container{
    justify-content: center;
    /* border: 2px solid green; */
    flex: 1;
    padding: 5%;
    flex-direction: column;
}
.about-container,
.about-details-container{
    display: flex;
}
.about-pic {
    box-shadow: 5px 1px 15px rgba(8, 8, 8, 0.123);
    border-radius: 2rem;
    height: 100%;
    width: 100%;
}
#arrow {
    position: absolute;
    right: 5rem;
    bottom: 2.5rem;
    font-size: 40px;
}
.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}


/* experiences section */
#experience {
    position: relative;
    /* border: 2px solid red; */
}
.experience-sub-title{
    color: rgb(85, 85, 85);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    /* border: 2px solid blue; */
}

.experience-details-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* border: 2px solid yellow; */
}
 .article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    gap: 2.5rem;
    flex-direction: row;
    justify-content: space-around;
    /* border: 2px solid black; */
}
article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
    /* border: 2px solid green; */
}
article #icon {
    cursor: default;
    font-size: 25px;
}
/* Project section */

#projects {
    position: relative;
    /* border: 2px solid black; */
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    align-content: center;
}

.project-img {
    border-radius: 2rem;
    width: 90%;
    height: 90%;
}

.project-title {
    margin: 1rem;
    color: black;
}
.project-btn{
    color: black;
    border-color: rgb(163, 163, 163);
}

                      /* Contact section */
#contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* border: 2px solid green; */
}
.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
    /* border: 2px solid yellow; */
}
.contact-info-container {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
    /* border: 2px solid blue; */
}
.contact-info-container i  {
    font-size: 25px;
    cursor: default;
    text-align: center;
    align-content: center;
    height: 40px;
    width: 40px;
    border-radius: 25px;
    color: white;
    background-color: black;
    border: 0.1px solid ;
    margin-left: 0.7rem;
    overflow: hidden;
}
    /* footer section */
footer {
    height: 20vh;
    margin: 0 1rem;
    /* border: 1px solid black; */
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}
.nav-links-container{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    word-spacing: 3rem;
    /* border: 2px solid orangered; */
    margin-bottom: 6rem;
    flex: 1;
}
footer p {
    flex: 1;
    text-align: center;
}
/* KEYFRAMES ANIMATION */
@keyframes showRight {
    100% {
        width: 0;
    }
}
@media screen and (max-width: 1600px) {
    #home{
        margin-bottom: 6rem;
    }
    .about-container{
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 1200px) {
    #heade1 {
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }
    #experience, .experience-details-container {
        margin-top: 2rem;
    }
    #home, .section-container{
        display: block;
        /* border: 2px solid green; */
    }
    #arrow{
        display: none;
    }
    section,
    .section-container {
        height: fit-content;
    }
    section{
        margin: 0 5%;
    }
    .section_pic-container{
        margin: 0 auto 2rem;
    }
    .about-container{
        margin-top: 0;
    }
}


@media screen and (max-width: 600px) {
   #contact,
   footer {
    height: 40vh;
   }
 #home{
    margin-bottom: 0;
    /* border: 3px solid blue; */
 }
 /* article{
    font-size: 3rem;
 } */
 footer {
    height: fit-content;
    margin-bottom: 2rem;
    justify-content: center;
    
 }
 .about-container, 
 .contact-info-upper-container, 
 .contact-info-container,
 .btn-container {
    flex-wrap: wrap;
 }
 .contact-info-container {
    margin: 0;
 }
 .contact-info-container p,
 .navbar li a {
    font-size: 1rem;
 }
 .experience-sub-title{
    font-size: 1.25rem;
 }
 .contact-info-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    /* border: 2px solid blue; */
 }
 .nav-links-container{
    display: block;
    margin-top: 60px;
    
 }
 .navbar a {
    display: block;
    margin-bottom: 15px;
    /* border: 2px solid green; */
 }
 .section_text_p2 {
    font-size: 1.2rem;
 }
 .title{
    font-size: 2rem;
 }
 .text-container{
    text-align: justify;
 }
 .section_pic-container{
    width: 280px;
    height: 280px;
 }
 /* .nav-links-container {
    width: 150px;
    height: 180px;
    position: relative;
    gap: 0.5rem;
 } */

}