/* GENERAL */

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* TRANSITION */

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


/* media  */
@media screen and (max-width: 480px) {
  #desktop-nav{
    width: max-content;
    text-align: center;
  }
  #desktop-nav .logo{
    font-size: 45px;
    padding: 0px 150px;
    padding-bottom: 10px;
  }
  #desktop-nav a{
    font-size: 36px;
    padding: 0px 15px;
    margin: 0px 10px;
  }
  #profile{
    /* margin: auto; */
    width: max-content;
    /* align-items: center; */
    margin: 0px 100px;

  }
  #profile .section__pic-container {
    display: flex;
    height: 500px;
    width: 400px;
    margin: auto 0;
    margin-left: 80px;
  }
  #profile .section__text{
        margin-left: 60px;

  }
    #profile p{
        font-size: 38px;
  }
      #profile button{
        width: 250px;
        height: auto;
        font-size: 25px;
        padding: 15px 20px;
  }
  #profile #socials-container img{
    height: 60px;
    /* margin-top: 2; */
  }

  #profile .title{
    font-size: 40px;
  }
  #about .section__text__p1{
    padding-left: 100px;
    font-size: 30px;

  }
  #about .title{
    margin-bottom: 50px;
    padding-left: 100px;
    font-size: 50px;
    /* float: left; */
  }
  #about {
    width: max-content;
    /* margin: 0px 200px; */
    height: auto;
    margin-bottom: 150px;
    /* padding: 20px; */

    /* float: left; */
  }
  #about-containers{
    margin: 30px 0px;
    display: inline;
    /* gap: 20rem !important; */
    /* justify-content: space-evenly; */
    /* margin: 20px; */
  }
  #about .details-container {
    width: 65%;
  }
  .section-container{
    gap: 18rem !important;
  }
  #about-containers p{
    /* font-size: 1.5rem; */
  }
  .details-container{
    width: 70%;
    margin-bottom: 30px;
    /* margin-left: 150px; */
    font-size: 30px;

    /* margin: 20px; */
  }
   .about-details-container{
    display: inline !important;
   }
   #about .section__pic-container{
    margin: 0px;
    /* margin-right: 100px; */
    height: 500px;
    width: 300px;
   }
   #about{
    /* margin: 0px 100px; */
   }
   .section-container{
    gap: 0;
    /* justify-content: space-evenly !important; */

   }
   .about-details-container{
    /* padding-left: 100px !important; */
   }
   #about .text-container{
    margin: 0px;
    /* padding: 0px 20px; */
    /* padding-left: 100px; */
    width: 60%;
    font-size: 28px;
   }
   #about img{
    margin: 0;
    right: 5rem;
    padding: 0;
   }

   #experience{
    width: fit-content;
    margin: 0 9rem;
    height: auto;
    margin-bottom: 150px;
    margin-top: 0rem !important;
   }
  #experience .about-containers{
    display: inline;
    text-align: center;
    justify-content: center;
  }

   #experience .details-container{
    width: 1400px;
    font-size: xx-large !important;

   }
   #experience  p{
    font-size: xx-large !important;
   }
   #experience article {
    width: 21rem;
    justify-content:left;
    gap: 1rem;
   }

   #projects {
    width: fit-content;
    margin: 0 9rem;
    height: auto;
    /* margin-bottom: 150px; */
   }
   #projects h2{
    font-size: xx-large !important;
   }
   #projects p{
    font-size: x-large !important;
   }
   #projects button{
    font-size: x-large;
    width: 12rem;
   }

   #projects .details-container{
    width: 400px;
    margin: 0px;
   }
   #contact{
    width: fit-content;
    /* margin: 0 9rem; */
    height: 500px;
    /* margin-bottom: 150px; */
   }
   #contact .contact-info-upper-container{
    margin: 0px 300px;
    margin-top: 30px;
    /* margin-bottom: 350px; */
    font-size: 24px;
    padding: 30px;
   }
   #footer{
    margin: 0px 450px;
    margin-bottom: 500px;
    /* height: 500px !important; */
   }


}

/* media styles end */



/* DESKTOP NAV */

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

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  /* margin-left: 100px; edited  */
}

.nav-links {
  gap: 3rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: rgb(85, 85, 85);
  text-decoration: none;
  text-decoration-color: white;
  font-weight: 500;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  margin-right: 2rem; /* edited */
}

.logo:hover {
  cursor: default;
}

/* SECTIONS */

section {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
  }
  
  .section-container {
    display: flex;
  }
  
  /* PROFILE SECTION */
  
  #profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
    padding-bottom: 100px; /* edited */
  }
  
  .section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
    margin-left: 50px;
  }

  .section__pic-container img {
    border-radius: 15%;
    /* margin-left: 100px; */
     /* edited */
    /* width: auto; */
    /* margin: 20px; */
  }
  
  .section__text {
    align-self: center;
    text-align: center;
  }
  
  .section__text p {
    font-weight: 600;
  }
  
  .section__text__p1 {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding: 20px 0px; /* edited */
  }
  
  .title {
    font-size: 3rem;
    text-align: center;
  }
  
  #socials-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 2rem;
  }
  
  /* ICONS */
  
  .icon, .iconArrow {
    cursor: pointer;
    height: 2rem;
  }
  
  /* 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,
  .btn-color-2:hover {
    cursor: pointer;
  }
  
  .btn-color-1,
  .btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
  }
  
  .btn-color-1:hover {
    background: rgb(0, 0, 0);
  }
  
  .btn-color-2 {
    background: none;
  }
  
  .btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
  }
  
  .btn-container {
    gap: 1rem;
  }

  /* ABOUT SECTION */

#about {
    position: relative;
  }
  
  .about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 15rem;
    font-size: large;
  }
  
  .about-details-container {
    justify-content: center;
    flex-direction: column;
  }
  
  .about-containers,
  .about-details-container {
    display: flex;
  }
  
  .about-pic {
    border-radius: 2rem;
  }
  
  .arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
  }
  
  .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;
  }
  .details-container p {
    /* font-size: 1rem; */
    font-weight: 500;
  }
  
  .section-container {
    gap: 4rem;
    height: 70%;
  }
  
  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }
  .text-container{
    margin-left: 1rem;
    font-size: medium;
  }
  
  /* EXPERIENCE SECTION */
  
  #experience {
    position: relative;
    margin-top: 15rem;
    margin-bottom: 2rem;
  }

  #experience .about-containers{
    margin-top: 2rem !important;
  }
  
  .experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.5rem;
    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;
  }
  
  /* PROJECTS SECTION */
  
  #projects {
    position: relative;
  }

    #projects .about-containers{
    margin-top: 2rem !important;
  }
  
  .color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
  }
  
  .project-img {
    border-radius: 2rem;
    width: 90%;
    height: 90%;
  }
  
  .project-title {
    margin: 1rem;
    color: black;
    /* font-size: 1.5rem !important; */
  }
  
  .project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
  }
  
  /* CONTACT */
  
  #contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
  }
  
  .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: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
  }
  
  .contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
  }
  
  .contact-info-container p {
    font-size: larger;
  }
  
  .contact-icon {
    cursor: default;
  }
  
  .email-icon {
    height: 2.5rem;
  }
  
  /* FOOTER SECTION */
  
  footer {
    height: 26vh;
    margin: 0 1rem;
  }
  
  footer p {
    text-align: center;
  }
