/* Estilos gerais para o header */
header {
    padding-top: 200px; /* Para telas maiores */
}

/* Estilos para telas menores (mobile) */
@media (max-width: 768px) {
    header {
        padding-top: 400px; /* Ajuste o valor conforme necessário */
    }
}


header img{
  width:8rem;
  height:8rem;
  border-radius: 50%;
  box-shadow: 0 .1rem .3rem rgba(0, 0, 0, 0.137);
	
}

header h1{
  font-size:3rem;
	
}

header > div{
  margin-top:1rem;
  height:2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:.5rem;
}

header > div i{
  font-size: .9rem;
	
}

main>h3{
  margin-bottom: .8rem;
  font-weight: 400;
}

.links{
  display: flex;
  flex-direction:column;
  gap: 1rem;
}

.link{
  border: 1.5px solid var(--purple);
  border-radius:0 .8rem .8rem;
  box-shadow: 0 .1rem .3rem rgba(0, 0, 0, 0.137);
  padding:.8rem 1rem;
  width:20rem;
  max-width:20rem;
  text-align:center;
  transition:all 0.4s ease-in-out;
  
  display: flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.dark .link{
  color: var(--white);
}

.link:hover{
  background:var(--purple);
  color:var(--white);
  opacity: 1;
}

.socialIcons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:1.5rem;
  opacity: .9;
  height:28px;
}

.social{
  padding:.2rem;
  margin:0;
  transform:scale(1.5);
}

.dark .social i{
  color:white;
}

.social a:hover{
  opacity: .5;
}

.toggle{
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
input[type=checkbox]{
  height: 0;
  width: 0;
  visibility: hidden;
}

label {
  cursor: pointer;
  text-indent: -9999px;
  width: 42px;
  height: 20px;
  background: grey;
  float: right;
  border-radius: 100px;
  position: relative;
}

label::after{
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 90px;
  transition: 0.3s;
}

input:checked + label {
  background-color: var(--bg-checked);
}

input:checked + label::after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
  background-color:var(--purple);
}

label:active:after {
  width: 45px;
}

.container {
  text-align: center;
}


 /* Estilizando o fundo do modal */
       .modal {
    display: none; /* Oculto ao carregar */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

        /* Estilizando o conteúdo do modal */
        .modal-content {
            background: white;
            position: relative; /* Garante que o botão fique dentro deste contexto */
            border-radius: 10px;
            text-align: left;
			color: black;
            
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
			width: 80%; /* Ocupa 80% da largura da tela */
    max-width: 600px; /* Mas não passa de 600px */
    height: auto; /* Ajusta a altura conforme o conteúdo */
    padding: 30px; /* Adiciona mais espaço interno */
        }

        /* Botão de fechar */
        .close {
    position: absolute; /* Para posicionar dentro do modal */
    top: 10px; /* Distância do topo do modal */
    right: 15px; /* Distância da direita do modal */
    color: red; /* Cor do botão */
    font-size: 34px; /* Tamanho do "×" */
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

        /* Botão que abre o modal */
        .open-modal {
            padding: 10px 20px;
            font-size: 16px;
            background-color: blue;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }