@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@font-face {
  font-family: 'Drag Racing';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/font/Drag-Racing-2.woff') format('woff');
}
html{
    color-scheme: light;
}

body{
    font-family: "Inter", sans-serif;
}
.aixpo-bg{
    background: url('/assets/images/aixpo-bg.png') no-repeat bottom center fixed;
    background-size: cover;
}
/***** HEADER *****/
.center-90{
    width: 90%;
    margin: auto;
}
.center-full{
    width: 100%;
    margin: auto;
}
.white-header{
    padding: 10px 0;
    background-color: #fff!important;
    color-scheme: only light;
    isolation: isolate;
    position: relative;
    overflow: hidden;
}
/***** GENERAL *****/
.mobile-container{
    max-width: 900px;
    min-height: 100dvh;
    margin: auto;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}
.content-placeholder{
    max-width: 100%;
    margin: 40px auto;
}

.hide{
    display: none!important;
}
.hidden{
    visibility: hidden;
}
#qrcode img{
    margin: auto;
}

.white-bg{
    /* background-image: url("../assets/images/white.jpg")!important; */
    background-color: #dcdcdc!important;
    color-scheme: only light;
    isolation: isolate;
    padding: 20px;
    border-radius: 10px;
    width: fit-content;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}
@media (prefers-color-scheme: dark) {
    .white-bg, .white-header{
        background-color: #dcdcdc!important;
        filter: brightness(1.0);
    }
    .white-bg::before, .white-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #dcdcdc;
        z-index: 0;
        pointer-events: none;
    }

    .white-bg > *, .white-header > * {
        position: relative;
        z-index: 1;
    }
}
@media only screen and (max-width: 600px) {
    .content-placeholder{
        padding: 20px;
    }
}
/* Spacing */
.mt-178{
    margin-top: 178px;
}
.flex-alarm{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
}
.flex-alarm img{
    width: 12%;
    height: 12%;
    margin-right: 15px;
}

#page1{
    margin: 60px auto;
}
#page1, #register_success{
    min-height: 50dvh;
}
#page2{
    min-height: 67dvh;
}
@media only screen and (max-width: 600px) {
    .flex-alarm img{
        width: 10%;
        height: 10%;
        margin-right: 10px;
    }
    #page1, #register_success{
        min-height: 54dvh;
    }
}
/* FONT - TEXT */
.text-14{
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    margin-top: 8px;
    margin-bottom: 0;
}
.racerText{
    font-family: 'Drag Racing', sans-serif;
    color: #fff;
    margin-bottom: 0;
}
.racerText.smaller{
    width: 70%;
    font-size: 16px;
    line-height: 22px;
}
#racerName{
    text-transform: uppercase;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 30px;
}
.center{
    text-align: center;
}
.at-right{
    text-align: right;
}
.justify{
    text-align: justify;
}
/***** BUTTON *****/
.btn{
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}
.downloadBtn{
    color: #fff;
    border: unset;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(144, 155, 187, 0.1);
    transition: all 0.3s;
}
.downloadBtn:hover{
    color: #303030;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}
.btn2{
    font-family: 'Drag Racing', sans-serif;
    font-weight: 400;
    font-size: 45px;
    line-height: 53px;
}
.blue-btn{
    color: #3408B5;
    border-radius: 10px;
    background-color: #CDE9FF;
    width: auto;
}
    .blue-btn:hover {
        color: #fff;
        background-color: #238dde;
    }
.neutral-btn{
    color: #1B2238;
    background-color: #fff;
    border: 1px solid #DFE4F1;
    border-radius: 56px;
    box-shadow: 0px 2px 5px 0px #909BBB1A;
}
    .neutral-btn:hover {
        color: #1B2238;
        background-color: #e9e2e2;
    }

/* Download Page */
.speaker-deck-download{
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
    flex-wrap: wrap;
}
.sessionTitle{
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #FFFFFF;
    width: 50%;
    margin-bottom: 0;
}
/***** FOOTER *****/
footer.footer{
    position: relative;
    bottom: 0;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    padding: 30px 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.footer img.logo{
    max-width: 200px!important;
    height: auto!important;
}
@media only screen and (max-width: 600px) {
    .racerText.smaller{
        width: 85%;
        font-size: 14px;
        line-height: 22px;
    }
    footer.footer{
        padding: 20px;
    }
    .btn{
        font-size: 16px;
        line-height: 24px;
    }
    .green-btn{
        border-radius: 10px;
    }
}
/***** MODAL *****/
.popup-container {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s visibility ease-in, opacity 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
}
.popup-container.show {
    visibility: visible;
    opacity: 1;
}
.popup {
    width: 60vw;
    max-height: 90vh;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(34, 34, 53, 0.1);
}
header.cc-popup {
    background-color: #0D1020;
    border-radius: 20px 20px 0 0;
    padding: 40px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
}
main.cc-popup {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: unset;
    justify-content: unset;
    gap: 8px;
}
.inner-popup-container{
    max-height: 65vh;
    overflow: auto;
}
footer.cc-popup {
    padding: 0 40px 20px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.popup-btn-container {
    display: flex;
    align-items: end;
    gap: 8px;
}