@font-face {
    font-display: swap;
    font-family: 'Author-Bold';
    src: url(fonts/Author-Bold.otf);
}

@font-face {
    font-display: swap;
    font-family: 'Author-SemiBold';
    src: url(fonts/Author-Semibold.otf);
}

@font-face {
    font-display: swap;
    font-family: 'Author-Medium';
    src: url(fonts/Author-Medium.otf);
}

@font-face {
    font-display: swap;
    font-family: 'LibreBaskerville-Bold';
    src: url(fonts/LibreBaskerville-Bold.woff);
}

@font-face {
    font-display: swap;
    font-family: 'LibreBaskerville-Regular';
    src: url(fonts/LibreBaskerville-Regular.woff);
}

@font-face {
    font-display: swap;
    font-family: 'LibreBaskerville-Italic';
    src: url(fonts/LibreBaskerville-Italic.woff)
}

body {
    margin: 15px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 30px);
}

main {
    flex: 1;
}

.header-container,
.footer-container {
    display: flex;
    flex-direction: row;
    font-family: 'Author-Bold';
}

.footer-container {
    justify-content: space-between;
}

#name-header {
    flex: 1;
    text-align: left;
}

#name-header a,
#contact-header a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

#title-header {
    flex: 4;
    text-align: center;
}

#contact-header {
    flex: 1;
    text-align: right;
}

nav ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 10px;
}

nav {
    text-align: center;
}

nav ul {
    padding: 0;
}

header {
    margin-bottom: 50px;
}

section {
    margin-bottom: 30px;
}

/* .full-screen-project-tile img {
    margin-bottom: 20px;
} */
.full-screen-project-tile {
    display: flex;
    flex-direction: column;
    flex: 1
}

.two-project-tile,
#more-project-component {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#copyright {
    display: flex;
    align-items: center;
}

footer nav ul li a,
header nav ul li a {
    text-decoration: none;
    color: black;
}

header nav ul li a {
    font-family: 'LibreBaskerville-Regular';
}

header nav ul li a:hover {
    text-decoration: underline;
    color: black;
    cursor: pointer;
    font-family: 'LibreBaskerville-Italic';
}

footer nav ul li a:hover {
    cursor: pointer;
}

.project-title {
    font-family: 'Author-Bold';
}

.project-categories {
    font-family: 'LibreBaskerville-Italic';
}

#carousel {
    cursor: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-y: hidden;
    overflow-x: scroll;
}

.carousel-item {
    flex: 0 0 100%;
}

#carousel-cursor {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('assets/caroussel_arrow.svg');
    top: 150px;
    left: 500px;
    pointer-events: none;
    transition: transform 0.2s
}

.project-info-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.project-info-item-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-year-title,
.project-description-title {
    margin: 0;
    margin-bottom: 15px;
    font-family: 'Author-Bold';
    font-size: 18px;
}

.project-description-content,
.project-year-content {
    margin: 0;
    margin-right: 15px;
    font-family: 'Author-Medium';
}

.tile-redirect-box {
    text-decoration: none;
    color: initial;
}

.project-from-catgory {
    text-decoration: underline;
}

.tile-redirect-box {
    flex: 1;
}

.full-screen-project-tile img,
.full-screen-project-tile video {
    width: 100%;
    margin-bottom: 10px;
}

.project-thumbnail-container {
    position: relative;
}

.project-thumbnail-img {
    width: 100%;
    display: flex;
    opacity: 1;
    transition: opacity 1s ease;
}

.project-thumbnail-img-hover {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.more-project-separator {
    margin: 40px 0;
}

.see-more-project-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.see-more-project-button button {
    font-family: 'Author-Bold';
    font-size: 16px;
    border: solid black 1px;
    padding: 10px 20px;
    background-color: white;
    cursor: pointer;
}

#contact-header-info-mobile {
    display: none;
}

.br-mobile {
    display: none;
}

@media (max-width : 600px) {
    header nav {
        font-size: 14px;
    }

    .two-project-tile,
    #more-project-component,
    .project-info-container {
        flex-direction: column;
        gap: 0;
    }

    #more-project-component .full-screen-project-tile,
    .project-info-item-container {
        margin-bottom: 30px;
    }

    .two-project-tile>.tile-redirect-box:nth-of-type(1) {
        margin-bottom: 20px;
    }

    section {
        margin-bottom: 20px;
    }

    #contact-header-info-mobile {
        display: block;
    }

    #contact-header-info-desktop {
        display: none;
    }

    .project-categories {
        font-size: 14px;
    }

    .footer-container {
        font-size: 14px;
    }

    header {
        margin-bottom: 25px;
    }

    .br-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }
}

#archive {
    display: flex;
    justify-content: center;
    align-items: center;
}