
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background-color: rgb(247, 240, 232);
    margin: 0;
    font-family: Outfit, sans-serif;
}


#navbar {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 5rem;
    padding: 0 2rem;
    background-color: rgb(247, 240, 232);
    z-index: 1000;
}

#navbar a {
    text-decoration: none;
    color: black;
}

.left {
    
    font-size: clamp(0.8rem, 1vw + 1rem, 2rem);
    color: black;
    font-weight: 400;
    padding-left: 2rem;
    flex-shrink: 0; /* Prevent text shrinking */
}

.right {
    display: flex;
    gap: min(4vw, 3rem); /* Fluid gap based on viewport width */
    padding-right: 2rem;
    margin-left: auto;
}

.right a {
    font-size: clamp(0.5rem, 1vw + 0.8rem, 1.2rem);
    transition: color 0.3s;
    white-space: nowrap; /* Prevent text wrapping */
    position: relative;
}

.right a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: rgb(166, 85, 152);
}

.yellowBlockContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap-reverse;
    background: rgb(236, 199, 76);
    align-items: center;
    justify-content: space-around;
    padding: 10% 0;
}

.overlay-image {
    max-width: 600px; /* Prevent image overflow */
    width: 40vw; /* Fluid width based on viewport */
}

h1 {
    max-width: 600px;
    font-weight: 300;
    font-size: clamp(0.5rem, 1vw + 1rem, 2.2rem);
    letter-spacing: 3px;
    line-height: 1.2;
    padding: 20px;
    margin: 0;
}


.middle-block {
    position: relative;
    z-index: 2;
    border-radius: 0 0 300px 300px; /* Arredonda apenas os cantos inferiores */
}

.spiral {
    width: 10vw;
    position: absolute;
    right: 10%;
    top:  -5rem;
}

#projects h2 {
    padding-top: 6rem
}

h2 {
    font-size: clamp(0.5rem, 1vw + 2rem, 3.5rem);
    font-weight: 600;
    padding-top: 2rem;
    justify-content: center;
    display: flex;
    color: rgba(69, 62, 62, 1);
}

.blurbContainer {
    display: grid;
    place-items: center;

}

.blurb {
    display: flex;
    justify-content: space-between; /* Coloca os elementos da div posicionados distantes um do outro */
    padding-top: 2rem;
    padding-left: clamp(0.5rem, 3vw + 2rem, 5rem);     
    background-color: rgba(47, 42, 177, 1);
    margin-top: 100px;
    width: 80%;
    border-radius: 40px;
    z-index: 2;
    margin-bottom: 82px;
}

.blurbText {
    display: flex;
    flex-direction: column;
    gap: 4rem;                  
    color: rgb(247,240,232);
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
    padding: clamp(1rem, 2vw, 5rem);

}

.image-blurb {
    max-width: 600px;
    width: 30vw;
    height: 100%;
    z-index: 3; /* Coloca a imagem acima do bloco amarelo */
    padding: 10px;
   
}

.projetoButtonBlurb {
    color: rgb(247, 240, 232);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.27); /* a = transparencia */
    border: none;
    padding: 12px 16px; /* padding horizontal e padding vertical */
    cursor: pointer;
    transition: .5s ease-in-out all;
    width: min-content;
    white-space: nowrap;
    margin-bottom: 2rem;
}

.projetoButtonBlurb:hover {
    background-color: rgba(255, 145, 211, 1);

}

.locketContainer {
    display: grid;
    place-items: center;

}

.locket {
    display: flex;
    justify-content: space-between; /* Coloca os elementos da div posicionados distantes um do outro */
    padding-top: 4rem;
    padding-left: clamp(0.5rem, 3vw + 2rem, 5rem);     
    background-color: rgb(192, 150, 45);
    margin-top: 100px;
    width: 80%;
    border-radius: 40px;
    z-index: 2;
    margin-bottom: 82px;
}

.locketText {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 5rem;
}

.image-locket {
    max-width: 600px;
    width: 40vw;
    height: 100%;
    z-index: 3; /* Coloca a imagem acima do bloco amarelo */
}

.websiteContainer {
    display: grid;
    place-items: center;
    margin-bottom: 5%;
}

.website {
    display: flex;
    padding-top: 4rem;
    padding-left: clamp(0.5rem, 3vw + 2rem, 5rem);    
    background-color: rgba(109, 26, 95, 1);
    margin-top: 100px;
    width: 80%;
    border-radius: 40px;
    z-index: 2;
    margin-bottom: 82px;
}

.websiteText {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: clamp(0.5rem, 1vw + 4rem, 5rem);

}

.imageWebsite {
    max-width: 600px;
    width: 40vw;
    height: 90%;
    z-index: 3; /* Coloca a imagem acima do bloco amarelo */
}

.projetoButtonWebsite {
    color: rgb(247, 240, 232);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.27); /* a = transparencia */
    border: none;
    padding: 12px 16px; /* padding horizontal e padding vertical */
    cursor: pointer;
    transition: .5s ease-in-out all;
    width: min-content;
    white-space: nowrap;
}

.projetoButtonWebsite:hover {
    background-color: rgb(63, 14, 55);

}

.websiteFrase {
    color: rgb(247, 240, 232);
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
    padding: clamp(2rem, 2vw, 5rem);
    padding-left: 0;
    padding-right: 2rem;
}

h3 {
    color: rgb(247, 240, 232);
    z-index: 3;
    font-size: 2.2rem;

    
}

.projetoButtonLocket {
    color: rgb(247, 240, 232);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.27); /* a = transparencia */
    border: none;
    padding: 12px 16px; /* padding horizontal e padding vertical */
    cursor: pointer;
    transition: .5s ease-in-out all;
    width: min-content;
    white-space: nowrap;
}

.projetoButtonLocket:hover {
    background-color: rgb(152, 123, 52);

}

.locketFrase {
    color: rgb(247, 240, 232);
    font-size: clamp(1rem, 1vw + 1rem, 2rem);
    padding: clamp(2rem, 2vw, 5rem);
    padding-left: 0;
}

.purple-block {
    position: relative;
    background-color: rgba(166, 85, 152, 1);
    width: 100%;
    justify-content:center;
    min-height: 1000px;
}

.asterisk {
    width: 10vw;
    position: absolute;
    left: 10%;
    top: -5rem
}

.H1bold {
    font-weight: 900;
}

.skills {
    color: rgb(247, 240, 232);
    padding-top: 4rem;
}

.containerSkills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    /*justify-content:space-around;*/
    color:rgb(247, 240, 232);
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 7%;
}

.skillColumn {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    
}

.skillColumnTitle {
    margin-bottom: 2rem;;
}

.skill {
    width: 80%;
    margin: 2rem 2rem;
    text-align: center;
    padding: 1rem 1.5rem;
}

.mainColorSkill {
    background-color: rgba(192, 150, 45, 1);
    color:rgb(247, 240, 232);
}

.secondaryColorSkill {
    background-color: rgba(236, 199, 76, 1);
    color: rgb(69, 62, 62);
}

.thirdColorSkill {
    background-color:  rgba(230, 178, 9, 1);
    color:rgb(247, 240, 232);
}

.fourthColorSkill {
    background-color:  rgba(255, 221, 136, 1);
    color: rgb(69, 62, 62);
}

.about {
    padding-top: 8%;
}


.containerAbout {
    display: flex;
    justify-content:space-around;
    flex-direction: row;
    gap: 5rem;
    padding: 5rem 10rem;
    align-items: center;
}


.aboutText {
    font-weight: 300;
    font-size: 1rem; 
    letter-spacing: 2px;
    padding-top: clamp(2rem, 2vw, 2.5rem);
    padding-inline: 5%;

}

.first {
    padding-top: 0;
}

.last {
    padding-bottom: 5rem;
}

.aboutImage {
    max-width: 500px; 
    width: 50vw;
    
}

.container {
    display: flex;
}

.letsTalkOuterBlock {
    padding: 1rem;
}

.letsTalkInnerBlock {
    padding: 5rem;
    background-color: rgb(236, 199, 76);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.letsTalkTitle {
    position: relative;
    white-space: nowrap;
    width: min-content;
    margin-bottom: 5rem;
    padding-top: 0;
}

.letsTalkTitle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 130%;
    height: 4px;
    background-color: rgb(166, 85, 152);
    border-radius: 5px;
    transform: translateX(-50%);
}

.letsTalkText {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
}

.letsTalkText a {
    color: black;
    text-decoration: none;
}


.letsTalkText a:hover {
    color: rgb(166, 85, 152);
    
}

.goldBlockContainer {
    position: relative;
    background-color: rgba(192, 150, 45, 1);
    display: flex;
    justify-content: space-around;
    padding: clamp(5rem, 10vw, 10rem);
  
}

.locketTextContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 5rem clamp(5rem, 10vw, 25rem);
    align-items: center;
}

.locketTextProject {
    font-weight: 350;
    font-size: clamp(1rem, 2vw, 1.5rem); 
    letter-spacing: 1px;
    line-height: 1.5;
    width: 100%;
}

.locketImagePage {
    width: 80%;
}

.locketTitle {
    color: rgb(247, 240, 232);
}

.locketImageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.darkPurpleBlockContainer {
    position: relative;
    background-color: rgb(63, 14, 55);
    display: flex;
    justify-content: space-around;
    padding: clamp(5rem, 10vw, 10rem);
  
}

.websiteTextContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 5rem clamp(5rem, 10vw, 25rem);
    align-items: center;
}

.portfolioWebsiteText{
    font-weight: 350;
    font-size: clamp(1rem, 2vw, 1.5rem); 
    letter-spacing: 1px;
    line-height: 1.5;
    width: 100%;
}

.slice {
    width: 80%;

}

.websiteImageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.darkBlueBlockContainer {
    position: relative;
    background-color: rgba(47, 42, 177, 1);
    display: flex;
    justify-content: space-around;
    padding: clamp(5rem, 10vw, 10rem);
}

/* Base styles */
.burger {
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 1001;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  
@media (max-width: 1300px) {
    .containerAbout {
        flex-direction: column;
        padding: 2rem;
    }

}
@media (max-width: 997px) {
    .burger {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1001;
        font-size: 2rem;
      }
    
      #navbar {
        position: relative;
      }
    
      .right {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color:rgba(247, 240, 232, 1);
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
      }
    
      .right.active {
        display: flex;
      }
    
      .right a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        margin-bottom: 1rem;
      }
    
      .right a:hover {
        color: #ffd700;
      }
    .image-locket {
        display: none;
    }
    .imageWebsite {
        display: none;
    }
    }



@media (max-width: 768px) {
    .spiral {
        width: 15vw;
        top: -2rem;
    }
    .asterisk {
        width: 15vw;
        top: -2rem;

    }

    .yellowBlockContainer {
        padding-top: 3rem;
    }
   
}


/*@media (max-width: 1200px) {
    .containerAbout {
        padding: 5rem;
    }
}

@media (max-width: 768px) {
    .containerAbout {
        flex-direction: column;
        padding: 2rem;
    }

    .yellowBlockContainer {
        gap: 2rem;
        padding-top: 10rem;
        padding-bottom: 5rem;
        flex-direction: column-reverse;
        align-items: center;
        height: auto;
    }

    .spiral {
        top: 5rem;
    }
    
    .locket {
        padding: 1rem 3rem;
    }

    .projetoButtonLocket {
        margin-top: 2rem;
    }

    .image-locket {
        display: none;
    }

    .locketText {
        padding: 0;
    }

    .containerSkills {
        flex-direction: column;
    }

    .purple-block {
        height: auto; 
    }
}
