:root {
    --red: #D84141;
    --yellow: #EBA40B;
    --blue: #4158C8;
    --medium-blue: #0582b8;
    --light-blue: #EAF4F8;
    --green: #1E855D;
}

* {
    box-sizing: border-box;
}

.red {
    color: var(--red);
}

.yellow {
    color: var(--yellow); 
}

.blue {
    color: var(--blue); 
}

.medium-blue {
    color: var(--medium-blue); 
}

.green {
    color: var(--green); 
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.font-half {
    font-size: 0.5em;
}

.font-large {
    font-size: 1.5rem;
}

.text-center {
    text-align: center;
}

.rounded-border {
    border: 3px solid black;
    border-radius: 10%;
}

p {
    margin: 0;
    color: var(--text-color);
}

html {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

body {
    margin: 0;
    padding-inline: 10%;
}

b {
    font-weight: 700;
}

main {
    max-width: 1080px;
    margin: auto;
}

main > section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

details {
    margin-block: 1rem;
}

details > summary {
    color: var(--medium-blue);
    font-weight: 700;
    list-style-position: outside;
}

details > p {
    margin-block: 0.5rem;
}

hr {
    width: 100px;
}

.two-column {
    display: grid;
    grid-template-columns: 100%;
    gap: 1rem;
}

.vertical-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.spaced-out {
    margin: 2rem;
}

.card {
    max-width: 90%;
    margin: auto;

    border-radius: 15px;

    padding: 5%;
}

.fake-masonry {
    display: block;
}

.fake-masonry > .item {
    max-width: 100%;
    display: block;
}

.fake-masonry > .item {
    margin-block: 1rem;
}

.image {
    display: block;
    max-width: 400px;
    max-height: 400px;
}

@media (min-width: 1200px) {
    .card {
        width: 1080px;
    }

    .two-column {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 1rem;
    }

    .fake-masonry {
        display: block;
        columns: 3;
        gap: 1rem;
    }

    .fake-masonry > .item {
        max-width: 100%;
    }

    .fake-masonry > .item + .item {
        margin-top: 1rem;
    }
}

