.newsletter
{
    width: 100%;
    height: 20rem;
    background: -webkit-linear-gradient(#f2f2f2 50%, #2f244e 50%);
}

.newsletter-layer
{
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 6rem;
    margin: 0 16rem;
    background: var(--second-bg-color);
    box-sizing: border-box;
    border-radius: 4rem;
}

.text-layer h6
{
    font-size: 1.4rem;
}

.text-layer h2
{
    font-size: 3.6rem;
}

.input-layer
{
    width: 60%;
    display: flex;
    column-gap: .2rem;
}


.input-layer input,
.input-layer label
{
    flex: 1 0 10rem;
    width: 20rem;
    padding: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    /* border: 1px solid var(--maion-color); */
    border-radius: 1.6rem;
    box-shadow: inset 1rem 1rem 1rem #cbc3d1, inset -1rem -1rem 1rem #ffffff;
    margin: .7rem 1rem;
}

.input-layer label #interest
{
    opacity: 1;
    border-radius: 1rem;
}

.input-layer button
{
    flex: 1 0 5rem;
}

.input-layer .place 
{
    background: #c5c2c2;
    color: #1d1c1c;
}

.input-layer a
{
    padding: 1.2rem 5rem;
    height: 5rem;
    margin-top: 1rem;
}

.footer
{
    width: 100dvw;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background-color: #2f244e;
    color: var(--bg-color);
}

.footer-details
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    font-size: 1.6rem;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

.footer-details h3
{
    color: var(--bg-color);
    text-decoration: underline;
}

.details
{
    display: flex;
    width: 37%;
    flex-direction: column;
    row-gap: 2rem;
}

.footer-logo img
{
    width: 60%;
    border-radius: 10px;
}

.social-icon
{
    display: flex;
    column-gap: 2rem;
    margin-bottom: 4rem;
}

.social-icon .social-media a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin: 0;
    background: var(--bg-color);
}

.social-icon .social-media a:hover
{
    background: var(--maion-color);
    border-color: var(--bg-color);
    box-shadow: 0 0 1rem var(--bg-color);
}

.touch
{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.touch a,
.quick-links a
{
    color: var(--bg-color);
    transition: .5s ease;
}

.touch a:hover,
.quick-links a:hover
{
    color: var(--maion-color);
}

.footer-details span
{
    font-size: 2rem;
}

.quick-links
{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.subscribe input
{
    text-indent: 1rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    /* border: 1px solid var(--maion-color); */
    border-radius: 1.6rem;
    box-shadow: inset 1rem 1rem 1rem #cbc3d1, inset -1rem -1rem 1rem #ffffff;
    margin: .7rem 0;
}

.subscribe .button
{
    padding: 1rem 2rem;
}

.footer-text p
{
    font-size: 1.6rem;
}

.footer-iconTop a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--maion-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover
{
    box-shadow: 0 0 1rem var(--maion-color);
}

.footer-iconTop a i
{
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* Max Width 1200px */
@media (max-width: 1200px) {
    .newsletter-layer {
        margin: 0 8rem;
        padding: 0 4rem;
    }

    .input-layer {
        width: 75%;
    }
}

/* Max Width 991px */
@media (max-width: 991px) {
    .newsletter-layer {
        width: 85dvw;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        margin: 0 4rem;
    }

    .input-layer {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
    }

    .input-layer input,
    .input-layer lable,
    .input-layer a {
        width: 50%;
        height: 5rem;
        margin: 1rem 1rem;
    }
}

/* Max Width 768px */
@media (max-width: 768px) {
    .newsletter {
        height: auto;
        padding: 2rem 0;
    }

    .newsletter-layer {
        border-radius: 2rem;
        padding: 1rem;
    }

    .text-layer h2 {
        font-size: 2.8rem;
    }

    .input-layer {
        width: 100%;
    }

    .footer-logo img {
        width: 80%;
        border-radius: 1rem;
    }
}

/* Max Width 617px */
@media (max-width: 617px) {
    .newsletter-layer {
        margin: 0 2rem;
        padding: 1rem;
    }

    .text-layer h2 {
        font-size: 2.4rem;
    }

    .input-layer input,
    .input-layer label {
        height: 2rem;
        width: 40%;
        font-size: 1.2rem;
        padding: 0.8rem 0;
    }

    .input-layer .query {
        padding: 2rem 0;
    }
}

/* Max Width 580px */
@media (max-width: 580px) {
    .newsletter {
        height: auto;
        padding: 2rem;
    }

    .text-layer h2 {
        font-size: 2rem;
    }
}

/* Max Width 450px */
@media (max-width: 450px) {
    .newsletter-layer {
        margin: 0 1rem;
        padding: 0.5rem;
    }

    .text-layer h2 {
        font-size: 1.8rem;
    }

    .input-layer {
        width: 100%;
    }

    .input-layer input,
    .input-layer #interest {
        font-size: 1.5rem;
        padding: 0.7rem;
    }

    .input-layer #interest {
        position: initial;
        background-color: #ffffff00;
    }

    .input-layer .query {
        padding: 2rem;
        margin: 0;
        border-radius: 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }
}

/* Max Width 365px */
@media (max-width: 365px) {
    .text-layer h6 {
        font-size: 1.2rem;
    }

    .text-layer h2 {
        font-size: 1.6rem;
    }
}
