@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-Regular.ttf') format('truetype');
}

* {
    font-family: 'Poppins';
}

html {
    height: 100%;
}
body {
    height: 100%;
    background-color: #1be279;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.header {
    height: 6rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.header-right {
    display: flex;
    justify-content: flex-end;
    margin-right: 2rem;
}
.contact-btn {
    background-color: black;
    padding: 1rem;
    color: #1be279;
    width: 7.5rem;

    height: 1.3rem;
    text-align: center;
    border-radius: 2.3rem;
    margin-right: 0.8rem;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid black;

    z-index: 2;
}

.notified-btn {
    border: 2px solid black;
    padding: 1rem;
    color: black;
    width: 7.5rem;
    height: 1.2rem;
    text-align: center;
    line-height: 0;
    border-radius: 2.3rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
    align-items: center;
    z-index: 2;
}

a:not(:last-of-type) {
    margin-right: 15px;
}
@media all and (min-width: 515px) {
    .contact-btn,
    .notified-btn {
        padding: 0;
        width: 206px;
        height: 66px;
        font-size: 18px;
    }
    a:not(:last-of-type) {
        margin-right: 35px;
    }
}
.hero {
    height: calc(80% - 6rem);
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero > img {
    width: 82%;
    max-width: 595px;
}

.social {
    display: flex;
    height: 10%;
    justify-content: center;
}

.social.desktop > a > .social-icon {
    width: 46px;
    height: auto;
}
.social.mobile > a > .social-icon {
    width: 32px;
    height: auto;
}

.email-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    z-index: 2;
}

.cancel-svg {
    position: absolute;
    right: -2rem;
    top: -1.6rem;
    cursor: pointer;
    width: 24px;
}

.email-input {
    height: 1.5rem;
    border-radius: 2rem;
    font-size: 18px;
    padding: 1rem 1.5rem;
    padding-right: 12rem;
}

.subscribe-btn {
    background: #1be279;
    padding: 1rem;
    color: black;
    width: 8rem;
    height: 1.25rem;
    text-align: center;
    border-radius: 2.3rem;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    right: 0;
    top: 0;
    cursor: pointer;
    margin-left: -10rem;
}

.email-modal-inner {
    position: relative;
    display: flex;
}

input {
    -webkit-appearance: none;
    box-shadow: none !important;
    border: none;
}
:-webkit-autofill {
    color: #fff !important;
}

#fade-background {
    height: 100vh;
    width: 100%;
    background: black;
    position: fixed;
    z-index: 1;
    opacity: 0.7;
}

@media screen and (max-width: 662px) {
    .email-input {
        width: 11rem;
    }
}

.social.mobile {
    display: none;
}

.header.mobile {
    display: none;
}

@media screen and (max-width: 515px) {
    .social.mobile {
        display: block;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .social.desktop {
        display: none;
    }
    .header.mobile {
        display: block;
        margin-top: 0;
        margin-bottom: 37px;
    }
    .header.desktop {
        display: none;
    }
    .cancel-svg {
        right: -1.3rem;
    }
    .email-input {
        width: 11rem;
        padding-right: 8rem;
    }
    .subscribe-btn {
        width: 5rem;
        margin-left: -7rem;
    }
    .header {
        align-items: unset;
        justify-content: unset;
        height: unset;
    }
    .header-right {
        margin-right: 0;
        width: 100%;
        margin-top: 2rem;
        flex-direction: column;
        align-items: center;
    }
    .contact-btn {
        margin-right: 0;
        margin-bottom: 18px;
        width: 80%;
        max-width: 80%;
    }
    .notified-btn {
        width: 80%;
        max-width: 80%;
    }
    .social {
        height: 12%;
    }
}

@media screen and (max-width: 375px) {
    .email-input {
        width: 8rem;
        padding-right: 8rem;
    }
}

@media screen and (max-width: 325px) {
    .email-input {
        width: 6rem;
        padding-right: 8rem;
    }
}
