body {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    padding: 20px;
    color: white;
    box-sizing: border-box;
    text-align: center; /* Ensure text is centered */
    
    /* from td website */
    background-size: calc(80% - 100px);
    border: 10px #000000;
}

* {
    box-sizing: border-box;
}

.brand-text {
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    font-style: italic;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.contact-button {
    color: black;
    background-color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    outline: none;
    border-radius: 50px; /* Pill shape */
    display: inline-block; /* Ensures button is centered */
    margin: 0 auto; /* Centers the button */
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.contact-button::after {
    content: '_';
    animation: blink 1.0s step-end infinite;
    margin-left: 0.25rem;
    font-weight: bold;
    color: black;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-content iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-content iframe {
        height: 500px;
    }
}

@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    .brand-text {
        font-size: clamp(2rem, 12vw, 6rem);
    }

    .contact-button {
        font-size: 1rem;
        padding: 10px 20px;
        text-decoration: none;
    }
    
    .contact-button::after {
        margin-left: 0.2rem;
    }

    .brand-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
    }

    .brand-text::before {
        content: 'RA';
        display: block;
    }

    .brand-text::after {
        content: 'AD';
        display: block;
    }

    /* Hide the original text */
    .brand-text span {
        display: none;
    }
}