@media (max-width: 655px) {
    footer {flex-direction: column !important;}
    header {
        background: linear-gradient(to bottom, #19489F00 95%, #233771), radial-gradient(circle at top, #19489F00 25%, #233771 60%, #182356), url(/img/hero.jpg) fixed !important;
        justify-content: flex-end !important;
        padding-bottom: 80px !important;
        height: 90svh !important;
    }
    header h2 {
        font-size: 15px !important;
    }
    header h1 {
        font-size: 40px !important;
    }
    header p {
        font-size: 25px !important;
    }
    article > div:first-of-type {
        background: #233771 !important;
        padding: 0 10% !important;
        height: max-content !important;
    }
    article > div:last-of-type {
        justify-content: flex-start !important;
        position: relative;
    }

    .carousel {
        bottom: 20px;
        position: absolute;
        left: 0;
        right: 0;
        height: 30svh;
        mask: linear-gradient(to right, transparent, red 20%, red 80%, transparent) !important;
    }

    .carousel > img {
        height: 30svh !important;
    }
}

body {
    margin: 0;
    color: rgb(235, 247, 255);
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

header {
    background: linear-gradient(to bottom, #19489F00 95%, #233771), radial-gradient(circle at left, #19489F00 25%, #233771, #182356), url(/img/hero.jpg) fixed;
    background-size: contain !important;
    height: 100svh;
    width: 100svw;
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding: 0 10%;
    box-sizing: border-box;
}

header h2 {
    font-weight: normal;
    font-size: 40px;
}

header h1 {
    font-weight: bolder;
    font-size: 80px;
    margin: 0;
}

header h1 span {
    font-weight: 100;
}

header p {
    font-size: 30px;
}

button {
    border-radius: 1000px;
    padding: 10px 20px;
    font-family: Inter, sans-serif;
    background-color: #FFFFFF;
    border: none;
    font-size: 20px;
    color: #205BC7;
    text-shadow: 0 5px 10px #00000020;
    font-weight: 300;
    transition: all 0.2s ease;
    cursor: pointer;
}

button:hover {
    font-weight: 800;
}

button:active {
    font-weight: 800;
    transform: scale(0.98);
    opacity: 0.8;
}

article > div:first-of-type {
    background: linear-gradient(to top, #19489F00 90%, #233771), linear-gradient(to bottom, #19489F00 90%, #182356), radial-gradient(circle at right, #19489F00, #233771, #182356), url("/img/pipes.jpg") fixed;
    background-size: contain;
    height: 50svh;
    width: 100svw;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0 60% 0 10%;
    box-sizing: border-box;
}

article > div:first-of-type p {
    font-size: 19px;
    text-align: justify;
}

article > div:last-of-type {
    background-color: #182256;
    height: 50svh;
    width: 100svw;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0 10%;
    box-sizing: border-box;
}

article > div:last-of-type > div:first-of-type {
    z-index: 10;
}

footer {
    background-color: #111942;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    display: flex;
    padding: 40px 10%;
    box-sizing: border-box;
}

footer > div:first-of-type {
    flex-grow: 1;
}

footer > div:last-of-type {
    width: 300px;
}

footer .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

footer img {
    height: 50px;
    aspect-ratio: 1/1;
    margin-right: 10px;
}

footer h2 span {
    font-weight: 100;
}

.carousel img {
    height: 40svh;
    border-radius: 5px;
}

.carousel {
    display: flex;
    gap: 10px;
    position: absolute;
    mask: radial-gradient(circle at right, transparent 10%, red, transparent 90%);
}
