/* Footer */

.subscription {
    background-color: var(--primaryColor);
    padding-top: 50px;
    padding-bottom: 80px;
}

.subscription img {
    padding: 40px;
}

.subscription h6 {
    font-weight: bold;
    color: var(--secondaryColor);
}

.subscription h1 {
    font-weight: bold;
    color: white;
}

.subscription input[type="email"] {
    min-width: 100%;
    border: none;
    border-radius: 40px;
    padding: 10px 20px;
}

.subscription input[type="submit"] {
    width: 100%;
    border: none;
    border-radius: 40px;
    padding: 10px 20px;
    background-color: var(--grey);
    margin-top: 20px;
}

.subscription input[type="submit"]:hover {
    background-color: var(--secondaryColor);
    color: white;
}

.footerMain {
    background-color: var(--grey);
    padding: 10px 50px;
    margin-top: -85px;
    border-radius: 40px;
}

.footerMain .border-start,
.footerMain .border-end {
    border-color: var(--primaryColor) !important;
    padding: 20px 50px !important;
}

.footerMain .p {
    padding: 20px 40px;
}

.link,
.nav-link {
    color: var(--secondaryColor);
    text-decoration: none;
}

/* Responsive */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .footerMain .borderX {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--primaryColor);
        border-bottom: 1px solid var(--primaryColor);
        padding: 25px 10px;
    }

    .subscription h6 {
        text-align: center;
    }

    .subscription h1 {
        font-size: 4.2rem;
        text-align: center;
    }

    .footerMain .logo {
        width: 100%;
    }

    .footerMain .p {
        padding: 20px 0px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .footerMain .borderX {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--primaryColor);
        border-bottom: 1px solid var(--primaryColor);
        padding: 25px 10px;
    }

    .subscription h6 {
        text-align: center;
    }

    .subscription h1 {
        font-size: 6.25rem;
        text-align: center;
    }

    .subscription img {
        width: 50%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .footerMain .borderX {
        border-left: 1px solid var(--primaryColor);
        border-right: 1px solid var(--primaryColor);
        border-top: none;
        border-bottom: none;
    }

    .subscription img {
        width: 100%;
    }

    .subscription form {
        display: flex;
    }

    .subscription input[type="email"] {
        margin-right: 20px;
        width: 500px;
    }

    .subscription input[type="submit"] {
        margin-top: 0px;
    }

    .subscription h6 {
        text-align: left;
    }

    .subscription h1 {
        text-align: left;
    }
}