.crimson-text-regular {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
}

.crimson-text-semibold {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-style: normal;
}

.crimson-text-bold {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    font-style: normal;
}

.crimson-text-regular-italic {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: italic;
}

.crimson-text-semibold-italic {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-style: italic;
}

.crimson-text-bold-italic {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    font-style: italic;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    background-image: linear-gradient(200deg, #a6fbff, #DCFFEA);
    min-height: 100vh;
    color: #175F7D;
    font-family: Crimson Text, Helvetica, sans-serif, sans-serif;
    font-weight: bold;
}

header {
    background-color: #175F7D;
    font-size: 2em;
    margin: auto;
    text-align: center;
    color: white;
}

header h1 {
    text-align: center;
    padding: 0.25em;
}

hr {
    border: none;
    height: 2px;
    width: 100vw;
    background-color: #175F7D;
}

.info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50vw;
    max-width: 95vw;
    margin: auto;
    gap: 1em;
    margin: 0.5em auto;
}

.disclaimer {
    font-size: 0.75em;
    text-align: center;
    padding-top: 0.5em;
}

.comm, .schedule {
    text-align: center;
    border: 2px solid;
    border-radius: 15px;
    width: 50%;
    padding: 1em;
    margin: auto;
    background-color: #ffffff75;
}

.cardarea {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.cardarea div:nth-child(even) {
    transform: rotate(0.5deg);
}

.cardarea div:nth-child(even) div{
    transform: rotate(-0.5deg);
}

.cardarea div:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.cardarea div:nth-child(odd) div{
    transform: rotate(0.5deg);
}

.card {
    background-color: white;
    display: flex;
    gap: 1em;
    width: 500px;
    max-width: 95vw;
    margin: 1em auto;
    padding: 1em;
    border-radius: 15px;
    border: 2px solid;
    box-shadow: -5px 10px 10px #175F7D90;
    transition-duration: 0.5s;
}

.cardarea div:hover {
    transform: scale(1.1);
}

.client {
    padding-bottom: 0.25em;
}

.card img{
    border-radius: 15px;
}

.row1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row2 {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: auto;
}

.spacer {
    height: 1em;
}

.paid {
    color: green
}

.waiting {
    color: orange
}

.unpaid {
    color: red
}

.notstarted {
    color: red;
}

.working {
    color: black;
}

@media only screen and (max-width: 800px) {
    .card {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }
    .row1 {
        align-items: center;
        margin-bottom: 0.5em;
    }
    .client {
        font-size: 2em;
    }
    h1 {
        font-size: 2.5em;
    }
    .info {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0.5em auto;
        width: 95vw;
    }

    .schedule, .comm {
        width: 95%;
    }
}

@media only screen and (max-width: 400px) {
    .card img {
        width: 200px;
    }
}