/* footer */

footer {
    background-color: #1D2C38;
    margin: 0;
    min-width: 100vw;
    height: 500px;
    padding: 0;
    margin-top: 4rem;
}

footer section:nth-child(1) {
    min-width: 100vw;
    gap: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 80%;
}

footer section article:nth-child(1) img {
    width: 200px;
}

footer section article:nth-child(1) h1,
footer section article:nth-child(1) h2 {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 2px;
}

footer section:nth-child(2) {
    background-color: #172530;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
}

footer section:nth-child(2) h1 {
    color: #118bee;
    font-size: 1rem;
    font-weight: 550;
}

footer section:nth-child(2) p {
    color: rgb(206, 206, 206);
    font-size: 1rem;
    font-weight: 550;
    width: 400px;
}

.links-box {
    height: 70%;
}

.links-box h2 {
    color: #118bee;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.links-box i {
    color: #118bee;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.links-box div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
}

.links-box div a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.2s;
}

.links-box div a:hover {
    color: #118bee;
    transition: 0.2s;
}


/* Mobile */

@media screen and (max-width: 1200px) {
    footer {
        /* overflow: hidden; */
        width: 100vw;
        height: auto;
    }
    footer section {
        width: 100%;
        flex-wrap: wrap;
        justify-content: start;
    }
    footer section:nth-child(1) {
        margin: 0;
        padding: 0;
        gap: 1rem;
    }
    footer section:nth-child(1) article:nth-child(1) {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 2rem;
    }
    footer section:nth-child(2) {
        flex-wrap: wrap;
        gap: 0;
    }
    footer section:nth-child(2) p {
        width: auto;
        text-align: center;
        margin: 0;
        margin-bottom: 1rem;
        padding: 0;
    }
    footer section:nth-child(2) h1 {
        margin-top: 1rem;
        padding: 0;
    }
    .links-box {
        width: 300px;
    }
    .links-box {
        margin-bottom: 2rem;
    }
}