/* Import FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* Estilos GENERALES */
body {
    font-family: "Poppins", sans-serif;
}
h1, h2, h3,
.h1, .h2, .h3 {
    font-weight: bold;
}
h1, .h1 {
    font-size: 3rem;
    color: #223464;
}
h2, .h2 {
    font-size: 2.5rem;
    color: #223464;
}
h3, .h3 {
    font-size: 2rem;
    color: #223464;
}
.color-yellow {
    color: #fff19f;
}
.color-white {
    color: #fff;
}
.btn-primary {
    color: #fff;
    background-color: #223464;
    border-color: #223464;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #4467da;
    border-color: #4467da;
}

.btn-secondary {
    color: #fff;
    background-color: #4467da;
    border-color: #4467da;
}
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #9ab1fe;
    border-color: #9ab1fe;
}

.btn-white {
    color: #223464;
    background-color: #fff;
    border-color: #fff;    
}
.btn-white:hover,
.btn-white:focus {
    color: #fff;
    background-color: #4467da;
    border-color: #4467da;
}

.btn-outline-white {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}
.btn-outline-white:hover,
.btn-outline-white:focus {
    color: #223464;
    background-color: #fff;
}

.btn-yellow {
    color: #223464;
    background-color: #fff19f;
    border-color: #fff19f;    
}
.btn-yellow:hover,
.btn-yellow:focus {
    color: #fff19f;
    background-color: #4467da;
    border-color: #4467da;
}

.btn-outline-yellow {
    color: #fff19f;
    background-color: transparent;
    border-color: #fff19f;
}
.btn-outline-yellow:hover,
.btn-outline-yellow:focus {
    color: #223464;
    background-color: #fff19f;
}
.body-100h-blue {
    min-height: 100vh;
    background-color: #223464;
    background: linear-gradient(180deg, rgba(34, 52, 100, 1) 0%, rgba(20, 30, 58, 1) 100%);
}


/* Estilos NAV */
nav {
    background: #223464;
}
nav.navbar-gkn {
    background: none;
}
.navbar-brand img {
    width: 125px;
}
.nav-link {
    color: #fff;
}
.nav-link:hover,
.nav-link:focus {
    color: #fff19f;
}
.nav-item a {
    font-size: 18px;
}
.nav-item .btn {
    margin-left: 10px;
}
.nav-item .btn svg {
    height: 28px;
    width: 28px;
    fill: #fff19f;
    margin-right: 8px;
}
.nav-item .btn.btn-outline-yellow:hover svg,
.nav-item .btn.btn-outline-yellow:focus svg {
    fill: #223464;
}


/* Estilos FOOTER */
footer {
    background-color: #071950;
    padding: 50px 0;
}
footer img {
    width: 100px;
}
.copyright-footer {
    align-content: center;
}
.copyright-footer p {
    color: #fff;
    text-align: right;
    margin-bottom: 0;
}


/* Estilos HOME */
.hero {
    background-size: cover;
    background-position: center center;
}
.hero * {
    color: #fff;
}
.hero h1 {
    color: #fff19f;
}
.hero p {
    font-size: 1.4rem;
}
.text-hero {
    padding-top: 350px;
    padding-bottom: 350px;
}

.gimcana {
    padding: 80px 0;
}
.gimcana * {
    color: #fff;
}
.gimcana h2 {
    color: #fff19f;
}
.gimcana img {
    max-width: 300px;
}

.lacolla {
    padding: 80px 0;
}
.lacolla img {
    width: 100%;
}

.faqs {
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #d8cb7b 100%);
    padding: 80px 0;
}
.faqs h2 {
    color: #223464;
    margin-bottom: 30px;
}
.faqs .accordion-button {
    background-color: #223464;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border: 1px solid #43578f;
} 
.faqs .accordion-button:hover,
.faqs .accordion-button:focus {
    box-shadow: none;
    background-color: #223464;
    color: #fff;
}
.faqs .accordion-button::after,
.faqs .accordion-button:not(.collapsed)::after {
    background-image: url('../img/arrow.svg');
}
.faqs .accordion-item {
    border: none;
}

#registrat {
    padding: 150px 0;
    background-size: cover;
    background-position: center center;
}
#registrat h2 {
    color: #fff19f;
}
#registrat p {
    color: #fff;
}
#registrat .btn-yellow {
    padding: 10px 40px;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 30px;
}

.contacto {
    background-color: #223464;
    background: linear-gradient(180deg, rgba(34, 52, 100, 1) 0%, rgba(20, 30, 58, 1) 100%);
    padding: 80px 0;
}
.contacto h2 {
    color: #fff19f;
}
.contacto p {
    color: #fff;
}
.contacto .form-check-label {
    color: #fff;
}
.contacto button {
    font-size: 18px;
}


/* Estilos login */
.form-signin {
    max-width: 330px;
    padding: 1rem;
}
.form-signin img {
    max-width: 150px;
}
.form-signin h1 {
    text-align: center;
    font-weight: bold;
    color: #fff19f;
}
.form-signin input[type="text"],
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-radius: .25rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"],
.form-signin #floatingNombre {
    margin-bottom: 10px;
    border-radius: .25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.form-signin input:focus {
    box-shadow: none!important;
}
.form-signin input.btn {
    font-size: 18px;
}
.form-signin p {
    margin-top: 20px;
    margin-bottom: 0;
    color: #fff;
}
.form-signin p a {
    color: #fff4b9;
    text-decoration: none;
}
.form-signin .form-check-label {
    color: #fff;
}
#mensaje-form .alert {
    font-size: 13px;
}

/* Estilos formularios mantenimiento */
.form-mant {
    display: flex;
    align-items: center;
}
.form-mant label {
    width: 150px; /* Fixed width for labels */
    margin-right: 15px; /* Space between label and input */
    text-align: right; /* Align text to the right */
}
.form-mant input, .form-group button {
    flex: 1;
}
.form-mant {
    margin-left: 165px; /* Offset the buttons to align with the input fields */
}


/* Estilos DASHBOARD */
.item-dash .a-item-dash {
   display: flex;
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #c3b561 100%);
    border-color: #fff19f;
    border-radius: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    padding: 50px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.item-dash .a-item-dash svg {
    fill: #223464;
    height: 45px;
    width: 46px;
    margin-right: 10px;
}
.item-dash .a-item-dash p {
    color: #223464;
    width: 152px;
    text-align: left;
    font-size: 22px;
    margin-bottom: 0;
}
.item-dash .a-item-dash:hover,
.item-dash .a-item-dash:focus {
    background: #4467da;
    border-color: #4467da;
    text-decoration: none;
}
.item-dash .a-item-dash:hover svg,
.item-dash .a-item-dash:focus svg {
    fill: #fff19f;
}
.item-dash .a-item-dash:hover p,
.item-dash .a-item-dash:focus p {
    color: #fff19f;
}

.item-dash .a-item-dash.disabled {
    opacity: 0.4;
}
.item-dash .a-item-dash.disabled:hover,
.item-dash .a-item-dash.disabled:focus {
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #c3b561 100%);
    border-color: #fff19f;
}
.item-dash .a-item-dash.disabled:hover svg,
.item-dash .a-item-dash.disabled:focus svg {
    fill: #223464;
}
.item-dash .a-item-dash.disabled:hover p,
.item-dash .a-item-dash.disabled:focus p {
    color: #223464;
}

.tornar-enrere a {
    text-decoration: none;
    margin-bottom: 15px;
    color: #fff19f;
    display: block;
}
#estructura-list.contacto {
    background:  none;
    padding: 40px 0;
}


/* Estilos lista PROVES */
.button-prova {
    color: #223464;
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #c3b561 100%);
    border-color: #fff19f;
    padding: 2rem 1.25rem;
    width: 100%;
    display: flex;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 20px;
    align-items: center;
    position: relative;
}
.button-prova img {
    margin-right: 10px;
}
.button-prova p {
    margin-bottom: 0;
    color: #223464;
    text-align: left!important;
    width: calc(100% - 150px);
}
.button-prova p span {
    display: block;
    font-size: 12px;
    font-weight: bold;
}
.button-prova:hover,
.button-prova:focus {
    background: #4467da;
    border-color: #4467da;
    text-decoration: none;
    color: #fff19f;
}
.button-prova:hover p,
.button-prova:focus p {
    color: #fff19f;
}

.button-prova.pass {
    background: #fff;
    background: linear-gradient(180deg, #8fd18f 0%, #6aa26a 100%);
}
.button-prova.pass p {
    color: #fff;
}
.button-prova .estat {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px!important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #223464;
    font-size: 27px;
    flex-wrap: wrap;
    align-content: center;
    font-weight: bold;
}
.button-prova .estat span {
    font-size: 12px;
    display: block;
    font-weight: 400;
    width: 100%;
    text-align: center;
}
.button-prova:hover .estat,
.button-prova:focus .estat {
    border-left: 1px solid #fff19f;
}
.button-prova.pass .estat {
    border-left: 1px solid #fff;
}


/* Estilos PROVA */
.intro-prova iframe {
    width: 100%;
    height: 300px;
}
#estructura-list .intro {
    margin-bottom: 50px;
}
.tit-prova {
    display: flex;
    align-items: center;
}
.tit-prova img {
    margin-right: 10px;
}
.accordion-prova {
    margin-bottom: 50px;
}
.accordion-prova .accordion-button {
    color: #223464;
    background-color: #fff19f;
    border-color: #fff19f;
    padding: 2rem 1.25rem;
}
.accordion-prova .accordion-button img {
    margin-right: 15px;
}

.item-prova a {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 10px;
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #c3b561 100%);
    text-decoration: none;
    color: #223464;
    border-radius: 10px;
}
.item-prova a.pass {
    background: linear-gradient(180deg, #8fd18f 0%, #6aa26a 100%);
    color: #fff;
}

.item-prova a svg {
    width: 30px;
    height: 30px;
    fill: #223464;
    margin-right: 10px;
}
.item-prova a.pass svg {
    fill: #fff;
}

.content-material-prova .item-prova {
    margin-bottom: 0px;
}
.items-prova-list .content-material-prova .item-prova a {
    background: none;
    color: #fff19f;
    padding: 15px 0;
    border-bottom: 1px solid #8799d2;
    border-radius: 0;
    margin-bottom: 0;
}
.items-prova-list .content-material-prova .item-prova:last-child a {
    border-bottom: none;
}
.items-prova-list .content-material-prova .item-prova a span {
    text-align: center!important;
    margin-top: 10px;
}
.content-material-prova .item-prova a svg {
    fill: #fff19f;
}
.content-material-prova .item-prova a div.ms-auto svg {
    float: right;
}


/* Estilos ITEMS PROVA */
.question-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #5e76c0;
    background: linear-gradient(180deg, #5e76c0 0%, #3e5ab1 100%);
}
.question-container * {
    text-align: left!important;
}
.question-container.pany * {
    text-align: center!important;
}
.question-image {
    width: 100%;
    height: auto;
}
.question-container label {
    color: #fff;
}
.multimedia-content img {
    max-width: 100%;
}
.lock-image {
    display: block;
    margin: 0 auto;
}


/* Estilos GRUPS */
.container-grup {
    padding: 50px 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #5e76c0;
    background: linear-gradient(180deg, #5e76c0 0%, #3e5ab1 100%);
    margin-bottom: 30px;
}
.container-grup * {
    text-align: left!important;
}
.container-grup p.item-membre {
    border-bottom: 1px solid #95a9e5;
    padding: 10px 0;
    font-size: 20px;
    margin-bottom: 0;
}
.container-grup.container-prova {
    padding: 25px;
    margin-bottom: 50px;
}
.container-grup.container-prova p.tit-container {
    font-weight: bold;
    color: #fff19f;
    font-size: 23px;
}
.enrol-form input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
}
.enrol-form input[type='submit'] {
    margin-top: 10px;
    text-align: center!important;
}
.btn-config-grup {
    color: #223464;
    background-color: #fff19f;
    background: linear-gradient(180deg, #fff19f 0%, #c3b561 100%);
    border-color: #fff19f;
    padding: 1.5rem 1.5rem;
    width: 100%;
    display: flex;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 20px;
    align-items: center;
    border: none;
}
.btn-config-grup svg {
    width: 30px;
    height: 30px;
    fill: #223464;
    margin-right: 10px;
}
.btn-config-grup:hover,
.btn-config-grup:focus {
    background: #4467da;
    border-color: #4467da;
    color: #fff19f;
}
.btn-config-grup:hover svg,
.btn-config-grup:focus svg {
    fill: #fff19f;
}


/* Estilos ADMIN PROVA */
.resultados-gimcana {
    margin-top: 30px;
}
.resultados-gimcana .row-resultado {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #c5d2fb;
}
.resultados-gimcana .row-resultado:last-child {
    border-radius: 0 0 10px 10px;
    border: none;
}
.resultados-gimcana .row-resultado div {
    color: #223464;
}
.resultados-gimcana .row-resultado.row-tit {
    background: #758cd3;
    margin: 0;
    border-radius: 10px 10px 0 0;
}
.resultados-gimcana .row-resultado.row-tit .tit {
    color: #fff19f;
    font-weight: bold;
}


/* Estilos CUENTA ATRÁS */
.content-cuenta-atras {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border-radius: 10px;
    background-color: #4467da;
}
.content-cuenta-atras .item-cuenta-atras {
    border-right: 1px solid #90a2de;
    width: 25%;
    padding: 10px;
}
.content-cuenta-atras .item-cuenta-atras:last-child {
    border: none;
}
.content-cuenta-atras .item-cuenta-atras span {
    color: #fff19f;
    display: block;
}
.content-cuenta-atras .item-cuenta-atras .tit {
    font-size: 30px;
    font-weight: bold;
}


/* Estilos RESPONSIVE */
@media (max-width: 991px) {
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .nav-item {
        text-align: center;
    }
    .nav-item a {
        display: inline-block;
        width: 100%;
    }
    .nav-item .btn {
        margin-left: 0;
        margin-top: 7px;
        margin-bottom: 7px;
    }

    .text-hero {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .gimcana *,
    .lacolla *,
    .contacto h2,
    .contacto p,
    .contacto h1 {
        text-align: center;
    }
    #estructura-list.contacto .intro * {
        text-align: left;
    }
    .tit-prova,
    .tit-prova + p,
    .items-prova-list * {
        text-align: left!important;
    }

    .gimcana img {
        max-width: 150px;
        margin-bottom: 50px;
    }
    .lacolla img {
        margin-bottom: 50px;
    }

    

    .contacto button {
        width: 100%;
        text-align: center!important;
    }

    footer .col-lg-6,
    .copyright-footer p {
        text-align: center!important;
    }
    .copyright-footer p {
        margin-top: 20px;
    }

    #estructura-list.contacto .intro .content-cuenta-atras .item-cuenta-atras span {
        text-align: center!important;
    }
    .content-cuenta-atras .item-cuenta-atras .subtit {
        font-size: 10px;
    }
    
}
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2.2rem;
    }
    h2, .h2 {
        font-size: 1.7rem;
    }
    h3, .h3 {
        font-size: 1.2rem;
    }
    .navbar-brand img {
        width: 80px;
    }
    .hero p {
        font-size: 1rem;
    }
    .faqs .accordion-button {
        font-size: 1rem;
    }
    .button-prova p {
        width: calc(100% - 120px);
    }
    .button-prova .estat {
        width: 72px !important;
        font-size: 18px;
    }
}