/* 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;
}

/* TRANSITIONS */

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

/* DESKTOP NAV */

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

nav {
    /* position: sticky;
    opacity: 100;
    top: 0; */
    justify-content: space-around;
    background-color: rgb(14, 158, 158);
    align-items: center;
    height: 12vh;
}

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

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

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

.logo {
    font-size: 2rem;
}

.logo:hover {
    cursor: default;
}

/* 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.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right:  0;
    background-color: whitesmoke;
    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.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover {
    color: goldenrod;
    text-decoration: underline;
    /* text-underline-offset: 1rem; */
    text-decoration-color: rgb(181, 181, 181);
}
  
.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: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}
  
.section-container {
    display: flex;
}
  
  /* HOME SECTION */
  
#home {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}
  
.section__pic-container {
    display: flex;
    height: 300px;
    width: 300px;
    margin: auto 0;
}
  
.section__text {
    align-self: center;
    text-align: center;
}
  
.section__text p {
    font-weight: 600;
}
  
.section__text__p1 {
    font-size: 1rem;
    text-align: center;
    color: grey;
}
  
.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: grey;
}
.section__text__p3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: grey;
    flex-wrap: wrap;
    
}
  
.title {
    font-size: 3rem;
    text-align: center;
}
  
#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

  /* ICONS */

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

.icon-Linkedin:hover{
    color: white;
    background: rgba(33, 111, 228, 0.894);
    border-radius: 2rem;
}

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

.icon-Github:hover{
    color: white;
    background: rgba(30, 194, 85, 0.894);
    border-radius: 2rem;
}
.icon2 {
cursor: default;
height: 1rem;
}
.icon3 {
    cursor: default;
    height: 0.5rem;
    margin-bottom: 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;
  background: rgb(0, 0, 0);
  color: white;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
  color: white;
  background: goldenrod;
}

.btn-container {
  gap: 1rem;
}

/* 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: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section-container {
    gap: 1rem;
    height: 80%;
}
  
.section__pic-container {
    height: 500px;
    width: 500px;
    margin: auto 0;
}

.text-container {
    color: grey;
    text-align: left;
}


  /* EXPERIENCE SECTION */

#experience {
    position: relative;
}
  
.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}
  
.experience-details-container .contact-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
  
.article-container {
    display:inline-flex;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: space-around;
    height: 50%;
}
  
article {
    display: flex;
    width: 8rem;
    justify-content: flex-start;
    gap: 0.5rem;
}
  
article .icon {
    cursor: default;
}

  /* SKILL SECTION */

.skill {
    text-align: left;
    margin-bottom: 2rem;
    color: grey;
    /* */
    width: 500px;
    padding: 20px;
    /* box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); */
}

.skill-info {
    display: flex;
    text-align: left;
    font-size: 1rem;
    color: black;
    gap: 3.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

    /* BAR SECTION */
.bar {
    background: #353b48;
    display: block;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.bar:hover {
    box-shadow: 0 14px 28px rgba(176, 17, 17, 0.25), 0 10px 10px rgba(208, 10, 10, 0.22);
}

.bar span {
    height: 20px;
    float: left;
    background: linear-gradient(135deg, rgba(236, 0, 140, 1)0%, rgba(252, 103, 103, 1)100%);
}

.backend {
    width: 90%;
    animation: Backend 2s;
}

.frontend {
    width: 70%;
    animation: Frontend 2s;
}

.fullstack {
    width: 80%;
    animation: Fullstack 2s;
}

.devops {
    width: 60%;
    animation: Devops 2s;
}

.cloud {
    width: 70%;
    animation: Cloud 2s;
}

@keyframes Backend {
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}

@keyframes Frontend {
    0%{
        width: 0%;
    }
    100%{
        width: 70%;
    }
}

@keyframes Fullstack {
    0%{
        width: 0%;
    }
    100%{
        width: 80%;
    }
}

@keyframes Devops {
    0%{
        width: 0%;
    }
    100%{
        width: 60%;
    }
}

@keyframes Cloud {
    0%{
        width: 0%;
    }
    100%{
        width: 70%;
    }
}

/* PROJECTS SECTION */

#projects {
    position: relative;
  }
  
  .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: 1.5rem;
    color: black;
  }
  
  .project-btn {
    color: white;
    border-color: rgb(163, 163, 163);
    margin-bottom: 1rem;
  }

  /* CONTACT SECTION */
  
.contact .contact-content .column {
    width: calc(50%);
}

.contact .contact-content .left{
    text-align: justify;
}

.row {
    font-size: 20px;
    display: flex;
    height: 65px;
    align-items: center;
    gap: 1rem;
}

.icon4 {
    cursor: default;
    height: 2rem;
}

.contact-content {
    display: flex;
    justify-content: space-around; 
    gap: 30px; 
    flex-wrap: wrap;
}

.column {
    flex: 1; 
    box-sizing: border-box;
}

.contact .right form .fields {
    display: flex;
    flex-direction: column;
}

.contact .right form .message {
    height: 80px;
}

.contact .right form .fields,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 2rem;
}

.contact .right form .field input,
.contact .right form .message textarea {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding:  0 15px;
    outline: none;
    font-size: 15px;
}

.contact .right form .message textarea {
    resize: none;
    padding-top: 10px;
}

.btn-container1 {
    width: 50%;
    height: 50%;
    margin-top: 50px;
    margin-bottom: 1rem;

}
button:disabled {
    pointer-events: none; 
    cursor: not-allowed;
    background-color: #ccc;
    color: #666;
}

button:disabled:hover {
    background-color: #ccc;
    color: #666;
}

.contact .right {
    margin-left: 40px;
    margin-top: 20px;
}

/* FOOTER SECTION */

footer {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: rgb(14, 158, 158);
}

footer p {
    text-align: center;
    font-size: 15px;
}
