html {
  scroll-behavior: smooth;
}

.sobre_flex {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: flex-start;
    width: fit-content;
    margin-left: 0;
}

:root {
    --fundo-principal: rgb(16, 52, 66);
    --fundo-container: rgb(16, 52, 66);
    --cor-texto-container: rgb(16, 52, 66);
    --cor-texto-botao: rgb(31, 248, 31);
    --fundo-botao: rgb(16, 52, 66);
    --fonte: "Cinzel", serif;
    --bordas: 1px solid rgb(31, 248, 31);
    --texto-grifado: rgb(31, 248, 31);
    --cor-texto-resultado: rgb(31, 248, 31);
}

* {
    font-family: var(--fonte);
    margin: 0;
}

body {
    background: var(--fundo-principal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*seção 1(nav)*/
.nav {
    position: fixed;
    width: 100%;
    height: 50px;
    background: var(--fundo-principal);
    border: var(--bordas);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--cor-texto-botao);
    transition: 0.3s;
}

.nav a:hover{
    transform: scale(1.1);
    transition: 0.3s;
    text-decoration: underline;
}

/*seção 2(sobre)*/
.sobre {
    padding: 80px;
    display: block;
    text-align: start;
    width: 500px;
    margin-left: 0;
    margin-right: auto;
}

.sobre h1 {
    color: white;
    font-size: 25px;
}

.sobre p {
    text-align: left;
    color: var(--cor-texto-botao);
    font-size: 18px;
    padding: 5px;
}

img {
    width: 500px;
}

/*seção 3(container)*/
.container {
    padding: 20px;
    width: 420px;
    text-align: center;
    border: var(--bordas);
    border-radius: 5px;
    height: auto;
    background: var(--fundo-principal);
    color: var(--cor-texto-container);
    box-shadow: 3px 1px 10px var(--texto-grifado);
}

.lable_Entrada {
    font-size: 18px;
    color: var(--cor-texto-resultado);
    background: var(--fundo-container);
    border: var(--bordas);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 25px;
    border-radius: 2px;

}

#numero_Entrada {
    border-radius: 5px;
    border: var(--bordas);
    width: auto;
    height: 25px;
    color: white;
    margin: 5px;
    background-color: var(--fundo-botao);
    text-align: center;
    font-size: 18px;
}


.btn_Saida {
    position: relative;
    display: inline-block;
    margin: 20px;
    font-size: 18px;
    color: white;
    background: var(--fundo-botao);
    border: var(--bordas);
    border-radius: 5px;
    height: 40px;
    padding: 0 20px;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
    z-index: 1;
}

.btn_Saida::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fundo-botao);
    border-radius: 5px;
    z-index: -2;
}

.btn_Saida::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--texto-grifado);
    border-radius: 5px;
    transition: width 0.5s ease;
    z-index: -1;
}

.btn_Saida:hover::before {
    width: 100%;
}

.btn_Saida:hover {
    color: white;
}

#cor_de_fundo_p {
    color: var(--cor-texto-resultado);
    background: var(--cor-texto-container);
    border: var(--bordas);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 25px;
    border-radius: 2px;
    cursor: default;
}

#resultado {
    color: white;
    padding: 20px;
}

/*Seção 4 (integrantes)*/



.integrantes {
    gap: 100px;
    display: flex;
    justify-content: space-around;
    text-align: center;

}

.cosmo,
.pedro,
.vinicius {
    height: 50px;
    width: 195px;
    color: var(--cor-texto-botao);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    transition: 0.2s;
    margin-top: 80px;
    
}

.cosmo:hover,
.pedro:hover,
.vinicius:hover {
    transform: scale(1.05) rotate(-2deg);
    transition: 0.2;
}


::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--fundo-principal);
}

::-webkit-scrollbar-thumb {
  background: #1ff81f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #13b813;
}

