html, body {
    color: white;
    height: 100%;
}

body {
    overflow-y: scroll;
    background-image: url("../public/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    background-color: #fff;
}

header img {
    pointer-events: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

section {
    padding-top: 5rem;
    width: 85%;
    margin-right: auto;
    margin-left: auto;
}

nav {
    display: flex;
    gap: 4rem;
}

nav .card {
    background-color: rgba(255, 255, 255, 0.1);
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    padding-top: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

nav .card h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
}

nav .card p {
    font-size: 22px;
    text-align: justify;
    font-weight: 200;
    margin: 0;
    line-height: 2rem;
}

nav .card .btn-wrapper {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

nav .card a.btn {
    font-weight: 200;
    font-size: 20px;
    color: white;
    padding: 0.5rem 1.5rem;
    border: 2px solid white;
    text-decoration: none;
    width: min-content;
    border-radius: 5px;
    transition: 0.2s background-color;
}

nav .card a.btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

hr {
    margin-top: 4rem;
    margin-bottom: 3rem;
    width: 80%;
    color: white;
}

.details {
    display: flex;
    padding-bottom: 5rem;
}

.left, .right {
    text-align: center;
    flex: 1;
}

.tel {
    margin-bottom: 1rem;
}

.details img {
    width: 30px;
}

.details .heading {
    margin: 0;
    font-weight: 1000;
    font-size: 25px;
}

.details .name {
    margin-top: 10px;
    font-weight: 400;
}

.details a {
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.details a:hover {
    text-decoration: underline;
}

.details .middle {
    text-align: center;
    align-self: end;
    margin-bottom: -5vh;
}

.details .middle h4 {
    margin-bottom: 6px;
}

.details .middle p {
    margin-top: 0;
}

@media screen and (max-width: 900px) {
    html, body {
        height: max-content;
    }


    nav {
        flex-direction: column;
    }
}


@media screen and (max-width: 600px) {
    .details {
        flex-direction: column;
        gap: 5vh;
    }
    .details .middle {
        order: 3;
        margin-top: 0;
        align-self: center;
    }
}

