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

body {
    font-family: 'Amazon Ember', Arial, Helvetica, sans-serif;
    background-color: #222336;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #FAFAFA;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    left: 0;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo h3 {
    font-size: 16px;
    font-weight: 600;
    color: #3a3a3a;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

nav ul a {
    text-decoration: none;
    color: #838485;
}

nav ul a:hover {
    color: black;
    text-decoration: underline;
}

button {
    border: 0;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.club {
    color: white;
    background-color: #AD5CFF;
}
.club:hover {
    background-color: #8d4cce;
}

h1 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #AD5CFF;
}

p.subtitle {
    color: #cbd5e1;
    margin-top: 0;
    margin-bottom: 32px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: linear-gradient(rgba(29, 17, 43, 0.5), rgba(44, 25, 63, 0.5)), url("images/AWSSCD.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
    gap: 30px;
    color: white;
    text-align: center;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

main h1 {
    font-size: 50px;
    color: rgb(191, 128, 255);
    font-weight: 800;
}

main p {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.countdown-container h3 {
    color: #fff0db;
    font-weight: 700;
}

.hero-body {
    text-align: center;
    font-size: 20px;
    width: 550px;
}

.hero-body span {
    display: block;
}

#countdown {
    display: flex;
    gap: 20px;
}

.countdown-container{
    text-align: center;
}

.time-block {
    background: #FAFAFA;
    border: 1px solid #AD5CFF;
    border-radius: 12px;
    padding: 20px 16px;
    min-width: 80px;
}

.time-block span {
    display: block;
}

.value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #AD5CFF;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-top: 4px;
}

#expired-message {
    font-size: 1.3rem;
    color: #AD5CFF;
    font-weight: bold;
    display: none;
}

.roles, .benefits, .about, footer{
    padding: 50px;
} 

.roles > p, .benefits > p, .about > p{
    color: #AD5CFF;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefits > p {
    color: #FF9900;
}

.about > p {
    color: #00E582;
}

.roles > h1, .benefits > h1, .about > h1 {
    color: white;
    margin-bottom: 40px;
    font-size: 25px;
    font-weight: 800;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.card {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    color: white;
    border-radius: 3px;
}

.card h2 {
    font-size: 20px;
}

.card .card-heading {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    align-self: stretch;
    border-radius: 3px;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.card p {
    font-size: 15px;
}

.card button {
    background-color: white;
    color: black;
    padding: 10px 15px;
    margin-top: 10px;
    font-family: 'Amazon Ember Display';
}

.card button:hover {
    background-color: #eee;
}

.card-body p {
    line-height: 20px;
    font-weight: 600;
}

.benefits ol, .card ul {
    color: white;
    display: flex;
    flex-direction: column;
}

.benefits ol {
    gap: 15px;
    font-size: 25px;
}

.card ul {
    gap: 8px;
    font-size: 18px;
}

.hrl {
    height: 1px;
    background-color: #888888;
}

footer {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.footer-socials img {
    width: 35px;
}

.about-body p {
    color: white;
    font-size: 20px;
}

@media (max-width: 920px) {
    .cards {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo h3, #club { font-size: 13px;}
    #countdown { gap: 10px; }
    .time-block { min-width: 60px; padding: 14px 10px; }
    .value { font-size: 1.6rem; }
    .benefits ol { font-size: 18px; }
    .hero h1 {font-size: 32px;}
    .hero p {font-size: 16px;}
    .hero-body {
        width: 380px;
        padding: 0 15px;
    }
    .hero-body span {
        display: inline;
    }
}