@font-face {
    font-family: 'PT Sans Narrow';
    src: url('fonts/PT_Sans-Narrow-Web-Regular.ttf');
}

@font-face {
    font-family: 'PT Sans Narrow Bold';
    src: url('fonts/PT_Sans-Narrow-Web-Bold.ttf');
}

@font-face {
    font-family: 'Myriad VF Light Condensed';
    src: url('fonts/Myriad VF Light Condensed.ttf');
}

@font-face {
    font-family: 'Codec Pro';
    src: url('fonts/CodecPro-Regular.ttf');
}

:is(h2, h6) {
    font-family: 'PT Sans Narrow Bold', IMPACT;
    font-weight: normal;
}

:is(h3, h4, h5) {
    font-family: 'Myriad VF Light Condensed', 'Trebuchet MS';
    font-weight: bold;
}

h1 {
    font-family: 'Victor Mono', Arial, Helvetica, sans-serif;
    font-size: 54px;
    line-height: 0.95;
    text-align: right;
    letter-spacing: -3px;
}

p, div {
    font-family: Lucida, 'Trebuchet MS', 'Segoe UI';
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 14pt;
}

button {
    font-family: 'Segoe UI';
    font-weight: normal;
    font-size: 24pt;
    padding: 0 10px 0 10px;
}

.spoilerButton {
    font-family: 'Segoe UI';
    width: 100%;
    border-radius: 10px;
    text-align: left;
    border: 0px;
    font-size: 16pt;
    background: none;
    color:inherit;
    text-decoration:none;
}

.spoilerCard {
    font-family: 'Segoe UI';
    font-weight: normal;
    margin-top: 20px;
    font-size: 12pt;
}

.gallery {
    display: grid;
    place-items: center;
    width: 90%;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.gallery__item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.gallery__item img:hover {
    transform: scale(1.1);
}

@media (max-width: 950px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 550px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
#mainImage {
    width: 50%;
    object-fit: cover;
}

.closeBtn {
    color: rgba(255, 255, 255, 0.87);
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    filter: invert(100%);
}

.closeBtn:hover {
    color: rgb(255, 255, 255);
}

.fas {
    padding: 10px;
    font-family: Consolas;
    font-style: normal;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 40px;   
}

.background-main {
    background-color: #e8e8e8;
}

.background-secondary {
    background-color: white;
}

.background-gradient {
    background: -moz-linear-gradient(-45deg,  rgba(220,221,223,1) 0%, rgba(232,232,232,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(220,221,223,1)), color-stop(100%,rgba(232,232,232,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(220,221,223,1) 0%,rgba(232,232,232,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(220,221,223,1) 0%,rgba(232,232,232,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(220,221,223,1) 0%,rgba(232,232,232,1) 100%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(220,221,223,1) 0%,rgba(232,232,232,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */d
}
