/* Font declarations */
@font-face {
    font-family: 'FormaDJRDisplay';
    src: url('../fonts/Anton-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FormaDJRMicro';
    src: url('../fonts/Anton-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base styles and typography */
body {
    font-family: 'FormaDJRMicro';
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: url('https://debatesferring.revolver.agency/assets/images/bg.png') no-repeat center bottom !important;
    background-size: cover; /* Asegura que cubra todo el fondo */
    color: rgb(255, 255, 255);
}

h1, h2, h3, h4, h5, h6,
.navbar-nav .nav-link,
.card-header h3,
.progress-bar,
#timer {
    font-family: 'FormaDJRDisplay';
}

.welcome-container {
    min-height: 60vh !important;
}

/* Layout */
.content-wrapper {
    flex: 1 0 auto;
    background: transparent;
}

/* Header Styles */
.navbar {
    padding: .5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #00519C !important;
}

.navbar-brand {
    margin-right: 2rem;
}

.navbar-nav {
    margin-right: auto;
    width: 100%;
    display: flex;
    
}

.navbar-nav .nav-link {
    color: black;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    flex: 1;
    text-align: center;
}

.navbar-nav .nav-link:hover {
    color: darkgray !important;
}

.promo-header {
    background-color: #0098d3;
    padding: 1rem 0;
}

.promo-header h1 {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 500;
    text-align: left;
    color: white;
}

.promo-header .navbar-toggler {
    padding: 0.25rem 0.5rem;
    border: 2px solid black;
    background-color: transparent;
}

.promo-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-divider {
    height: 1px;
    background-color: #000;
    margin: 0;
}

.sub-header {
    background-color: #0098d3;
    padding: 0.5rem 0;
}

.sub-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 400;
    text-align: left;
    color: rgb(255, 0, 0);
}

/* Card styles */
.card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.card-header {
    background: transparent;
    border: none;
    padding: 0.25rem 0;
}

.card-body {
    background: transparent;
    /* padding: 1rem 0; */
}

.card-header h2 {
    color: black;
    font-size: 2.5rem;
}

.card-header h3 {
    color: black;
}

/* Form styles */
.form-control {
    border: solid 2px black !important;
    border-radius: 0 !important;
}

.form-control:focus {
    border-color: #0098d3;
    box-shadow: 0 0 0 0.25rem rgba(0, 152, 211, 0.25);
}

.form-check-input {
    border: solid 2px black !important;
    border-radius: 0 !important;
}

.form-check-input:checked {
    background-color: #0098d3 !important;
}

.form-select {
    border: solid 2px black !important;
    border-radius: 0 !important;
}

/* Button Styles */
.btn {
    background: white;
    border: 2px solid black;
    border-radius: 0;
    color: rgb(255, 255, 255);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: rgb(0, 0, 0);
}

.btn-primary {
    background: #00519C;
    border: 2px solid black;
}

.btn-primary:hover {
    background: #00519cd5;
    border: 2px solid black;
}

.btn-secondary {
    background: #00519C;
    border: 2px solid black;
}

.btn-secondary:hover {
    background: #00519cd5;
    border: 2px solid black;
}

.btn-repeat {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-repeat:hover {
    transform: scale(1.1);
}

.btn-repeat:active {
    transform: scale(0.95);
}

/* Camera styles */
.camera-input {
    display: none;
}

.camera-button {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.camera-button i {
    margin-right: 0.5rem;
}

.camera-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Quiz styles */
.question-image {
    position: relative;
    cursor: crosshair;
}

.question-image img {
    max-width: 100%;
    height: auto;
}

#timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.progress {
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
}

/* Score page styles */
.score-page .card-body span,
.score-page .card-body p {
    font-size: 1.25rem;
    line-height: 1.5;
}

.score-page .card-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.score-page .fa-check-circle,
.score-page .fa-stopwatch,
.score-page .fa-envelope,
.score-page .fa-trophy {
    font-size: 1.5rem;
}

/* Terms page styles */
.terms-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

.terms-content h3 {
    color: #0098d3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terms-content p {
    margin-bottom: 1.5rem;
}

.terms-content ul, 
.terms-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

/* Icon colors */
.fa-check-circle,
.fa-stopwatch,
.fa-envelope,
.fa-trophy {
    color: #0098d3;
}

/* Footer Styles */
.footer {
    flex-shrink: 0;
    background-color: #000;
    color: white;
    padding: 1rem 0;
    margin-top: auto;
}

.footer p {
    margin: 0;
    text-align: left;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.25rem 0;
    }

    .navbar-brand img {
        max-height: 40px;
        width: auto;
        object-fit: contain;
    }

    .promo-header {
        padding: 0.5rem 0;
    }

    .promo-header h1 {
        font-size: 1.75rem;
    }

    .sub-header {
        padding: 0.25rem 0;
    }

    .sub-header h2 {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        background: #00519C;
        color: rgb(255, 0, 0);
        padding: 0.75rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        z-index: 1000;
    }
    
    .navbar-nav {
        text-align: left;
    }

    .navbar-nav .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 2rem;
    }

    .navbar-toggler {
        display: block;
        padding: 0.25rem 0.5rem;
        border: 2px solid black;
        background-color: transparent;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 768px) {
    .file-text {
        display: none;
    }

    .camera-button {
        width: 60px !important;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #0d6efd;
        border-color: #0d6efd;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        margin: 0 auto;
    }

    .camera-button i {
        margin: 0;
        font-size: 1.8rem;
        color: white;
    }

    .camera-button:hover, 
    .camera-button:focus {
        transform: scale(1.1);
        background-color: #0b5ed7;
    }
}
.prizes-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

.prize-item {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-5px);
}

.prize-icon {
    font-size: 2.5rem;
    color: #0098d3;
    margin-bottom: 1rem;
    text-align: left;
}

.prize-item h3 {
    color: #0098d3;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
}

.prize-item p {
    margin-bottom: 1rem;
}

.prize-item ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.prize-item li {
    margin-bottom: 0.5rem;
}

.prize-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.prize-info {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(0, 152, 211, 0.1);
}

.prize-info h3 {
    color: #0098d3;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.prize-info ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.prize-info li {
    margin-bottom: 0.5rem;
}


.mytest{
    background-color: red;
}