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

html, body {
    height: 100%;
    width: 100%;
    background-color: #214289;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

/* Logo Styling */
.logo {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: flex-start; /* Left-aligned by default */
    align-items: center;
    padding: 30px;
}

.logo img {
    width: 200px;
    max-width: 100%;
}

/* Main Section Styling */
.main {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Align items vertically */
    width: 500px; /* Fixed width */
    height: 300px; /* Fixed height */
    color: #214289; 
    padding: 20px;
    font-size: 18px;
    text-align: center;
    background-color: white; 
    border-radius: 15px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    overflow: hidden; /* Hide any overflow */
}

/* Text Styling */
.main label, .main p {
    position: relative; /* To keep text above the background */
    z-index: 1; /* Text stays on top */
}

.main label {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold; /* Make label bold */
    animation: underlineAnimation 2s infinite alternate; /* Underline animation */
}

.main p {
    font-size: 16px;
    margin: 0;
    font-weight: bold; /* Make paragraph text bold */
    animation: underlineAnimation 2s infinite alternate; /* Underline animation */
}

/* Keyframes for Underline Animation */
@keyframes underlineAnimation {
    0% {
        color: #214289;
        border-bottom: 2px solid transparent;
    }
    100% {
        color: #214289;
        border-bottom: 2px solid #e66ea7; /* Smooth underline effect */
    }
}

/* Copyright Section Styling */
.copyright {
    height: 5vh;
    background-color: #e66ea7;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    position: relative; /* Relative positioning to control layout */
    bottom: 0; /* Stick to the bottom of its container */
}

/* Media Queries for Mobile View (Below 768px) */
@media (max-width: 768px) {
    .logo {
        justify-content: center; /* Center-align logo for mobile */
    }

    .main {
        height: auto; /* Allow height to adjust */
        font-size: 4vw; /* Adjust font size for mobile */
        padding: 80px 20px;
    }

    .main label {
        font-size: 5vw; /* Larger font size for mobile */
        margin-bottom: 10px;
    }

    .main p {
        font-size: 4vw; /* Larger font size for mobile */
    }

    .copyright {
        font-size: 3vw;
        padding: 10px;
    }
}

/* Media Queries for Tablet View (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo {
        justify-content: center; /* Center-align logo for tablets */
    }

    .main {
        height: auto; /* Allow height to adjust */
        font-size: 3vw; /* Adjust font size for tablets */
        padding: 100px 20px;
    }

    .main label {
        font-size: 4vw; /* Larger font size for tablets */
        margin-bottom: 10px;
    }

    .main p {
        font-size: 3.5vw; /* Larger font size for tablets */
    }

    .copyright {
        font-size: 3vw;
        padding: 10px;
    }
}
