@import url("./styles.css");

/* General formatting */
.max-w-1200 {
    padding: 1.5rem;
    max-width: 1200px;
    margin: auto;
}

.max-w-standard {
    max-width: 60vw;
}

@media only screen and (max-width: 1199px) {
    .max-w-1200 {
        max-width: none;
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.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%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    border-radius: 0.35rem;
    color: var(--white);
}

.navbar-nav .nav-link,
.nav-link {
    color: var(--white) !important;
}

#user-nav {
    text-decoration: none;
    border-radius: .5rem;
}

.nav-link:hover, #user-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
}

/* Backgrounds */
.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-light-yellow {
    background-color: var(--light-yellow);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-medium-blue {
    background-color: var(--medium-blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.bg-light-orange {
    background-color: var(--light-orange);
}

.bg-none {
    background: none;
}

.bg-transparent {
    background: transparent !important;
}

/* Elements */
.size-7 {
    height: 7rem;
    width: 7rem;
}

.logo {
    width: 12rem;
}

@media only screen and (max-width: 400px) {
    .logo {
        width: 12rem;
    }
}

.organizers {
    width: 18rem;
}

/* Fonts weight */
.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-600 {
    font-weight: 600;
}

/* Fonts sizes */
.fs-7 {
    font-size: 0.875rem;
}

/* Text colors */
.text-light-yellow {
    color: var(--light-yellow);
}

.text-dark-yellow {
    color: var(--dark-yellow);
    font-weight: 500;
}

.text-light-orange {
    color: var(--light-orange);
    font-weight: 500;
}

.text-dark-orange {
    color: var(--dark-orange);
    font-weight: 500;
}

.text-medium-blue {
    color: var(--medium-blue);
}

.text-light {
    color: var(--white);
}

.text-light-gray {
    color: var(--light-gray);
}

.text-dark-gray {
    color: var(--dark-gray);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sizes */
.h-10 {
    height: 10rem;
}

/* Positions */
.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Buttons */
#back-button {
    cursor: pointer;
}

.primary-button {
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: 0.15s ease;
    border: none;
}

.primary-button:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.blue-button {
    background-color: var(--medium-blue);
    color: var(--white);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: 0.15s ease;
    border: none;
}

.blue-button:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.light-button {
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    transition: all 0.15s ease;
    height: fit-content;
}

.light-button:hover {
    background: var(--white);
    color: var(--dark-blue);

    .dynamic_icon {
        color: var(--dark-blue);
    }
}

.full-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.language, #user-dropdown {
    background: transparent;
    border: none;
    color: var(--white);
}

#lang_select {
    padding: 0.5rem;
    border-radius: 0.3rem;
}

#lang_select.btn.show, #lang_select.btn:hover {
    color: var(--white);
}

#lang_select:hover {
    color: var(--white);
}

.login-button {
    background: var(--white);
    border: none;
    color: var(--dark-blue);
}

.nav-item, #lang_select, #access-buttons {
    margin-right: .5rem;
}

.secondary-button {
    background: var(--white);
    border: 2px solid var(--dark-gray);
    color: var(--dark-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.secondary-button:hover {
    background: var(--dark-gray);
    color: var(--white);
}

.yellow-button, .orange-button{
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    border: none;
}

.yellow-button {
    background: var(--light-yellow);
    color: var(--dark-blue);
}

.orange-button {
    background: var(--dark-orange);
    color: var(--dark-blue);
}

.yellow-button:hover, .orange-button:hover {
    filter: brightness(0.9);
}


/* Grids */
.grid-cols-auto-300 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.grid-cols-auto-250 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.grid-cols-auto-200 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Cards */
.generative-card {
    display: flex;
    flex-direction: column;
    align-content: center;
    border-radius: 1.2rem 1.2rem 0.5rem 0.5rem;
    overflow: hidden;
    transition: 0.15s ease;
    background-color: var(--white);
}

.generative-card:hover {
    scale: 1.05;
}

.user-img{
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 100%;
    object-fit: cover;
}

#ucrLogoNegro{
    display: none;
}

/* Navbar */
@media (max-width: 1199px) {
    #navbarText {
        background: rgba(255, 255, 255, 0.664);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(3.3px);
        border: none;
        padding: 1rem;
        gap: 1rem;
        color: var(--dark-blue);
        font-weight: 500;
        margin-top: .5rem;
    }
    #ucrLogoBlanco {
        display: none;
    }
    #ucrLogoNegro{
        display: block;
        width: 10rem;
    }
}

.dropdown-item:hover,
.language:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.6);
    border: none;
    color: var(--dark-blue);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 1199px) {
    .language {
        width: 100%;
        justify-content: center;
        color: var(--dark-blue);
    }

    #access-buttons {
        flex-direction: column;
    }

    #access-buttons .btn {
        width: 100%;
        color: var(--dark-blue);
    }

    .register-button {
        border: solid .2px var(--dark-blue);
    }

    .nav-link {
        color: var(--dark-blue);
    }

    .nav-link:hover {
        color: var(--dark-blue);
    }

    #lang_select:hover,
    #lang_select.btn.show,
    #lang_select.btn:hover,
    .navbar-nav .nav-link,
    .nav-link {
        color: var(--dark-blue) !important;
    }

    .nav-item, #lang_select, #access-buttons {
        margin-right: .0;
    }

    #access-buttons {
        margin-top: 1rem;
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, .8);
        position: relative;
    }

    #user-nav .text-light {
        color: var(--dark-blue) !important;
        font-weight: 300;
    }

    #user-dropdown {
        color: var(--dark-blue);
        width: 100%;
        justify-content: center;
    }
}

.navbar .dropdown {
    position: relative;
  }
  

/* Footer*/
footer {
    background: var(--dark-blue);
    width: 100%;
    color: var(--white)smoke;
    padding-top: 48px;
    padding-bottom: 24px;
}

footer h3 {
    margin: 0px 0px 16px 0px;
    font-size: 18.5px;
    letter-spacing: 1px;
}

footer ul {
    padding: 0px;
    margin: 0px;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

footer a {
    text-decoration: none !important;
    color: inherit;
    transition: 0.2s;
    padding: 2px 4px;
}

footer p {
    margin: 0px;
    font-size: 18.5px;
}

.footer__body {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 180px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__social-media {
    margin-bottom: 24px;
    box-sizing: border-box;
    min-height: 120px;
    padding: 0px 16px;
}

.footer__social-media li:not(:last-of-type) {
    margin-right: 24px;
}

.footer__social-media i {
    color: rgba(255, 255, 255, 0.667);
    display: block;
    font-size: 36px;
    padding-bottom: 24px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    transition: 0.15s;
    min-width: 34px;
    text-align: center;
}

.footer__social-media i:hover {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-width: 4px;
}

.color--facebook {
    border-color: #3b5998;
}
.color--twitter {
    border-color: rgba(51, 204, 255, 0.9);
}
.color--linkedin {
    border-color: #4875b4;
}
.color--instagram {
    border-color: rgba(248, 154, 77, 0.9);
}

.footer__more-info {
    padding: 0px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 50%;
    min-width: 200px;
}

.footer__more-info p {
    margin-bottom: 48px;
}

.footer__newsletter {
    display: block;
    width: 100%;
    max-width: 1200px;
    padding: 0px 16px;
    padding-bottom: 24px;
    margin: 0 auto;
}

footer #mce-EMAIL {
    padding: 4px 8px;
    font-size: 18px;
}

footer .footer__newsletter {
    display: block;
    width: 100%;
    max-width: 1200px;
    padding: 0px 16px;
    padding-bottom: 24px;
    margin: 0 auto;
}

footer .subscribe-button {
    border: 1px solidvar(--white)smoke;
    background: transparent;
    color: var(--white)smoke;
    font-size: 18px;
    padding: 4px 16px;
}

footer .subscribe-button:hover {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

footer .subscribe-button:active {
    outline: none;
    background: rgba(255, 255, 255, 0.5);
}

.footer__nav-bar {
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 24px;
}

.footer__nav-bar a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer__nav-bar li:not(:last-of-type) {
    margin-right: 8px;
}

footer .built-with {
    text-align: center;
    font-size: 12px;
    color: #4e6277;
    margin-top: 15px;
}

footer .built-with a {
    padding: 0;
}

@media only screen and (max-width: 420px) {
    .footer__body {
        flex-direction: column;
    }

    .footer__more-info {
        max-width: 100%;
    }

    .footer__nav-bar {
        flex-direction: column;
        align-items: center;
    }

    .footer__social-media ul {
        justify-content: space-around;
    }

    .footer__social-media li {
        margin: 4px !important;
    }

    .footer__nav-bar ul {
        justify-content: center;
        margin-bottom: 8px;
    }
}
