.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
    background-color: #333;
    padding: 1vh 1vw;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 1vh;
}

.form-container label {
    font-size: 1.2em;
    color: #ffffff;
    font-weight: bold;
}

.form-container input[type="text"] {
    padding: 0.5em;
    width: 200px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.botoes {
    display: flex;
    gap: 1vw;
    margin-top: 1vh;
}

.botoes input[type="submit"] {
    padding: 0.5em 1em;
    font-size: 1em;
    cursor: pointer;
    background-color: #4152b4;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.botoes input[type="submit"]:hover {
    background-color: #2e3a80;
}

.header {
    text-align: center;
    font-family: sans-serif;
    font-size: 20px;
    color: black;
}

/* Canvas */
canvas {
    border: 2px solid #fff;
    margin-top: 20px;
    background-color: #333;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*Reset básico*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

/*Layout principal*/
body {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/*Menu lateral fixo*/
.menu {
    width: 20vw;
    background: #333;
    color: white;
    padding: 2vh 1vw;
    position: fixed;
    height: 100vh;
}

/*Perfil no menu*/
.perfil {
    text-align: center;
    padding: 2vh 0;
}

.foto-perfil img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}


.foto-perfil figcaption {
    font-size: 1em;
    margin-top: 1vh;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 0.5vw;
}

/*Navegação*/
.menu nav ul {
    list-style: none;
    padding: 0;
}

.menu nav ul li {
    padding: 1vh 0;
}

.menu nav ul li a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    display: block;
    padding: 1vh;
    transition: background 0.3s ease;
}

.menu nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/*Conteúdo principal*/
.conteudo {
    margin-left: 20vw;
    padding: 2vh 2vw;
    background: #352b0e80;
    width: 80vw;
    padding-left: 20vw;
    box-sizing: border-box;
}

/*Seção #inicio*/
#inicio {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: left;
    min-height: 100vh;
    padding: 5vh 5vw;
}

#inicio h1 {
    font-size: 3vw;
    margin-bottom: 2vh;
}

#inicio h2 {
    font-size: 2.5vw;
    margin-bottom: 2vh;
}

#inicio p {
    font-size: 1.5vw;
    margin-bottom: 2vh;
}

.foto-inicio img {
    width: 40vw;
    max-width: 600px;
    height: auto;
    border-radius: 5%;
    display: block;
    margin: 0 auto;
}

/*Seção #sobre*/
#sobre {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 10vh 5vw;
    background-color: #352b0e80;
}

#sobre h1 {
    font-size: 3vw;
    margin-bottom: 3vh;
}

.topico {
    width: 80%;
    max-width: 800px;
    margin-bottom: 4vh;
}

#sobre h3 {
    font-size: 2vw;
    margin-bottom: 1.5vh;
    color: #333;
}

#sobre p {
    font-size: 1.5vw;
    margin-bottom: 2vh;
}

hr {
    border: none;
    height: 1px;
    background-color: #201a0880;
    width: 60%;
    margin: 2vh auto;
}

.foto-gato img {
    width: 30vw;
    max-width: 450px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

/*Sessão #portifolio*/
#portifolio {
    padding: 10vh 5vw;
    padding-left: 5vw;
}


.portifolio-btn {
    color: #fffff0;
    text-decoration: none;
    font-weight: bold;
}

.portifolio-btn:hover {
    color: #352b0e80;
}

#portifolio ul li {
    margin-bottom: 5vh;
    padding-bottom: 2vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/*Sessão #contato*/
#contato {
    padding: 10vh 5vw;
    min-height: 100vh;
    background-color: #352b0e80;
    color: #000;
}

#contato h1 {
    font-size: 2.5vw;
    margin-bottom: 2vh;
}

#contato p,
#contato li {
    font-size: 1.5vw;
    margin-bottom: 2vh;
}

#contato ul {
    list-style: none;
    padding: 0;
}

#contato a {
    color: #fffff0;
    text-decoration: none;
    font-weight: bold;
}

#contato a:hover {
    color: #352b0e80;
    text-decoration: underline;
}


/*Ícones sociais*/
.social {
    position: absolute;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5vw;
}

.social a {
    color: #4152b4;
    font-size: 2.5vw;
    transition: color 0.3s;
}

.social a:hover {
    color: #fafae180;
}

/*Rodapé*/
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2vh;
    font-size: 1vw;
}

footer p {
    margin: 0;
}

/*Input rádio e seção dinâmica*/
input[type="radio"] {
    display: none;
}

section {
    display: none;
}

/*Exibir a seção ativa com input de rádio*/
#sobre:checked ~ #section-sobre,
#portfolio:checked ~ #section-portfolio,
#contato:checked ~ #section-contato {
    display: block;
}

/*Manter visível por padrão se for página estática*/
#portifolio,
#retas-polygon {{
    display: block;
}}
