
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: fixed;
    background-attachment: fixed;
    background-size: cover;
}
/* Style for header */
.dashboard-container{
    margin: 0 auto;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    text-align: center;
    margin-bottom: 40px;

}

.logo_header {
    width: 100%;
    max-width: 200px;
    display: flex;
    text-decoration: none;
}

.logo {
    width: 38px;
    height: 38px;
    transition: width 2s, height 2s, transform 2s;
}

.logo:hover {
    transform: rotate(180deg);
}

.logo_title {
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    font-family: sans-serif;
    color: #000;
    margin: 6px;
}

.logo_titlte a:hover {
    text-decoration: none;
}

.transparent-header {
    background-color: rgb(255, 255, 255);
    color: #ffffff;
    padding: 20px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    z-index: 1000;
    border-bottom: 1px solid #ff1b1b;
    height: 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container h1 {
    margin: 0;
    font-size: 24px;
}

.menu-lateral {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #000000d4;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0 10px 15px rgb(255 255 255 / 50%);
}

.menu-lateral a {
    text-decoration: none;
    color: white;
    display: block;
    transition: 0.3s;
}

.menu-lateral a:hover {
    background-color: #000000;
    text-decoration: none;
}

.language-selector {
    background-color: #000000de;
    margin: 0 auto;
    border: 1px solid #ff1b1b;
    border-radius: 4px;
    padding: 5px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
}

.language-selector:focus {
    outline: none;
    border-color: #007BFF;
}

.cerrar-menu {
    position: absolute;
    top: 18px;
    right: 17px;
    font-size: 25px;
    width: 30px;
    background-color: #000;
    border-radius: 5px;
    text-align: center;
}

.cerrar-menu a:hover {
    background-color: #000;
}

.abrir-menu {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 8px;
    right: 20px;
    color: #d5069f;
}

.lateral_menu_btns {
    border-top: 2px solid #272727a1;
    padding: 20px 0px 20px 15px;
}



nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ececec;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
}

/* Footer style */
footer {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    width: 100%;
    position: fixed;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container p {
    margin: 0;
    font-size: 14px;
}
/* main style on dashboard.php */
.dashboard-main {
    display: block;
}

/* main content style */
main {
    padding: 20px;
    padding: 20px;
    min-height: 82vh;
    display: flex;
    background: linear-gradient(-45deg, #3b8d99, #1b99ee, #e4223c, #c91f7f);
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.no-background {
    padding: 20px;
    padding: 20px;
    display: flex;
    background: transparent;
}


/* Forms */
form {
    margin: 20px 0;
}

label {
    display: block;
    margin-bottom: 5px;
}


.error {
    color: red;
}

/* Custom style all pages */
.container {
    background-color: #00000029;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 5px 5px rgb(0 0 0 / 32%);
    width: 100%;
    max-width: 800px;
    text-align: center;
    height: fit-content;
    margin: 0 auto;
    float: left;
    margin-bottom: 40px;
    margin-top: 2%;
}

.container_index {
    background-color: #00000029;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 5px 5px rgb(0 0 0 / 32%);
    width: 100%;
    max-width: 800px;
    text-align: center;
    height: fit-content;
    margin: 0 auto;
    float: left;
    margin-bottom: 40px;
    margin-top: 2%;
}

.field {
    background-color: #000000cc;
    border-radius: 10px;
    height: 45px;
    font-size: 35px;
    text-align: center;
    color: white;
    padding: 20px;
    font-family: ui-sans-serif;
}

h1 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    text-align:center;
    font-size: 42px;
    letter-spacing: -.04em;
    text-shadow: 2px 2px 5px rgb(0 0 0 / 65%);
    margin: 15px auto;
}

.h1_reg_log {
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 42px;
    letter-spacing: -.04em;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #555;
    float: left;
    position: relative;
}


input[type="password"],
input[type="username"],
input[type="email"]{

    padding: 10px;
    margin: 5px 0 15px;
    border: 0;
    box-shadow: 0 0 3px 3px rgb(0 0 0 / 32%);
    border-radius: 5px;
    color: #fff;
    background-color: #00000054;
    height: 40px; 
}

input[type="text"],
input[type="file"] {
    width: 94%;
    padding: 10px;
    margin: 5px 0 15px;
    line-height: 40px;
    border: 0;
    box-shadow: 0 0 3px 3px rgb(0 0 0 / 32%);
    border-radius: 5px;
    color: #fff;
    background-color: #00000054;
    height: 40px;
}


.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    margin-left: 10px;
    top: 40%;
    transform: translateY(-50%);
    color: #ffffff;
}

.input-group input {
    padding-left: 45px;
    padding-left: 30px;
    box-sizing: border-box;
}

.input-group input::placeholder {
    color: #ffffff;
}

.error {
    color: red;
    margin-top: 10px;
}



/* Contents with Flexbox */
.form-container,
.table-container,
.background-container {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    float: left;
    justify-content: center;
    position: relative;
    height: fit-content;
}

/* Title style on the contents */
.form-container h1,
.background-container h2 {
    margin-top: 0;
}



/* Buttons style */
button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    width:100%;
}

button:hover {
    background-color: #0056b3;
}

/* Actions buttons style */
.btn-danger {
    background-color: #ff0000;
    color: #fff;
}

.btn-warning {
    background-color: #ffa500;
    color: #fff;
}

/* Tables style */
table {
width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: #fff;
}

td {
    background-color: #f7f7f7;
}

/* Options background styles */
.backgrounds-flex {
    display: flex;
    gap: 10px;
}

.background-option {
    cursor: pointer;
    width: 30%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.background-option:hover {
    transform: scale(1.05);
}

.selected {
    border: 2px solid #f00;
}

/* Style button reset background */
#resetBackgroundBtn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffa500;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

#resetBackgroundBtn:hover {
    background-color: #cc8400;
}

.congrats {
    display: none;
    position: fixed;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #fff;
    background-color: #d5069f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 80%;
    background: #000;
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: 2px 20px 20p 2px solid #000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
