@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Libre Franklin';
    font-size: 20px;
}

.logo {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.texts {
    margin-top: 40px;
    text-align: center;
}

h1 {
    color: #969696;
    font-weight: 300;
}

h1 > span {
    color: #000000;
    font-weight: 700;
}

.texts > p {
    margin-top: 20px;
    font-weight: 300;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 15px;
    margin: 50px 0 20px;
    padding: 0 15px;
}

input[type="email"] {
    border: 1px solid #c2d3ff;
    transition: border-color 0.3s ease, color 0.3s ease;
    width: 100%;
    padding: 15px;
    border-radius: 25px;
}

input[type="email"]:focus {
    outline: none;
}

input[type="email"].error {
    border-color: #e74c3c;
    color: #e74c3c;
}

form > #button {
    padding: 15px;
    border-radius: 25px;
    background-color: #4f7df3;
    box-shadow: 5px 5px 5px #c2d3ff;
    color: #ffffff;
    font-family: 'Libre Franklin';
    font-weight: 600;
    word-spacing: 3px;
}

form > #button:hover {
    cursor: pointer;
    background-color: #7194ec;
}

#message {
    font-size: 15px;
    margin-bottom: 30px;
}

.error-message {
    color: #e74c3c;
}

.banner {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 10px;
}

.banner > img {
    width: 100%;
}

.social-media {
    display: flex;
    margin: 40px 0;
    gap: 20px;
}

.social-media > ion-icon {
    border: 1px solid #c2d3ff;
    border-radius: 50%;
    padding: 10px;
    color: #4f7df3;
}

.social-media > ion-icon:hover {
    color: #ffffff;
    background-color: #4f7df3;
    cursor: pointer;
}

#copyright-section {
    color: hsl(0, 0%, 59%);
    font-size: 16px;
}

footer {
    margin: 50px 0 20px;
    font-size: 16px;
    text-align: center;
}

footer > p > a {
    text-decoration: none;
}

@media screen and (min-width: 600px) {
    form {
        flex-direction: row;
    }

    form > #email {
        width: 400px;
    }

    form > #button {
        width: 150px;
    }

    .banner > img {
        width: 50%;
    }

    footer {
        display: flex;
        gap: .5rem;
    }
}