.content h1 {
    color: #171981;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.content h2 {
    color: #171981;
    text-align: center;
    font-size: 2rem;
    margin: 2rem auto;
    width: 60rem;
    max-width: 100%;
}

.content h3 {
    text-align: center;
    font-size: 1.75rem;
    -webkit-background-clip: text;
}

.content p {
    text-align: center;
    font-size: 2rem;
}

.content > p:nth-of-type(2) {
    width: 30rem;
    max-width: 100%;
    margin: 3rem auto 2rem;
}

.content > p:nth-of-type(3) {
    color: #171981;
}

.flag {
    display: block;
    width: 10rem;
    max-width: 100%;
    margin: 3rem auto;
}

.services {
    display: flex;
}
.service {
    width: 33%;
    margin: 0 .5rem;
}
.service > div {
    position: relative;
    height: 22vw;
    max-height: 20rem;
    background-color: white;
}
.service img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}

.service img.active {
    opacity: 1;
}

.service .link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 70%;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 5px;
    opacity: 0;
    transition: all .3s ease;
}
.service .link.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
}
.service .link p {
    color: white;
    padding: 1rem;
    font-size: 1rem;
}
.service .name {
    color: #171981;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
}
.service .name:nth-of-type(2) {
    margin: .5rem 0 0;
}

@media (max-width: 768px) {
    .content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .content h2 {
        font-size: 1.5rem;
        margin: 1rem auto;
    }
    .content h3 {
        font-size: 1.25rem;
    }
    .content p {
        font-size: 1.25rem;
    }
    .flag {
        margin: 2rem auto;
    }

    .services {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .service {
        width: 100%;
        margin-bottom: 1rem;
    }
    .service > div {
        height: 80vh;
    }
    .service .link {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .service .name {
        margin-top: .5rem;
    }
}