body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #58a0a2;
    color: white;
}

.container {
    text-align: center;
    min-width: 300px;
    padding: 20px;
}

.logo {
    max-width: 300px;
    margin-top: -100px;
    margin-left: 5px;
    align-items: center;
}

p.main-text {
    font-family: "Poppins", sans-serif;
    margin-bottom: 40px;
    margin-top: 50px;
    font-size: 4em;
    font-weight: bold;
    line-height: 0.9;
}

p.sub-text {
    font-family: "Poppins", sans-serif;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-left: 10px;
}

input[type="email"] {
    flex: 1;
    padding: 20px;
    font-size: 1em;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 252, 252, 0.5);
    color: rgb(51, 51, 51);
    font-family: "Poppins", sans-serif;
}

input[type="email"]::placeholder {
    color: rgba(47, 47, 47, 0.7);
}

input[type="email"]:focus {
    outline: none;
}

button {
    padding: 20px 20px;
    font-size: 1em;
    background-color: white;
    color: rgba(0, 0, 0, 1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-right: 100;
    font-family: "Poppins", sans-serif;
    transition: transform 0.3s ease;
}

button:hover {
    background-color: #ffffff;
    transform: scale(1.1);
}

.popup {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, top 0.5s ease-in-out;
    z-index: 9999;
}

.popup.show {
    top: 20px;
    opacity: 1;
}

.popup.hide {
    top: -100px;
    opacity: 0;
}

.popup.success {
    background-color: rgb(93, 192, 93);
}

.popup.error {
    background-color: red;
}

.socials {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.socials a {
    margin: 0 10px;
    text-decoration: none;
}

.socials img {
    width: 40px;
    transition: transform 0.3s ease;
}

socials img:hover {
    transform: scale(1.1);
}

.message {
    margin-top: 10px;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .logo {
        max-width: 200px;
        margin-top: -50px;
    }
    p.main-text {
        font-size: 2.5em;
        margin-top: 20px;
    }
    p.sub-text {
        font-size: 1em;
    }
    .email-container {
        flex-direction: column;
        gap: 10px;
    }
    input[type="email"] {
        padding: 15px;
        font-size: 0.9em;
        width: 80%;
    }
    button {
        padding: 15px 20px;
        font-size: 0.9em;
        margin-right: 0;
    }
    .socials {
        bottom: 2px;
    }
}
