body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

header {
    width: 100%;
    height: 10vh;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: fixed;
    padding: 0.5rem 2rem;
    box-shadow: 0.1rem 0.1rem 0.5rem 0.2rem rgba(0, 0, 0, 0.2);
}

header .logo {
    height: 4rem;
    object-fit: cover;
}

header .user {
    display: flex;
    position: absolute;
    right: 2rem;
}

header .user img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.default-width {
    width: 60%;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 4rem;
    margin-top: 10vh;
}

section .title {
    width: 100%;
    height: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset -0.1rem 0.3rem 0.5rem 0.2rem rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, rgb(var(--default-color)) 31%, transparent 185%);
}

section .title .background {
    position: absolute;
    background: url("/assets/justice.jpg");
    background-size: cover;
    background-position-y: -10rem;
    width: 70%;
    right: 0;
    height: 12rem;
    z-index: -1;
}

section .title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

section .contact {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0.2rem 0.2rem 0.5rem 0.2rem rgba(0, 0, 0, 0.02);
    display: flex;
}

section .contact .address-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-gap: 2rem;
    width: 50%;
}

section .contact .address-list .address {
    display: flex;
    flex-direction: column;
    grid-gap: 0.3rem;
}

section .contact .address-list .address .address-title {
    display: flex;
    align-items: center;
    grid-gap: 0.5rem;
    padding: 0.5rem 0;
}

section .contact .address-list .address .address-title i {
    font-size: 1.5rem;
    color: rgb(var(--default-color));
}

section .contact .address-list .address .address-title h1 {
    font-size: 1rem;
    font-weight: 600;
}

section .contact .address-list .address a {
    font-size: 1rem;
    font-weight: 600;
    color: #0066cc;
}

section .contact .address-list .address h2 {
    font-size: 1rem;
}

section .contact .email {
    display: flex;
    flex-direction: column;
    grid-gap: 2rem;
    width: 70%;
}

section .contact .email h1 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #303030;
}

section .contact .email .double {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 0.5rem;
    width: 100%;
}

section .contact .email .double span {
    width: 50%;
}

section .contact .email .double h2 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #303030;
}

section .contact .email .double input {
    font-size: 0.9rem;
    color: #303030;
    background-color: #f1f1f1;
    padding: 1rem 1rem;
    border-radius: 0.3rem;
    margin-top: 0.2rem;
    width: 100%;
}

section .contact .email h2 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #303030;
}

section .contact .email textarea {
    resize: none;
    width: 100%;
    height: 10rem;
    background-color: #f1f1f1;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

section .contact .email button {
    width: 10rem;
    align-self: flex-end;
    padding: 0.5rem;
    background-color: rgb(var(--default-color));
    border-radius: 0.2rem;
    color: white;
    cursor: pointer;
}

section .contact .email button:hover {
    background-color: rgba(var(--default-color), 0.6);
}

section .map {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0.2rem 0.2rem 0.5rem 0.2rem rgba(0, 0, 0, 0.02);
    display: flex;
}

footer {
    margin-top: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

footer h1 {
    font-size: 0.9rem;
    color: #303030;
}

footer b,
footer a {
    font-weight: bold;
    color: #303030;
}

@media (max-width: 900px) {
    nav {
        display: none;
    }
    .content {
        width: 100vw;
        margin-left: 0;
    }
    header .logo {
        height: 2rem;
    }
    .default-width {
        width: 90%;
    }
    section {
        grid-gap: 2rem;
    }
    section .title {
        height: 8rem;
    }
    section .title h1 {
        font-size: 2rem;
    }
    section .title .background {
        height: 8rem;
        background-position-y: unset;
    }
    footer h1:nth-child(1) {
        display: none;
    }
    section .contact {
        flex-direction: column;
    }
    section .contact .address-list {
        width: 100%;
    }
    section .contact .email {
        width: 100%;
    }
    section .contact .email .double {
        flex-direction: column;
    }
    section .contact .email .double span {
        width: 100%;
    }
}
