/* Style for the Passenger Count APP */

/* =================
    1. Reset Sytles
   ================= */
   html {
    font-size: 62.5%; /* así se agrega un reset de REMs a nuestra WEB, lo que hace es pasarnos los 16px a 10px = 62.5% */
    /* Le ponemos un estilo general para que no nos afecte el tamñano de las cajas y se ajuste automáticamente */
    box-sizing: border-box;
}
p {
    font-size: 1.5rem;
}

/* =======
    INDEX
   ======= 
1. Body
2. Container
    2.1 Title/Number
    2.2 Button
3. Footer
4. Media Querys */

/* ==========
    1. Body
   ========== */
body {
    margin: 0 5rem;
    background: linear-gradient(40deg, #00de41, #deb100, #de0003);
}

.title {
    font-size: 3.2rem;
    font-variant: small-caps;
    text-align: center;
    margin: 2rem 0;
}

/* ==============
    2. Container
   ============== */

.main-container {
    display: flex;
    flex-direction: column;
    max-width: 40rem;
    margin: 4rem auto;
    height: 70rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 0.1rem solid rgba(255, 255, 255, 0.5);
    border-left: 0.1rem solid rgba(255, 255, 255, 0.3);
    border-right: 0.1rem solid rgba(255, 255, 255, 0.3);
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2.2rem);
    box-shadow: 0 2.6rem 2.4rem rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}
/* ======================
    2.1 Title and Number
   ====================== */

.ctr-title {
    font-size: 4.2rem;
    padding: 1.5rem;
    border-radius: 0.3rem;
    font-weight: bold;
    font-variant: small-caps;
    margin: 1rem 0 2rem 0;
}
.ctr-number {
    margin: 0 0 3rem;
    font-size: 6rem;
}

/* =============
    2.2 Buttons
   ============= */

[class^="btn"] {
    width: 30rem;
    height: 5rem;
    font-size: 3rem;
    margin: 2rem 0 2rem;
    background-color: inherit;
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    border-radius: 1.2rem;
    box-shadow: 0 .1rem 2.1rem rgba(255, 255, 255, 0.4);
    padding: 0 1rem;
    font-weight: bold;
    font-variant: small-caps;
}

[class^="btn"]:hover {
    cursor: pointer;
}
[class^="btn"]:active {
    width: 28rem;
    height: 4.5rem;
}

.ctr-total {
    font-size: 3rem;
}
.btn-reset {
    background-color: rgba(255, 105, 80, 0.5);
}

/* ============
    3. Footer
   ============ */

footer p {
    text-align: center;
    margin: 1rem;
}
footer a {
    text-decoration: none;
    color: #000;
}
footer a:hover {
    color: #de0003;
}

/* =================
    4. Media Querys
   ================= */
@media screen and (max-width:450px) {
    body {
        margin: 1rem 5rem;
    }
    .main-container {
        max-width: 30rem;
    }
    .title {
        margin: 2rem;
    }
    [class^="btn"] {
        max-width: 25rem;
        font-size: 2.5rem;
    }
}

@media screen and (min-width:800px) {
    body {
        background-repeat: no-repeat;
        margin: 1rem 5rem;
    }
    
    [class^="btn"] {
        font-size: 2.5rem;
    }
}

@media screen and (max-width:1100px) {
    body {
        background-repeat: no-repeat;
        margin: 1rem 5rem;
    }
}

