/* -----------------------------
   Victron Check-In
   Version 0.2
------------------------------*/
/* =========================================
   Fonts
========================================= */

@font-face {
    font-family: 'Museo Sans';
    src: url('../fonts/MuseoSans.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Museo Sans';
    src: url('../fonts/MuseoSans_0.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'Museo Sans';
    src: url('../fonts/MuseoSans_1.otf') format('opentype');
    font-weight: 700;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Museo Sans',sans-serif;

    background:
        linear-gradient(
            rgba(9,28,50,.72),
            rgba(9,28,50,.72)
        ),
        url("../images/Background.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:white;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

}

/* Frosted Glass Panel */

.container{

    width:650px;

    padding:60px;

    text-align:center;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

}

.logo{

    width: 500px;

    margin-bottom:40px;

}

h1{

    display:none;

}

h2 {

    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 40px;

}

.location{

    font-size:1.95rem;

    font-weight:600;

}

.dates{

    font-size:1.95rem;

    font-weight:400;

    opacity:.75;

    margin-bottom: 30px;

}

.welcome {

    margin-top: 30px;
    margin-bottom: 45px;

    font-size: 1.5rem;
    opacity: .85;

}

.buttons {

    display: flex;

    flex-direction: column;

    gap: 24px;

    width: 100%;

    margin-top: 50px;

}

button{

   font-family:'Museo Sans', sans-serif;
   
    height:110px;

    border:none;

    border-radius:24px;

    font-size:2rem;

    font-weight:700;

    letter-spacing:.05em;

    color:white;

    background:#004899;

    cursor:pointer;

    transition:all .25s ease;

}

button:hover {

    transform: translateY(-4px) scale(1.02);

    background: #0056b8;

    box-shadow:
        0 20px 45px rgba(0,72,153,.55);

}

button:active{

    transform:translateY(1px);

}
/* ======================================
   Screens
====================================== */

.screen{

    display:none;

}

.screen.active{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

}
#search-box{

    width:100%;

    height:70px;

    border:none;

    border-radius:18px;

    padding:0 25px;

    font-size:1.3rem;

    font-family:'Museo Sans';

    margin-top:15px;

    margin-bottom:20px;
    
    outline:none;

}
.secondary-button{

    width:auto;

    height:55px;

    padding:0 30px;

    margin-bottom:10px;

    background:transparent;

    border:2px solid rgba(255,255,255,.3);

    color:white;

    font-size:1rem;

    font-weight:600;

    box-shadow:none;

}

.secondary-button:hover{

    background:rgba(255,255,255,.12);

}

.attendee-card{

    background:rgba(255,255,255,.08);

    border-radius:18px;

    padding:24px;

    margin-bottom:18px;

    text-align:left;

    cursor:pointer;

    transition:.2s;

}

.attendee-card:hover{

    background:rgba(255,255,255,.16);

    transform:translateY(-2px);

}

.attendee-card h3{

    font-size:1.3rem;

    font-weight:600;

}

.attendee-card p{

    opacity:.8;

    margin-top:6px;

}

.checkmark{

    font-size:6rem;

    color:#4CAF50;

    margin-bottom:30px;

}

#success-name{

    margin-bottom:15px;

}

.checkmark{

    font-size:7rem;

    color:white;

    margin-bottom:20px;

}

.success-message{

    font-size:1.6rem;

    margin-top:30px;

    line-height:1.4;

}

.returning{

    margin-top:45px;

    opacity:.45;

    font-size:0.9rem;

}

#retryButton {

    width: 220px;

    height: 65px;

    margin-top: 20px;

    background: transparent;

    border: 2px solid rgba(255,255,255,.3);

    color: white;

    font-size: 1.3rem;

    font-weight: 600;

    box-shadow: none;

}

#retryButton:hover {

    background: rgba(255,255,255,.12);

}