*, *:after, *:before {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: "Raleway", sans-serif;
    letter-spacing: .05em;
}
a {
    color:inherit;
    text-decoration: none;
}
#brand {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: -1;
}
.logo {
    width:90px;height: 90px;
}
.logo img {
    width: 100%;
    height: 100%;
}
.main__container {
    width: 100%;
    height: 100%;
    padding: 20px;
}
.controls {
    position: fixed;
    display: flex;
    top:0;left:0;
    width: 100%;
    height: 100%;
}
.controls>div {
    flex: 0 0 50%;
    height: 100%;
}
#imageCounter {
    opacity: 0;
}
nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 500;
    opacity: 0;
}
.lnk__contacts {
    font-size: 16px;
    letter-spacing: .05em;
}
.lnk__contacts:hover, .lnk__contacts.active {
    border-bottom: 1px solid #000;
}
.mobile, #nimagesMobile, #activeimageMobile {display: none;}
.mobile {
    width: 100%;
    height: 100%;
}
.mobile > div {
    position: fixed;
    top: 0;left: 0;
    width: 100%;height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: -1;
}
.mobile > div.active {opacity: 1;transition: 3.5s;}
.mobile .with-pad img {
    width:100%;height:100%;
    object-fit:contain;
}
.mobile .without-pad img {
    width:100%;height:100%;
    object-fit:cover;
}
.with-pad {padding: 20px;}
.img__container {
    position: fixed;
    top:0;left:0;
    width: 100%;height:100%;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}
.img__container.load, .mobile > div.load {
    transition: 2s;
}
.contacts {
    position: fixed;
    z-index: -1;
    top:0;left:0;
    width:100%;height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}
.contacts p {
    margin:1em 0;
}
.img__container.active,
.contacts.active {
    transition: opacity 3.5s;
    opacity: 1;
}
.contacts.active {
    z-index: 10;
}
.image-big .image {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 50px 20px;
}
.image-big .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.side-by-side, .center-page {
    padding: 50px 20px;
}

.side-by-side > .image-c {
    position: relative;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    top:0;left:0;
    width: 70vw;
    height: 100%;
    gap: 20px;
}

.side-by-side > .image-c img, .center-page img {
    width: 100%;
    max-width: 415px;
}

.full-page {
    position: fixed;
    top:0;left:0;
    width:100%;height:100%;
}
.full-page img, #special-3-1 img {
    width:100%;height:100%;
    object-fit: cover;
}

#special-3-1 {
    position: fixed;
    top:0;left:0;
    width: 30%;
    height: 100%;
}

@media screen and (max-width: 1280px){
    .side-by-side > .image-c {
        width:80vw;
    }
}

@media screen and (max-width: 900px){
    .side-by-side > .image-c {
        width:100%;
    }
}
@media screen and (max-width: 768px){
    .desktop, #nimages, #activeimage {display: none;}
    .mobile {display: block;}
    #nimagesMobile, #activeimageMobile {display: inline-block;}
}

