#menu
#menu-inner a,
body {
    background-color: #410000
}

#contacts,
body,
div.container,
html {
    padding: 0
}

body,
body.fade-out {
    transition: opacity .8s
}

#menu-inner a,
body {
    font-family: Roboto, sans-serif
}

#choosen>a,
#menu-inner a:hover {
    transform: scale(1.1)
}

body,
div.container {
    height: fit-content
}

#loader-wrapper,
#menu {
    position: fixed;
    left: 0
}

#loader-wrapper,
#menu-inner {
    width: 100%;
    height: 100%;
    display: flex
}

p {
    color: #000;
    font-size: 1rem;
    line-height: 1.5rem
}

body {
    width: 100%;
    background-image: url(../images/paint-2174689_1920.avif);
    background-repeat: no-repeat;
    background-size: auto 200vh;
    background-position: center;
    background-attachment: fixed;
    opacity: 0
}

body.fade-in {
    opacity: 1
}

body.fade-out {
    opacity: 0
}

*,
::after,
::before {
    box-sizing: border-box
}

body,
html {
    margin: 0
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: fit-content;
    display: flex;
    align-items: center;
    border-bottom: 2px solid azure;
    z-index: 1000;
    background-color: #410000;
}

#menu-inner {
    width: 100%;
}

#menu-inner nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

#menu-inner a {
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    font-size: 1.7rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .3s, color .3s
}

#menu-inner a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #fff8d3;
    opacity: 0;
    font-size: 3rem;
    transition: width .4s, opacity .4s
}

#choosen>a::after,
#menu-inner a:hover::after {
    width: 100%;
    opacity: 1
}

#choosen {
    color: #aaa9a9;
    cursor: pointer;
    pointer-event: none;
}

#contacts a,
#contacts-toggle {
    color: #fff;
    white-space: nowrap
}

#menu::-webkit-scrollbar {
    height: 10px
}

#menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .4);
    border-radius: 3px
}

#menu::-webkit-scrollbar-track {
    background: 0 0
}

@media (max-width:768px) {
    nav {
        flex-direction: column;
        align-items: center
    }

    nav a {
        display: block;
        margin: 10px 0
    }
}

div.row {
    margin: 0 auto;
    width: 100%
}

div.row>div {
    float: left;
    padding: 20px 1%
}

div.row::after {
    display: block;
    content: "";
    clear: both
}

.text-right {
    text-align: right
}

.text-left {
    text-align: left
}

.text-center {
    text-align: center
}

.float-right {
    float: right
}

.float-left {
    float: left
}

.float-inline_end {
    float: inline-end
}

.float-inline_start {
    float: inline-start
}

div.col-1 {
    width: 6.33%
}

div.col-2 {
    width: 14.66%
}

div.col-3 {
    width: 23%
}

div.col-4 {
    width: 31.33%
}

div.col-5 {
    width: 39.66%
}

div.col-6 {
    width: 48%
}

div.col-7 {
    width: 56.33%
}

div.col-8 {
    width: 64.66%
}

div.col-9 {
    width: 73%
}

div.col-10 {
    width: 81.33%
}

div.col-11 {
    width: 89.66%
}

div.col-12 {
    width: 98%
}

@media screen and (max-width:400px) {
    div.col-s1 {
        width: 6.33%
    }

    div.col-s2 {
        width: 14.66%
    }

    div.col-s3 {
        width: 23%
    }

    div.col-s4 {
        width: 31.33%
    }

    div.col-s5 {
        width: 39.66%
    }

    div.col-s6 {
        width: 48%
    }

    div.col-s7 {
        width: 56.33%
    }

    div.col-s8 {
        width: 64.66%
    }

    div.col-s9 {
        width: 73%
    }

    div.col-s10 {
        width: 81.33%
    }

    div.col-s11 {
        width: 89.66%
    }

    div.col-s12 {
        width: 98%
    }
}

@media screen and (min-width:400px) and (max-width:800px) {
    div.col-m1 {
        width: 6.33%
    }

    div.col-m2 {
        width: 14.66%
    }

    div.col-m3 {
        width: 23%
    }

    div.col-m4 {
        width: 31.33%
    }

    div.col-m5 {
        width: 39.66%
    }

    div.col-m6 {
        width: 48%
    }

    div.col-m7 {
        width: 56.33%
    }

    div.col-m8 {
        width: 64.66%
    }

    div.col-m9 {
        width: 73%
    }

    div.col-m10 {
        width: 81.33%
    }

    div.col-m11 {
        width: 89.66%
    }

    div.col-m12 {
        width: 98%
    }
}

@media screen and (min-width:800px) {
    div.col-l1 {
        width: 6.33%
    }

    div.col-l2 {
        width: 14.66%
    }

    div.col-l3 {
        width: 23%
    }

    div.col-l4 {
        width: 31.33%
    }

    div.col-l5 {
        width: 39.66%
    }

    div.col-l6 {
        width: 48%
    }

    div.col-l7 {
        width: 56.33%
    }

    div.col-l8 {
        width: 64.66%
    }

    div.col-l9 {
        width: 73%
    }

    div.col-l10 {
        width: 81.33%
    }

    div.col-l11 {
        width: 89.66%
    }

    div.col-l12 {
        width: 98%
    }
}

#contacts-wrapper {
    position: fixed;
    bottom: 2%;
    left: 1.5%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    z-index: 10;
    font-family: sans-serif
}

#contacts-toggle {
    background-color: #333;
    padding: .5rem 1rem;
    border-radius: .3rem;
    cursor: pointer;
    font-size: 2vw;
    user-select: none;
    flex: 0 0 auto;
}

#contacts {
    background-color: rgba(0, 0, 0, .4);
    border-radius: .3rem;
    margin-left: .3rem;
    width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: width .3s, padding .3s;
    height: auto;
    align-self: center
}

#contacts.expanded {
    width: fit-content;
    padding: .5rem
}

#contacts a {
    text-decoration: none;
    font-size: 3.15vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s .3s
}

#contacts.expanded a {
    opacity: 1;
    pointer-events: auto
}

#loader-wrapper {
    top: 0;
    background-color: rgba(255, 255, 255, .1);
    align-items: center;
    justify-content: center;
    z-index: 9999
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    animation: 1s linear infinite spin
}

.bar {
    width: 10px;
    height: 25px;
    background-color: #000;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: center 40px;
    opacity: .2
}

.bar1 {
    transform: rotate(0) translateY(-40px);
    opacity: 1
}

.bar2 {
    transform: rotate(30deg) translateY(-40px)
}

.bar3 {
    transform: rotate(60deg) translateY(-40px)
}

.bar4 {
    transform: rotate(90deg) translateY(-40px)
}

.bar5 {
    transform: rotate(120deg) translateY(-40px)
}

.bar6 {
    transform: rotate(150deg) translateY(-40px)
}

.bar7 {
    transform: rotate(180deg) translateY(-40px)
}

.bar8 {
    transform: rotate(210deg) translateY(-40px)
}

.bar9 {
    transform: rotate(240deg) translateY(-40px)
}

.bar10 {
    transform: rotate(270deg) translateY(-40px)
}

.bar11 {
    transform: rotate(300deg) translateY(-40px)
}

.bar12 {
    transform: rotate(330deg) translateY(-40px)
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.slideshow {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 150vh;
    width: 150vw;
    object-fit: cover;
    opacity: 0;
    animation: 10s ease-in-out infinite alternate pan;
    transition: opacity 1s ease-in-out;
    z-index: -1
}

.slide.active {
    opacity: 1;
    z-index: 0
}

@keyframes pan {
    0% {
        transform: scale(1.1) translate(0, 0)
    }

    100% {
        transform: scale(1.1) translate(-30%, -30%)
    }
}