@font-face {
    font-family: Tomorrow;
    src: url("../fonts/Tomorrow-Regular.ttf");
}

@font-face {
    font-family: Jockey;
    src: url("../fonts/JockeyOne-Regular.ttf");
}

/*
rosa: #f6048a
azul: #81f4fb
blue 2025: #00bbde
*/

:root{
    --accent-color-1: #f6048a;
    --accent-color-2:  #00bbde;
}

html {
    /*background: rgb(22, 19, 50);
    background: linear-gradient(180deg, rgba(22, 19, 50, 1) 50%, rgba(235, 134, 190, 1) 100%);*/

    background: url('../images/fondo.webp') no-repeat center center fixed;
    background-size: cover;
    /* background-size: contain; */
    background-position: center;

    min-height: 100%;


}

body {
    font-size: 1.3rem;
    color: white;
    text-shadow: 1px 1px 2px rgb(22, 19, 50);

    font-family: "Tomorrow", 'Times New Roman', Times, serif;
    font-weight: 400;
    font-style: normal;
    padding: 0;
    margin: 0;
    position: relative;
}

h1 {
    font-family: "Jockey", 'Times New Roman', Times, serif;
    font-size: 70px;
    color: white;
    text-align: center;

    text-shadow: 2px 2px 0 var(--accent-color-1);
}

.grid-upper {
    width: 100%;
    position: absolute;
    inset-block-start: -40px;
    z-index: -1;
}

.grid-lower {
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

/* -------------------------------------------------------------------------- */
/* Navbar */
header{
    background-color: #55555599;
}

#navbar {
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 2em;
    
}

.navbar-container {
    /* padding: 1%; */
    padding-top: 1%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    border-bottom: 2px solid white;
    
}

.navbar-element {
    margin-top: 1%;
    margin-bottom: 1%;
}

.navbar-element-separator {
    border-left: 2px solid white;
    
}

#navbar a,
#navbar a:active,
#navbar a:visited {
    text-decoration: none;
    color: white;
}

#navbar a:hover {
    text-shadow: 2px 2px 2px var(--accent-color-1);
    transition: all 0.25s ease-in-out;
}

#navbar select {
    font-family: "Tomorrow", 'Times New Roman', Times, serif;
    font-size: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
}

#navbar select option {
    font-family: "Tomorrow", 'Times New Roman', Times, serif;
    border: none;
    outline: none;
    color: #555;
    background-color: white;
}

@media (max-width: 920px) {
    #navbar {
        font-size: xx-small;
        padding-left: 0%;
        padding-right: 0%;
    }

    .navbar-container {
        padding-top: 0%;
    }
}

/* -------------------------------------------------------------------------- */
/* LANDING */


#landing {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 20px;
}

#landing #info {
    align-self: center;
    flex: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
}

.text-box {
    background-color: #ffffff50;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#landing #info p {
    color: white;
    text-align: justify;
    padding-left: 50px;
    padding-right: 50px;
}

#landing #info .button-53 {
    display: block;
    margin: 20px auto;
    z-index: 200;
}

#landing #logo {
    width: 100%;
    max-width: 512px;
    display: block;
    margin: 0 auto;
}


@media (min-width: 920px) {
    #landing {
        flex-direction: row;
        align-items: flex-start;
    }

    /*#landing>#info {}*/

    #landing #logo-container {
        flex: 2;
    }
}

@media (max-width: 920px) {
    #landing #info {
        padding-left: 0;
        margin-left: 0;
        width: 90%;
        max-width: 90%;
    }

    #landing {
        flex-direction: column-reverse;
    }
}

/* -------------------------------------------------------------------------- */
/* ABOUT US */

#about-us {
    margin-top: 2%;
}

#about-us a,
#about-us a:active,
#about-us a:visited {
    text-decoration: none;
    color: white;
}

#about-us a:hover {
    text-shadow: 2px 2px 2px var(--accent-color-1);
    transition: all 0.25s ease-in-out;
}

#about-us #container {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

#about-us #info {
    padding: 2%;
    text-align: text-part center;
    justify-content: space-around;
    display: flex;
    flex-direction: row;
}

#about-us #text-part {
    width: 50%;
    position: relative;
    padding-left: 2em;
    padding-right: 2em;
}

#about-us #past-editions {
    width: 30%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1%;
    justify-content: space-around;
    align-items: center;
}

#past-editions a {
    width: 100%;
}

.text-container {
    max-width: 100%;
    display: block;
    text-align: justify;
}

.points-list {
    text-align: left;
}

.image-logo {
    background-repeat: none;
    height: 100%;
    max-height: 150px;

}

.logo-1 {
    aspect-ratio: 227/100;
}

.log-2 {
    aspect-ratio: 1/1;
}

@media (max-width: 860px) {
    #about-us #info {
        flex-direction: column;
        align-items: center;
    }

    #about-us #text-part {
        width: 90%;

        position: relative;
        padding-left: 16px;
        padding-right: 16px;
    }

    #about-us #past-editions {
        width: 100%;
    }

    .image-logo {
        width: auto;
        height: auto;
        min-height: 150px;
        max-height: 300px;
    }
}

/* -------------------------------------------------------------------------- */
/* Contact */

.main-contact {
    display: flex;
    /*width: 100%;*/
    max-width: 100%;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5%;
    padding-bottom: 0%;
}

.subtitle-contac {
    width: 100%;
    padding: 1%;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
    text-align: center;
    display: flex;
    font-size: 2rem;
    justify-content: center;
}

.contact-information {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
}

.contact-element {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
}

.contact-element>p {
    align-content: center;
}

.main-contact a,
.main-contact a:active,
.main-contact a:visited {
    text-decoration: none;
    color: white;
    margin: 10px;
}

.main-contact a:hover {
    text-shadow: 2px 2px 2px var(--accent-color-1);
    transition: all 0.25s ease-in-out;
}

.main-contact i {
    display: inline-block;
    font-size: 2em;
}

.contact-last-row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    width: 99%;
    padding: 2%;
}


@media (max-width: 860px) {
    .contact-information {
        flex-direction: column;
    }

    .contact-mail a {
        font-size: small;
    }
}

/* -------------------------------------------------------------------------- */
/* Ubication */
#map-ubication {
    width: 100%;
    height: 750px;
    border: 0;
}

.map-info {
    text-align: center;
    font-size: 24px;
    margin: 5px 0;
    color: white;
    text-shadow: 1px 1px 2px rgb(22, 19, 50);
}

.map-info>strong {
    font-size: 30px;
    font-weight: bold;
}

.ubication-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.ubication-container a,
.ubication-container a:active,
.ubication-container a:visited {
    text-decoration: none;
    color: white;
}

.ubication-container a:hover {
    text-shadow: 2px 2px 2px var(--accent-color-1);
    transition: all 0.25s ease-in-out;
}


.map-part {
    width: 40%;
}

.how-to-part {
    width: 50%;
}

@media (max-width: 860px) {
    .ubication-container {
        flex-direction: column;
        align-items: center;
    }

    .map-part {
        width: 90%;
    }

    .how-to-part {
        width: 90%;
    }

}

/* Scrollbars */

::-webkit-scrollbar {
    width: 10px;
    /* Width of the scrollbar */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #eeeeee;
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    /* Radius of the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color of the scrollbar thumb on hover */
}

::-webkit-scrollbar-track {
    background: #555555dd;
    /* Background color of the scrollbar track */
}

/* Optional: Thin scrollbar corner */
::-webkit-scrollbar-corner {
    background: transparent;
    /* Background color of the scrollbar corner */
}

/* Firefox */
@supports (-moz-appearance:none) {

    /* Custom scrollbar for Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #d3d3d3 #5555555d;
    }
}

/* -------------------------------------------------------------------------- */
/* Acordeon */
.acordeon-body {
    width: 100%;
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acordeon {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5%;
}

.acordeon hr {
    width: 100%;
}

.acordeon-container {
    position: relative;
    margin: 10px 10px;
}

.acordeon-label {
    position: relative;
    padding: 10px 0;
    font-size: 30px;
    cursor: pointer;
}

.acordeon-label::before {
    content: '+';
    color: white;
    position: absolute;
    top: 50%;
    right: -5px;
    font-size: 30px;
    transform: translateY(-50%);
}

.active .acordeon-label::before {
    content: '';
}

.acordeon-content {
    overflow: hidden;
    position: relative;
    height: 0;
    width: 100%;
    transition: 0.5s all;
}

.acordeon-container.active .acordeon-label::after {
    content: '-';
    font-size: 30px;
    position: absolute;
    top: 50%;
    right: -5px;
    font-size: 30px;
    transform: translateY(-50%);
}


.active .acordeon-content {
    height: 450px;
    max-height: 450px;
    overflow-y: scroll;
}

.acordeon-image {
    width: 75%;
}


/* -------------------------------------------------------------------------- */
/* CAROUSEL */
.carousel {
    width: 100%;
    /* height: 350px; */
    display: block;
    clear: both;
}

.carousel2 {
    width: 100%;
    /* height: 350px; */
    display: block;
    clear: both;
}


.carousel-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

@media (min-width: 860px) {
    .carousel-items {
        justify-content: space-around;
    }

    .carousel-item {
        width: 100%;
    }
}

@media (max-width: 860px) {

    .carousel-items {
        flex-direction: column;
    }

}

.carousel-item {
    display: flex;
    flex-direction: column;
}

.carousel-item>div {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-item>p {
    width: 100%;
    font-size: 24px;
    text-align: center;
}

.carousel-balls {
    height: 20px;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    column-gap: 15px;
}

.carousel-ball {
    cursor: pointer;
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid white;
}

.carousel-ball:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-active-ball,
.carousel-active-ball:hover {
    background-color: white;
}

.carousel-hidden {
    display: none;
}

.carousel a,
.carousel a:active,
.carousel a:visited {
    text-decoration: none;
    color: white;
}

.carousel a:hover {
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}

/* -------------------------------------------------------------------------- */
/* Speakers */

#speakersFlex {
    width: 98%;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    column-gap: 10px;
}

.speakersItem {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.speakersItem>img {
    border-radius: 5px;
    width: 60%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    left: 0;
    right: 0;
}

#speakersFrame {
    /*filter: grayscale(100%) brightness(200%);*/
}

#speakersIcon {
    width: 40%;
    top: 40px;
}

.speakersName {
    display: block;
    margin: 0 auto;
    /*font-size: 1.5em;*/
    color: white;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 var(--accent-color-1), -1px -1px 0 #81f4fb;
    position: relative;
}

.speakersTitle {
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
    position: relative;
    min-height: 60px;

}

.speakersSocials {
    display: block;
    margin: 0 auto;
    font-size: 1.2em;
    color: white;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #81f4fb;
    position: relative;
}

.image-spaceship{
    max-width: 90%; 
    max-height: 550px;
}

@media (max-width: 860px) {

    #speakersFlex {
        flex-direction: column;
        justify-content: center;
    }

    .speakersItem {
        width: 100%;
        height: auto;
        min-height: 400px;
        margin-bottom: 15px;
    }

    .image-spaceship{
        max-height: 25%;
        height: 25%;
        max-width: 80%; 
    }

}

/* -------------------------------------------------------------------------- */
/* Boton fancy */
.button-53 {
    background-image: url('../images/frames/long.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: none;
    color: white;
    display: inline;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 80px;
    padding: 0;
    position: relative;
    vertical-align: middle;
    text-align: center;
    text-decoration: none rgb(22, 19, 50) solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 300px;
    height: 100px;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

    filter: grayscale(100%) brightness(200%);
}

.button-53:hover {
    /*transform: rotate(-3deg);*/
    transition: 50ms linear all;
    filter: brightness(100%);
}

.button-53.v2:hover {
    /*transform: rotate(3deg);*/
    transition: 50ms linear all;
    filter: brightness(100%);
}

.button-53:focus {
    outline: 0;
}

.button-53:after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.button-53:hover:after {
    bottom: 2px;
    left: 2px;
}

.button-53:active:after {
    bottom: -1px;
    left: -1px;
}

@media (min-width: 768px) {
    .button-53 {
        padding: .75rem 3rem;
        font-size: 1.25rem;
        width: 90%;
    }
}


/* -------------------------------------------------------------------------- */
/* Footer */

footer {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    padding: 2em;
    padding-top: 0;
    border-top: white 2px solid;
    background-color: #000000e0;
    justify-content: space-evenly;
    align-items: center;
}

.footerElement {
    max-width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.footerElement>h2 {
    text-align: center;
}

.footerElement #socialsFlex {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

a:link {
    color: white;
  }
  
  /* visited link */
  a:visited {
    color: white;
  }
  
  /* mouse over link */
  a:hover {
    color: white;
  }
  
  /* selected link */
  a:active {
    color: white;
  }

@media (max-width: 1080px) {
    footer{
        flex-direction: column;
    }

    .footerElement {
        max-width: 100%;
    }

    .footerElement>img{
        max-width: 100%;
    }

    .main-contact{
        max-width: 100%;
    }
}