@font-face {
    font-family: 'Fredericka the Great';
    src: url('./fonts/FrederickatheGreat-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Bootstrap Icons';
    src: url('./libs/bootstrap-icons-1.13.1/fonts/bootstrap-icons.woff') format('woff');
    font-weight: normal;
}

:root {
    --bs-dark-rgb: 8,4,2;
}

* {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: normal;
    box-sizing: border-box;
}

.z-foreground {
    z-index: 99!important;
}

body {
    width: 100%;
    min-width: 100vw;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Calibri, Helvetica, 'sans-serif';
}

.bg-dark.text-light *{
    color: var(--bs-white);
}

.bg-dark.text-light .active, .bg-dark.text-light .active:hover {
    color: var(--bs-white);
}

.text-decorative-1 {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
}

.logo {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    filter: invert(1);
}

.page-header{
    height: 100%;
}

aside{
    height: 100vh;
}

aside .aside-content {
    display: block;
    height: 80%;
    min-height: 80vh;
}

.tile-container{
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    height: 100%;
    overflow-y: scroll;
    max-height: 100vh;
    scroll-behavior: smooth;
}

.tile-container::-webkit-scrollbar {
    background-color: transparent;
    width: 0;
}

.tile {
    min-height: 20vh;
    aspect-ratio: 1;
    overflow: hidden;
}

.tile-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.3);
    animation: brightnessChange 5s ease-in-out infinite;
}

.tile-image:hover, .tile:active .tile-image, .tile:focus .tile-image {
    filter: brightness(1) !important;
    animation: none !important;
    transition: filter 0.5s linear;
}

.tile-article {
    padding: 1em;
    width: 100%;
    height: 100%;
    font-size: 2rem;
}

.tile-article h1 {
    font-weight: bold;
    font-size: 2em;
    padding-bottom: 1em;
}

.tile-article .description, .tile-article .subtitle {
    font-size: 1.2em;
    color: var(--bs-gray);
}

.image-tile-container{
    position: relative;
    top: 0;
    left: 0;
}

.image-tile-container>*{
    position: absolute;
}

.image-tile-container>img{
    top: 0;
    left: 0;
}

.image-tile-container>.images-count{
    bottom: 2%;
    right: 2%;
    z-index: 99;
    opacity: 0.5;
}

.modal{
    background-color: rgba(var(--bs-black-rgb), 0.5);
}

.modal-close{
    position: fixed;
    right: calc(2% + 2em);
    top: 2%;
}

.carousel-indicators>li::marker{
    content: "";
}

.carosel-item{
    height: 100%;
    min-height: 80vh;
}

@keyframes brightnessChange {
    0% {
        filter: brightness(0.3);
    }

    50% {
        filter: brightness(0.5);
    }

    100% {
        filter: brightness(0.3);
    }

}

.about-column{
    padding-top: 3rem;
}

.about-column article{
    margin: 2rem 0;
}

.about-column article p{
    font-size: 1.2rem;
}

.portrait{
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
}

.burger-menu {
    min-width: 1rem;
    min-height: 1rem;
    width: 10%;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 1;
    display: none!important;
}

.burger-menu .menu-container{
    font-size: 1rem;
    border-radius: 50%;
    aspect-ratio: 1;
    width: 100%;
    height:100%;
}

@media (max-width: 576px){

    .tile-article h1 {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
    }

    .tile-article .description, .tile-article .subtitle {
        font-size: 0.8rem;
    }

    .tile-article p{
        font-size: 0.7rem;
    }

    aside.page-header {
        display: none !important;
    }

    aside.page-header.mobile-active {
        display: block!important;
    }

    .burger-menu{
        display: block!important;
    }
}

