

html {
    background-color: #B70711;
}
body {
    background-color: #B70711;
    overflow: hidden;
}
.header {
    z-index: 1;
}
.menu {
    background-color: #B70711;
}
.header a {
    color: white;
}
.bar {
    background-color: white;
}

.back {
    position: absolute;
    top: 85px;
    width: 100%;
    height: 100%;
    background-image: url('../images/nina.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.orientation-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.wrapper {
    position: relative;
}

.main {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 100%;
    flex: unset;
}

.main h1{
    position: absolute;
    bottom: 83px;
    font-family: Garamond;
    font-size: 106px;
    font-weight: unset;
    line-height: 95.5px;
    color: white;
}
.main span{
    position: absolute;
    bottom: 103px;
    font-family: Mulish;
    font-size: 16px;
    line-height: 24px;
    color: white;
    paragraph: 8px;
}
.main .social{
    position: absolute;
    bottom: 61px;
    right: 0px;
}
.main .social .logo{
    width: 40px; height: 40px;
}
.footer {
    display: none;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media screen and (min-width: 2400px) {
    .back {
        background-size: unset;
    }
}
@media screen and (min-height: 1000px) { /*Для экранов с большой высотой*/
    .back {
        top: 130px;
        background-size: contain;
    }
}
@media screen and (min-height: 1250px) { /*Для экранов с большой высотой*/
    .back {
        top: 130px;
        background-size: cover;
    }
}
@media screen and (min-height: 2000px) { /*Для экранов с большой высотой*/
    .back {
        background-size: contain;
    }
}
@media screen and (max-width: 500px) { /*Для смартфонов*/
    .back {
        background-size: cover;
        height: 90%;
        top: 140px;
    }
}
@media screen and (max-width: 500px) and (max-height: 730px) { /*Для смартфонов*/
    .back {
        top: 110px;
    }
}
@media screen and (max-height: 900px) and (min-width: 1000px){ /*Для планшетов*/
    .back {
        top: 90px;
        background-size: contain;
    }
    .main h1{
        font-size: 80px;
    }
}
@media screen and (max-width: 1020px) {
    .back {
        top: 95px;
   }
}

@media screen and (max-width: 860px) {
    .main h1{
        bottom: 83px;
        font-size: 78px;
        line-height: 70px;
    }

}

@media screen and (max-width: 660px) {
    .main h1 {
        font-size: 48px;
        line-height: 40px;
        bottom: 160px;
    }
    .main span {
        font-size: 14px;
        line-height: 21px;
        bottom: 150px;
    }
    .social img {
        width: 30px;
        height: 30px;
        bottom: 110px;
    }
}
