body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: black;
}

header {
    background-color: #282828;
    margin: 0;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
}

header img {
    height: 40px;
}

header button {
    background: none;
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    margin-left: 10px;
    cursor: pointer;
}

header button:disabled {
    font-weight: normal;
    cursor: default;
}

a.contactButton {
    font-family: 'Content', system-ui;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    padding: 0 1.5em;
    border-width: 4px;
    border-style: solid;
    border-radius: 1em;
    cursor: pointer;
    max-width: fit-content;
}

#titleCard {
    background-image: url("images/pexels-pixabay-78783.jpg");
    background-size: cover;
    height: 600px;
    padding: 0 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#titleCard img {
    width: 200px;
}

#titleCard h1 {
    font-size: 48px;
    font-weight: normal;
    font-family: "Mate SC", serif;
    font-variant: small-caps;
    color: white;
    margin-top: 0;
}

#titleCard a.contactButton {
    color: white;
    border-color: white;
}

#titleCard a.contactButton:hover {
    background-color: rgba(255,255,255,0.2);
}

#content article {
    background-color: #d9d9d9;
    border-radius: 30px;
    width: 62.5%;
    margin: 80px auto 0;
    padding: 36px 48px 48px;
}

#content article h2 {
    font-size: 48px;
    font-weight: normal;
}

#content article h3 {
    font-size: 20px;
    font-weight: bold;
}

#content article h3:first-of-type {
    margin-top: 32px;
}

#content article p, #content article li {
    text-align: justify;
    font-size: 20px;
}

#content a.contactButton{
    color: black;
    border-color: black;
    height: fit-content;
}

#content a.contactButton:hover {
    background-color: rgba(0,0,0,0.2)
}

#grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 48px;
    row-gap: 24px;
}

#carousel-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

#carousel-buttons {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 9;
    top: 0;
    left: 0;
}

#carousel-buttons button {
    height: 100%;
    width: 48px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#carousel-buttons button:first-child.visible {
    background-image: linear-gradient(to left, transparent, #d9d9d9)
}

#carousel-buttons button:last-child.visible {
    background-image: linear-gradient(to right, transparent, #d9d9d9)
}

#carousel-buttons button:disabled {
    cursor: default;
}

#carousel {
    height: 100%;
    display: flex;
    position: relative;
    column-gap: 48px;
    transition: left 1s;
    left: 0;
}

#carousel img {
    max-height: 100%;
    border-radius: 15px;
}

footer {
    background-color: #d9d9d9;
    margin-top: 132px;
    padding: 45px 90px;
    display: flex;
    align-items: center;
    column-gap: 24px;
}
footer p {
    margin: 0.5em 0;
    font-size: 16px;
}

footer img {
    height: 50px;
}

#creds1 {
    border-left: 1px solid black;
    padding-left: 24px;
}