﻿.container-stay-connected {
    max-width: var(--normal);
    margin: 0 auto;
    display: flex;
    padding: var(--padding-updown-desktop) 10em;
    justify-content: center;
}

.stay-connected-box {
    width: 95%;
    display: flex;
    grid-gap: 2em;
    padding: 1.5em;
    border-radius: 15px;
    border: 1px solid var(--main-blue);
    color: var(--main-blue);
    align-items: center;
}

.stay-connected-logo-container {
    max-height: 6vh;
    display: flex;
    align-items: center;
    max-width: 30%;
}

.stay-connected-content {
    flex-grow: 1;
    width: 100%;
}

.stay-connected-logo-container img {
    max-height: 6vh;
    width: 100%;
}

.stay-connected-content-email {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

    .stay-connected-content-email header {
        width: 100%;
        flex-grow: 1;
        text-align: center;
    }

.stay-connected-content-email-input-container {
    display: flex;
    grid-gap: 0.5em;
    align-items: center;
    flex-grow: 1;
}

.stay-connected-content-email-inputfield {
    flex-grow: 1;
    background-color: var(--background-blue);
    border-radius: 10px;
    padding: 0 0.25em;
    display: flex;
    align-items: center;
}

    .stay-connected-content-email-inputfield input {
        width: 100%;
        background-color: transparent;
        outline: none;
        border: 0;
        font-size: var(--font-small-title-desktop);
    }

.stay-connected-content-title {
    font-size: var(--font--small-title-desktop);
}

.stay-connected-content-email-label {
    font-size: var(--font-text-desktop);
    color: var(--dark-grey);
    font-weight: 600;
    margin-bottom: 0.5em;
}

.stay-connected-content-email-btn {
    align-items: center;
    display: flex;
}

.stay-connected-content-email-btn a {
    font-size: var(--font-text-desktop);
    background-color: var(--btn-normal);
    border-radius: 10px;
    color: white;
    padding: 0.5em 1.5em;
    border: 0;
    font-weight: 600;
    text-decoration:none;
}

    .stay-connected-content-email-btn a:hover {
        background-color: var(--btn-hover);
        text-decoration: none;
    }

@media only screen and (max-width: 70em) {
    .container-stay-connected {
        padding: var(--padding-updown-tablet) 3em;
    }

    .stay-connected-logo-container img {
        max-height: 4vh;
    }

    .stay-connected-content-title {
        font-size: var(--font-small-title-tablet);
    }

    .stay-connected-content-email-label {
        font-size: var(--font-text-tablet);
        color: var(--dark-grey);
        font-weight: 600;
    }

    .stay-connected-content-email-btn {
        font-size: var(--font-text-tablet);
    }

    .stay-connected-content-email-inputfield input {
        font-size: var(--font-small-title-tablet);
    }
}

@media only screen and (max-width: 50em) {
    .container-stay-connected {
        padding: var(--padding-updown-mobile) 1em;
    }

    .stay-connected-box {
        grid-gap: 0;
        padding: 1em;
    }

    .stay-connected-logo-container {
        display: none;
    }

    .stay-connected-content-email-btn button {
        font-size: var(--font-text-mobile);
        padding: 0.3em 1em;
        border-radius: 7px;
    }

    .stay-connected-content-title {
        font-size: var(--font-small-title-mobile);
    }

    .stay-connected-content-email-label {
        font-size: var(--font-text-mobile);
        margin-top: 0.3em;
        margin-bottom: 0.5em;
    }

    .stay-connected-content-email-inputfield {
        border-radius: 7px;
    }

    .stay-connected-content-email-input-container {
        grid-gap: 2vmin;
    }

    .stay-connected-content-email-inputfield input {
        font-size: var(--font-small-title-mobile);
    }
}
