@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    background-color: rgb(48, 48, 48);
    color: wheat;
}

header {
    background-color: black;
    text-align: center;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

figure.perfil-photo {
    border-right: 3px solid coral;
    border-left: 3px solid coral;
    border-radius: 5rem;
    width: 10rem;
    margin: auto;
    overflow: hidden;
    /* opcional, para esconder cantos arredondados */
    border-radius: 0 0 4.5rem 4.5rem;
    /* arredondar só embaixo */
}

h1 {
    background-color: coral;
    width: 16rem;
    margin: auto;
}

main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

section {
    display: flex;
    gap: 5rem;
}

fieldset {
    border: 4px solid #CCD595;
    border-radius: 5px;
    padding: 1rem;
}

legend {
    font-size: 1.3rem;
    color: coral;
    padding: 0 0.5rem;
}

h2 {
    color: coral;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
}

.projects {
    position: relative;
    padding: 5rem 3rem;
    border: 3px solid #CCD595;
    border-radius: 2rem;
}

.specs {
    color: black;
}

button {
    background-color: #CCD595;
    border: none;
    padding: 0.8rem;
    color: #331F19;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 0.2rem;
    right: 3rem;
}