* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: 400;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --secondary-color: #FF9E00;
}

@media (max-width: 992px) {
    :root {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    :root {
        font-size: 14px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

@font-face {
    font-family: PP Mori;
    src: url(fonts/PPMori-Regular.woff);
}

@font-face {
    font-family: PP Mori;
    src: url(fonts/PPMori-RegularItalic.woff);
    font-weight: 400;
    font-style: italic;
}

body {
    color: var(--primary-color);
    font-family: PP Mori;
}

body.about {
    color: var(--secondary-color);
}

/* =========================== GRID ========================= */

.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 992px) {
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.row {
    --bs-gutter-x: 1rem;
}

/* =========================== HEADER ========================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-bottom: 1px solid var(--primary-color);
    padding: 0 2rem;
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    header {
        padding: 0 1.5rem;
    }
}

header.about {
    border-bottom: 1px solid var(--secondary-color);
}

header .logo img {
    height: 3rem;
    display: block;
    width: 4rem;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

@media (max-width: 576px) {
    header nav ul li {
        margin-left: 1rem;
    }
}


/* =========================== MAIN ========================= */

main {
    margin-top: 4rem;
    min-height: calc(100vh - 6.5rem);
}
main.home{
    background-image: url("../img/logo.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    main.home{
        background-size: auto 50%;
        background-position: center;
    }
}

.home div {
    height: 100%;
    display: flex;
    left: auto;
    align-items: center;
}

.home div img {
    width: 100%;
    height: auto;
}

main.work {
    padding-top: 2rem;
}

main.single {
    padding: 2rem 0;
}

main.about {
    margin-top: 4rem;
    padding: 2rem 0;
}

@media (max-width: 992px) {
    main.work {
        padding-top: 1.5rem;
    }

    main.single {
        padding: 1.5rem 0;
    }

    main.about {
        padding: 1.5rem 0;
    }
}

/* =========================== WORK CARD ========================= */

.work .card {
    margin-bottom: 2rem;
}

.work .card:hover .card-title {
    border: 1px solid #0066FF;
    border-radius: 100%;
}

@media (max-width: 992px) {
    .work .card {
        margin-bottom: 1.5rem;
    }
}

.work .card-image {
    width: 100%;
    padding-bottom: 65%;
    background-image: url(../img/beyond-binary/beyond-1.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .work .card-image {
        margin-bottom: 1rem;
    }
}

.work .card-title {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding: .5rem 0;
}

@media (max-width: 992px) {
    .work .card-title {
        font-size: 1.5rem;
    }
}

.work .card-text {
    font-size: 1.25rem;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .work .card-text {
        font-size: 1rem;
    }
}

/* =========================== SINGLE ========================= */

.single-info {
    position: sticky;
    top: 6rem;
}

@media (max-width: 992px) {
    .single-info {
        top: 5.5rem;
    }
}

.single-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .single-title {
        margin-bottom: 1rem;
    }
}

.single-text {
    line-height: 1.3;
}

@media (max-width: 576px) {
    .single-info {
        position: static;
    }

    .single-title {
        margin-bottom: 1rem;
    }

    .single-text {
        margin-bottom: 2.5rem;
    }
}

.single-tagline {
    font-size: 1rem;
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 2rem;
}

.single-images {
    list-style: none;
}

.single-image+.single-image {
    margin-top: 1rem;
}

.single-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

/* =========================== ABOUT ========================= */

.about-contacts {
    font-size: 1rem;
    line-height: 1.3;
    list-style: none;
}

.about-contacts+.about-contacts {
    margin-top: 2rem;
}

.about-text {
    font-size: 2.5rem;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .about-text {
        font-size: 1.5rem;
        padding-top: 1rem;
    }
}

/* =========================== FOOTER ========================= */

footer {
    height: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-top: 1px solid var(--primary-color);
    padding: 0 2rem;
    font-size: 1rem;
}

@media (max-width: 992px) {
    footer {
        padding: 0 1.5rem;
    }
}

footer.about {
    border-top: 1px solid var(--secondary-color);
}

footer nav ul {
    list-style: none;
    display: flex;
}

footer nav ul li {
    margin-left: 2rem;
}