* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat';
    color: #1a237e;
}

/* secao1 */

#secao1 h1 {
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 1px 2px 2px rgb(183, 183, 183);
    text-align: center;
    color: #001a83;
    margin-top: 60px;
    margin-bottom: 30px;
}

.eventos {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.lista-eventos {
    width: 450px;
    height: 385px;
    overflow-y: auto;
    border: 0.3px solid #e8e8e8;
    padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.234);
}

.item-evento {
    display: flex;
    margin-bottom: 20px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    flex-wrap: wrap;
    cursor: pointer;
    transition: 0.5s all;
}

.item-evento:hover {
    transform: scale(1.025);
}

.data {
    background: #3b4d6d;
    color: white;
    text-align: center;
    justify-content: center;
    padding: 10px;
    width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data b {
    font-size: 35px;
    font-weight: 850;
}

.conteudo {
    padding: 10px;
    line-height: 30px;
    width: 70%;
}

#imgEventoContainer img, #imgEventoContainer #semEventoDiv {
    width: 460px;
    background: #f5f5f5;
    border: 2px solid #1a237e;
    border-radius: 5px;
    padding: 0;
    color: #1a237e;
    height: 405px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.441);
    object-fit: cover;
}

#quebrar {
    width: 310px;
    flex-wrap: wrap;
}

/* fim secao1 */
/* secao 2 */
#secao2 {
    margin: 0;
    padding-bottom: 40px;
    text-align: center;
    position: relative;
  }
  
  #secao2 h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    margin-top: 90px;
    font-size: 40px;
  }
  
  #galeriaPainel,
  .galeriaPainel {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .seta {
    position: absolute;
    /* top: 250px; */
    top: 45%;
    z-index: 9;
    font-size: 25px;
    width: 25px;
    height: 25px;
    padding: 10px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 0.3s all;
  }
  
  
  .fa-chevron-right {
      right: 18.5%;
      background-color: hsla(0, 0%, 38%, 0.752);
    }
    
    .fa-chevron-left {
        left: 18.5%;
        background-color: hsla(0, 0%, 38%, 0.752);
    }
    
    .seta:hover {
      transform: scale(1.1);
    }
  .fa-xmark {
    right: 20.15%;
    top: 0%;
    color: rgb(255, 255, 255);
    font-size: 39px;
    text-shadow: 0 0 4px #000000;
    padding: 10px;
    padding-bottom: 20px;
    padding-right: 15px;
    margin: 0;
  }
  .removerButton {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin: 0;
    padding: 8px;
  }
    .editarButton {
    position: absolute;
    top: 3px;
    right: 22px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    margin: 0;
    padding: 8px;
    text-shadow: 0 0 4px #000000;
  }
  .fotoQuadro {
    position: absolute;
    height: 400px;
    width: 600px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
  }
  
  
  .fotoQuadro.fade-out {
    opacity: 0;
  }
  
  .anteriorFoto {
    left: 90%;
    transform: translateX(-170%) scale(0.85);
    z-index: 1;
    opacity: 0.5;
    cursor: pointer;
  }
  
  .proximaFoto {
    left: 10%;
    transform: translateX(70%) scale(0.85);
    z-index: 1;
    opacity: 0.5;
    cursor: pointer;
  }
  
  #centroImg,
  .atualFoto {
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 2;
    opacity: 1;
  }
  
  .botaoAdd {
    background-color: #2c3e50;
    ;
    color: white;
    padding: 10px 20px;
    margin-top: 60px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat';
  }
  
  .botaoAdd:hover {
    background-color: #3b536a;
  }
  

/* fim secao 2 */
.botao-editar {
    background-color: #2c3e50;
    ;
    color: white;
    padding: 10px 20px;
    margin-top: 60px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat';
}

.botao-editar:hover {
    background-color: #3b536a;
}

.modal-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.modal-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
}

.modal-input,
.modal-textarea,
.modal-file {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.modal-textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-file {
    padding: 6px;
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
}

.custom-popup {
    border-radius: 10px;
    padding: 25px;
}

@media (max-width: 768px) {
    h1 {
        margin-top: 30px;
    }

    .lista-eventos {
        width: 320px;
        height: 385px;
        border: 0.3px solid #979797;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.541);
    }

    .data {
        padding: 10px;
        width: 100%;
    }

    .item-evento {
        background: #e6e6e6;
    }

    #imgEventoContainer img, #imgEventoContainer #semEventoDiv {
        width: 340px;
        height: 305px;
        margin-bottom: 50PX;
    }

    /* secao 2 */

    #quebraCabeca {
        margin: 50px auto;
        width: 260%;
    }

    #secao2 {
        overflow: hidden;
    }

    .fotoQuadro {
        height: 200px;
        width: 300px;
    }

    #galeriaPainel {
        width: 80%;
        max-width: 1000px;
        height: 200px;
        padding: 0 0px;
    }

    .anteriorFoto {
        display: none;
    }

    .proximaFoto {
        display: none;
    }

    .fa-chevron-right {
        display: none;
        opacity: 0;
    }

    .fa-chevron-left {
        display: none;
        opacity: 0;
    }

    #galeriaPainel,
    .galeriaPainel {
        height: 200px;
        position: relative;
    }

    .fa-chevron-right {
        display: none;
        opacity: 0;
    }

    .fa-chevron-left {
        display: none;
        opacity: 0;

    }

    .fa-xmark {
        right: 3%;
        top: 0%;
        font-size: 30px;
      }
      #secao2 h2 {
        margin-top: 20px;
      }
}