/* General styles for #bannerlarge */
#bannerlarge {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Banner container styles */
#banner {
    width: 100%;
    height: auto;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Image/picture styles */
#banner img, 
#banner picture, 
#banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}



/* Overlay */
#banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Banner content */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title styles */
.banner-content .banner-h1 {
    color: white;
    font-size: clamp(20px, 4vw, 38px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.3;
    text-transform: uppercase;
    padding: 0 10px;
    width: 100%;
    word-break: break-word;
}

/* Styles for alert links */
.alert-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
}

.alert-links p {
    color: white;
    font-size: 1.25rem;
    margin: 0 0 10px 0;
}

.alert-links a,
.btn-alert {
    background-color: transparent;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 150px;
}

.alert-links a .btn-icon,
.btn-alert .btn-icon {
    font-size: 2.5rem;
}

.alert-links a:hover,
.btn-alert:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Styles for button row */
.button-row {
    display: flex;
    gap: 60px;
    margin-bottom: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* Styles for button container */
.button-container {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 15px;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

/* Keyframes for fadeInUp animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Styles (768px-1024px) - iPad */
@media (min-width: 768px) and (max-width: 1024px) {
    #banner {
        min-height: 350px; 
        height: 40vh; 
    }
    
    .banner-content {
        padding-top: 80px; 
    }
    
    .banner-content .banner-h1 {
        font-size: clamp(24px, 3.5vw, 32px); 
        margin-bottom: 20px;
    }
    
    .button-row {
        gap: 30px; 
    }
    
    .alert-links a,
    .btn-alert {
        padding: 12px 15px;
        max-width: 130px;
    }
    
    .alert-links a .btn-icon,
    .btn-alert .btn-icon {
        font-size: 2rem;
    }
    
    .button-container {
        max-width: 450px;
        padding: 12px;
    }
    
    .alert-links p {
        font-size: 1.1rem;
    }
}

/* Mobile Styles (<768px) */
@media (max-width: 767px) {
    #banner {
        height: 55vh;
        min-height: 250px;
    }
    
    .banner-content {
        padding-top: 40px;
    }

    .button-container{
        width: 70%;
    }
    
    .button-row {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .alert-links a .btn-icon,
    .btn-alert .btn-icon {
        display: none;
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    #banner {
        height: 65vh; 
        min-height: 250px;
        background-color: #192a89;
    }
    
    .banner-content .banner-h1 {
        font-size: clamp(18px, 6vw, 20px);
        margin-top: 10px;
    }
    
    .alert-links a,
    .btn-alert {
        max-width: 180px;
        font-size: 14px;
    }

    banner img, #banner picture, #banner .banner-image {
    	display: none;
    }
}
