/* Importação da font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* ---------- Loader ---------- */
.loader_bg {
    position: fixed;
    z-index: 9999999;
    background: #000000;
    width: 100%;
    height: 100%;
}

.loader {
    background-image: url("../assets/images/loader.gif");
    background-repeat: no-repeat;
    background-position: center;
    border: 0 solid transparent;
    border-radius: 0%;
    width: 100%;
    height: 100%;
    position: absolute;
}

.loader:before,
.loader:after {
    content: '';
    border: 1em solid rgba(255, 255, 255, .0);
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear;
    opacity: 0;
}

.loader:before {
    animation-delay: .5s;
}

@keyframes loader {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/*-------------- 2. Estilo CSS ---------------*/

body {
    font-family: "Century Gothic", sans-serif;
    background-color: #000;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 0;
    margin: 0;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: transparent;
}

.search-container {
    color: white;
}

.logo img {
    height: 65px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
}

.banner {
    text-align: center;
    padding: 150px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../assets/images/background_home.jpg') no-repeat center/cover;
}

.banner h1 {
    font-size: 50px;
    margin: 0;
}

.banner p {
    font-size: 24px;
    margin: 10px 0 0;
}

section {
    padding: 50px 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

form input,
form textarea,
form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

form button {
    background-color: #1e90ff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #63b8ff;
}

/* ######################## Login ######################## */

.back-login {
    text-align: center;
    padding: 100px 170px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/background_login.jpg') no-repeat center/cover;
}

.login_body {
    padding: 35px;
    z-index: 90;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0% auto;
    background-color: rgb(0, 0, 0, 0.75);
    border-radius: 10px;
    box-sizing: border-box;
}

.login_body h2 {
    font-size: 35px;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 15px;
}

.login_body input {
    height: 50px;
    width: 100%;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    padding-left: 15px;
    box-sizing: border-box;
    outline: none;
}

.login_body input:hover {
    background-color: #444;
}

.input_box {
    margin-bottom: 25px;
}

.login_body button {
    height: 50px;
    width: 100%;
    color: #fff;
    background-color: #006AAB;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    margin-bottom: 10px;
}

.login_body button:hover {
    background-color: #005b94;
    cursor: pointer;
}

.login_body button:active {
    background-color: #033e63;
}

/* ######################## Registro de Contas ######################## */

.back-create-account {
    text-align: left;
    padding: 35px 38%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/background_login.jpg') no-repeat center/cover;
}

.create-account-body {
    padding: 35px;
    z-index: 90;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0% auto;
    background-color: rgb(0, 0, 0, 0.75);
    border-radius: 10px;
    box-sizing: border-box;
}

.create-account-body h2 {
    font-size: 35px;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 15px;
}

.create-account-body p {
    font-size: 11px;
    color: #808080;
    margin-top: 5px;
    margin-bottom: 0px;

}

.create-account-body input {
    height: 50px;
    width: 100%;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    padding-left: 15px;
    box-sizing: border-box;
    outline: none;
}

.create-account-body input:hover {
    background-color: #444;
}

.form-group {
    margin-top: 10px;
    margin-bottom: 0px;
}

.create-account-body button {
    height: 50px;
    width: 100%;
    color: #fff;
    background-color: #006AAB;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    margin-bottom: 10px;
}

.create-account-body button:hover {
    background-color: #005b94;
    cursor: pointer;
}

.create-account-body button:active {
    background-color: #033e63;
}

/* ######################## Seleção de usuário ######################## */

.user-selector h2 {
    font-size: 50px;
    margin-bottom: 10px;
    text-align: center;
}

.user-selection-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.user-selection-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.users {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.image-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user,
.user-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.user img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid #006AAB;
    transition: border-color 0.3s ease;
}

.user-more img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 5px solid #006AAB;
    transition: border-color 0.3s ease;
}

.user span,
.user-more span {
    margin-top: 10px;
    font-size: 18px;
}

.user:hover {
    transform: scale(1.1);
}

.user:hover img {
    border-color: #fff;
}

.user-more:hover {
    transform: scale(1.1);
}

.user-more:hover img {
    border-color: #fff;
}

.manage-user {
    flex: auto;
    width: 280px;
    height: 100%;
    align-items: center;
    background-color: #000;
    margin-top: 15%;
    border: 2px solid azure;
    margin-left: auto;
    margin-right: auto;
}

.manage-user:hover {
    background-color: #1f1f1f;
}

.manage-user a {
    color: white;
    text-decoration: none;
}

.manage-user h4 {
    margin-top: 2%;
    padding: 5px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-image {
    position: absolute;
    transform: translate(auto, auto);
    width: 50px;
    height: 50px;
}

/* ##################### Estilização do Vídeo ##################### */

.video-container {
    width: 100%;
    max-width: auto;
    max-height: auto;
    position: relative;
}

#movhome-player {
    width: 80%;
    height: auto;
    border: 5px solid #1a1a1a;
    background-color: #000;
    margin-top: 10%;
}

/* Custom controls (if needed) */
.video-container .controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
}

/* Media Queries for Responsiveness */

@media (min-width: 600px) {
    .banner {
        padding: 200px 50px;
    }

    .banner h1 {
        font-size: 40px;
    }

    .banner p {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .banner {
        padding: 250px 100px;
    }

    .banner h1 {
        font-size: 50px;
    }

    .banner p {
        font-size: 24px;
    }

    .user-selection-content {
        flex-direction: row;
    }

    .users {
        flex-direction: row;
        gap: 50px;
    }

    .image-container {
        flex-direction: row;
        gap: 50px;
    }
}

@media (min-width: 1024px) {
    .login_body {
        max-width: 425px;
        max-height: 525px;
        margin: 5% auto;
    }

    .user img {
        width: 200px;
        height: 200px;
    }

    .user-more img {
        width: 100px;
        height: 100px;
    }
}

/* ############################################################
##################### Modal Clas Content #######################
############################################################## */

body {
    font-family: Arial, sans-serif;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header, .modal-body, .modal-footer {
    padding: 10px;
}

.modal-header {
    background-color: #222;
    color: white;
}

.modal-body {
    margin: 20px 0;
}

.modal-footer {
    background-color: #f1f1f1;
    color: black;
}

.no-scroll {
    overflow: hidden;
}

/* ############################################################
###################### Modal Media Box ########################
############################################################## */

.media-box {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 100%;
    max-height: 200px;
    margin-bottom: 10px;
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.media-box a {
    text-decoration: none;
}

.media-box img {
    width: 100%;
    height: auto;
}

.media-box:hover {
    transform: scale(1.1);
}

.media-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.media-hover img {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.media-hover-content {
    text-align: center;
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0px;
    gap: 45px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 3% 15%;
}

.media-hover-content img {
    width: 35px;
    height: 35px;
    opacity: 1;
}

.media-hover-content p {
    font-family: 'Century Gothic', sans-serif;
    text-shadow: black 2px 2px 4px;
    font-size: 12px;
    margin-top: 3%;
    margin: 25px,0,0,0;
}

.media-hover-content button {
    font-family: 'Century Gothic', sans-serif;
    margin-top: 2px;
    padding: 5px 20px;
    background-color: #1e90ff;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.media-hover-content button:hover {
    background-color: #005bb5;
}

.media-box:hover .media-hover {
    display: flex;
}

/* #######################################################
##################### Menu Cabeçalho #####################
########################################################## */

/* Estilos para o menu toggle e navegação responsiva */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 786px) {
    .menu-toggle {
        display: block;
    }

    nav ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #000;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }

    nav ul.menu li {
        width: 100%;
    }

    nav ul.menu li a {
        display: block;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #444;
    }

    nav ul.menu li a:hover {
        background-color: #1e90ff;
    }

    nav ul.menu li ul.dropdown {
        position: static;
    }

    nav ul.menu li:hover ul.dropdown {
        display: none;
    }
}
