/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap');

* 
{
    margin: 0;
    padding: 0;
}

body{
     font-family: "Poppins", sans-serif;
     background-color: #faf1e7;
}

html{
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn{
    transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
    display: flex;
}

nav{
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 5rem;
    list-style: none;
    font-size: 1.1rem;
}

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover{
    color: rgb(114, 114, 114);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(173, 22, 22);
}

.logo{
    font-size: 1.6rem;
    font-family: "Poetsen One", sans-serif;
    color: #A0153E;
}

.logo:hover{
   cursor: default; 
}


/* HAMBURGER MENU */

#hamburger-nav{
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
    background-color: #faf1e7;
}

.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: #A0153E;
    transition: all 0.3 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.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.4rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.3 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:last-child {
    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;
}

/* SECTIONS */

section {
    padding-top: 4vh;
    height: 64vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
} 

/* PROFILE SECTIONS */

#profile{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section__pic-container{
    display: flex;
    height: 460px;
    width: 550px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
    margin-left: -2.8rem;
}

.title {
    font-size: 3rem;
    text-align: center;
    font-family: 'Rancho', cursive;
    letter-spacing: .20rem;
	color:  #A0153E;
}

#socials-container{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

/* ICONS */

.icon {
    cursor: pointer;
    height: 2rem;
}

/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn{
    font-weight: 600;
    transition: all 300ms ease;
    padding: .9rem;
    width: 9.5rem;
    border-radius: 2.3rem;
    background-color: #FEFAF6;
}

.btn-color-2{
    border: #A0153E 0.1rem solid;
    align-self: center;
    margin-top: 3rem;
}

.btn-color-2:hover{
    background: #A0153E;
    color: white;
    border: #fff 0.1rem solid;
}



/* About Section */

#about{
    position: relative;
}

.about-containers{
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container{
    justify-content: center;
    flex-direction: column;
}

.about-containers,
.about-details-container{
    display: flex;
}

.about-pic {
    border-radius: 2rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: #faf1e7;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section-container {
    gap: 4rem;
    height: 70%;
}

.section__text__p1{
    font-weight: 500;
    font-size: 2rem;
}

#about h2{
    text-align: center;
}
#about-heading{
    margin-bottom: -2rem;
}


/*Experience Section */
.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.7rem;
    margin-bottom: 2rem;
}

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap ;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

article{
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

article .icon{
    cursor: default;
}

#experience h2{
    text-align: center;
}

/* Project Section */
#projects{
  position: relative;
}

#projects h2{
    text-align: center;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgba(250, 218, 218, 0.37);
    padding: 2rem;
    height: 21.5rem;
   margin: 6rem;
   margin-top: 1rem;
}

.project-img{
    border-radius: 2rem;
    width: 80%;
    height: 60%;
}

.project-title{
    margin: 1rem;
    color: black;
    font-size: 1.1rem;
    font-weight: 600;
}

 .project-text{
    margin-bottom: -1rem;

}

.project-btn {
    margin-top: 9px;
}

.btn-container-2{
    margin-top: -6rem;
}




/*=================== portfolio section============*/
#design {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 2rem;
    margin-top: 2rem;
}
.portfolio h2{
    text-align: center;
    color: black;
    font-size: 2rem;
    font-weight: 500;
}
.portfolio-img{
    overflow: hidden;
    border-radius: 0.5rem;
    flex-basis: 30%;
      margin-bottom: 30px;
      position: relative;
      overflow: hidden; 
}
.portfolio-img img{
    width: 100%;
    display: block;
    border-radius: 2rem;
}
  
  .layer{
      background: transparent;
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      transition: 0.5s;
  }
  .layer:hover{
      background: #a0153f83;
  }
  .layer a{
      width: 100%;
      font-weight: 500;
      color: #fff;
      font-size: 26px;
      bottom: 0;
      left: 88%;
      transform: translateX(-50%);
      position: absolute;
      opacity: 0;
      transition: 0.5s;
  }
  .layer:hover a{
      bottom: 49%;
      opacity: 1;
  }

   .btn-1{
    margin-top: .5rem;
  }
  


/* Contact ****/

#contact{
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container{
    display: flex;
    justify-content: center;
    border-radius: 3rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
    height: 3rem;
    gap: 1.6rem;
}

.contact-info-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p{
    font-size: 1.1rem;
}

.contact-icon{
    cursor: default;
    height: 1.8rem;
}
#contact h2{
text-align: center;
}


/*=================== contact form section============*/

  .contact-form{
    display: grid;
    place-items: center;
    margin-top: -.5rem;
  }
  
  .contact-form form{
    display: flex;
    flex-direction: column;
    width: 600px;
    margin-left: -3rem;
  }
  form input,
  form textarea{
    padding: 20px;
    border-radius: 1rem;
    width: 100%;
    background-color: #faf1e7;
    margin-bottom: 1rem;
    color: rgb(32, 32, 32);
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    font-size: .9rem;
  }
  .contact-button{
    font-weight: 600;
    transition: all 300ms ease;
    padding: .9rem;
    width: 9.5rem;
    border-radius: 2.3rem;
    background-color: #FEFAF6;
    align-items: center;
    border: #A0153E 0.1rem solid;
    color: black;
    margin-left: 14.5rem;
}
  
  .contact-button:hover{
    background: #A0153E;
    color: white;
    border: #fff 0.1rem solid;
  }

  /* footer */
  footer{
    height: 12vh;
    margin: 0 1rem;
  }

  footer p{
    text-align: center;
    color: black;
    margin-top: 4rem;
  }











  