* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: url('./background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    
}

.open-modal {
    display: none;
    z-index: 10;
}

.banner {
    width: 500px;
    height: 300px;
    display: flex;
    text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9px; 
    box-shadow: 0px 0px 5px #000;
}

.banner h1 {
    margin-bottom: 15px;
    font-family: 'Acme', sans-serif;
    font-size: 4rem;
    word-spacing: 5px;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    
}

.banner button {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    width: auto;
    height: 50px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 4px;
    background-color: #9d4edd;
    border-radius: 9px;
    border: none;
    transition-property:font-size, color, background-color, border, font-weight;
    transition-duration: 0.2s, 0.5s, 0.2s, 0.2s, 0.2s;
    transition-timing-function: linear;
    cursor: pointer;
}

.banner button:hover {
    font-size: 1.4rem;
    color: #9d4edd;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid #9d4edd;
    font-weight: 600;
}


/* Main Modal content style */

.modal-overlay {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.2);
    position: fixed;
}


.modal-container {
    width: 500px;
    height: 300px;
    display: flex;
    text-align: center;
    flex-direction:column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(157, 78, 221, 0.5);
    border-radius: 9px; 
    box-shadow: 0px 0px 8px #000;
}


.modal-container h3 {
    margin-bottom: 15px;
    font-family: 'Acme', sans-serif;
    font-size: 2.5rem;
    word-spacing: 5px;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
}

.close-btn {
    position: relative;
    top: -100px;
    right: -200px;
    margin-top: 20px;
    margin-right: 10px;
}

.close-btn button {
    
    position: fixed;
    font-size: 2.3rem;
    font-weight: 700;
    color: rgba(243, 36, 36, 1);
    text-shadow: 0px 0px 1px #fff;
    background: transparent;
    border: none;
    transition-property: font-size;
    transition-duration: 0.3s;
    cursor: pointer;
}

.close-btn button:hover {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(243, 36, 36, 0.9);
}

@media only screen and (max-width: 800px) {
    .banner {
        width: 69%;
        max-height: 300px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(3px);
        background-color: rgba(255, 255, 255, 0.1.9);
        border-radius: 9px; 
        box-shadow: 0px 0px 5px #000;
    }
        
        
    .banner h1 {
        padding: 10px;
        margin: 15px;
        font-family: 'Acme', sans-serif;
        font-size: 3.8rem;
        word-spacing: 5px;
        letter-spacing: 5px;
        color: #fff;
        text-shadow: 2px 2px 3px #000;
        
    }


    .modal-container {
        width: 69%;
        height: 300px;
        display: flex;
        text-align: center;
        flex-direction:column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        background-color: rgba(157, 78, 221, 0.5);
        border-radius: 9px; 
        box-shadow: 0px 0px 8px #000;
    }
    
    .modal-container h3 {
        margin-bottom: 15px;
        font-family: 'Acme', sans-serif;
        font-size: 2.6rem;
        word-spacing: 5px;
        letter-spacing: 5px;
        color: #fff;
        text-shadow: 2px 2px 5px #000;
    }
    
    .close-btn {
        position: relative;
        top: -35%;
        right: -30%;
    }

    .close-btn button {
        margin: 5px;
        padding: 10px;
        position: fixed;
        font-size: 2.3rem;
        font-weight: 700;
        color: rgba(243, 36, 36, 1);
        text-shadow: 0px 0px 1px #fff;
        background: transparent;
        border: none;
        transition-property: font-size;
        transition-duration: 0.3s;
        cursor: pointer;
        /* border: 1px solid white; */
    }
    
    .close-btn button:hover {
        font-size: 2.5rem;
        font-weight: 900;
        color: rgba(243, 36, 36, 0.9);
    }
}