body,
html {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "Arailreg";
    src: url(../assets/fonts/Arial-Light.ttf);
}

@font-face {
    font-family: "Arian_AMU";
    src: url(../assets/fonts/ArianAMU.ttf);
}


body {
    /* overflow: hidden; */
    background-color: #002B57;
}

.content {
    display: flex;
    justify-content: space-between;
}

.image-factory {
    width: 75vw;
    height: 40vh;
    background-size: cover;
    background-position: center center;
    background-image: url(../assets/ghk.jpg);
}

.image-castle {
    min-height: 200px;
    height: 100vh;
    width: 60vw;
    background-size: cover;
    background-position: 75% 10%;
    background-image: url(../assets/hram.jpg);
}

.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-self: end;
    position: absolute;
    right: 20px;
    height: 100vh;
    width: 12vw;
}

.gallery img {
    max-width: 190px;
    max-height: 98px;
    min-width: 65px;
    min-height: 33px;
}

.center-logo {
    text-align: center;
    width: 62vw;
}

.center-logo>img {
    display: block;
    width: 106px;
    height: 106px;
    margin: 10vh auto;
    margin-bottom: 38px;
    max-width: 200px;
}


.center-logo h1 {
    margin: 10px 0 0 0;
    font-family: "Arian_AMU";
    font-style: normal;
    font-weight: 100;
    font-size: 1.5em;
    color: #ffffff;
    text-align: center;

}

.center-logo h2 {
    margin: 0;
    margin-top: 2px;
    font-family: 'Arailreg';
    font-style: normal;
    font-weight: 400;
    font-size: 1.48em;
    letter-spacing: 0.04em;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

@media (max-height: 670px) {
    .gallery img {
        /* width: 138px;
        height: 75px; */
        /* width: 100%; */

    }
}

@media (max-height: 520px) {
    .gallery img {
        /* width: 98px;
        height: 55px; */
        /* width: 100%; */

    }
}

@media (max-height: 420px) {
    .gallery img {
        /* width: 78px;
        height: 35px; */
        /* width: 100%; */

    }

    .center-logo img {
        width: 55px;
        height: 55px;
        margin-bottom: 2px;
    }

    .image-castle {
        background-position: bottom;
    }
}

@media (max-width: 1600px) and (min-width: 1200px) and (min-height: 670px) {
    .center-logo {
        width: 59.4vw;
    }
    .gallery{
        width: 14vw;
    }
}

@media (max-width: 1200px) and (min-width: 1000px) and (min-height: 670px) {
    .center-logo {
        width: 58vw;
    }
    .gallery{
        width: 16vw;
    }
}

@media (max-width: 999px) and (min-width: 900px) and (min-height: 670px) {
    .center-logo {
        width: 57.5vw;
    }
    .gallery{
        width: 16vw;
    }
}

@media (max-width: 900px) and (min-width: 820px) and (min-height: 670px) {
    .center-logo {
        width: 56.5vw;
    }
    .gallery{
        width: 16vw;
    }
}

@media (max-width: 820px) and (min-width: 770px) and (min-height: 670px) {
    .center-logo {
        width: 57vw;
    }
    .gallery{
        width: 16vw;
    }
}

@media (max-width: 1500px) and (min-width: 1200px) and (min-height: 509px) and (max-height: 670px) {
    .center-logo {
        width: 61vw;
    }

    /* .gallery{
        width: 11vw;
    } */
}

@media (max-width: 1200px) and (min-width: 1000px)and (min-height: 509px) and (max-height: 670px) {
    .center-logo {
        width: 61vw;
    }
}

@media (max-width: 999px) and (min-width: 900px) and (min-height: 509px) and (max-height: 670px) {
    .center-logo {
        width: 61vw;
    }
}

@media (max-width: 900px) and (min-width: 820px)and (min-height: 509px) and (max-height: 670px) {
    .center-logo {
        width: 61vw;
    }
}

@media (max-width: 820px) and (min-width: 770px) and (min-height: 509px) and (max-height: 670px) {
    .center-logo {
        width: 61vw;
    }
}


@media (max-width: 1000px) and (min-height: 510px) and (max-height: 509px) {
    .image-castle {
        background-position: 90% 100%;
    }

    .gallery img {
        /* width: 148px;
        height: 75px; */
        /* width: 100%; */

    }



    .center-logo img {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }

    .center-logo h1 {
        font-size: 18px;
    }

    .center-logo h2 {
        font-size: 18px;
    }


    .image-factory {
        height: 50vh;
        width: 72vw;
    }
}

@media (max-width: 770px) and (min-height: 510px) {
    .gallery {
        right: 5px;
        width: 21vw;
    }

    .image-castle {
        background-position: 90% 100%;
    }

    .gallery img {
        /* width: 118px;
        height: 55px; */
        /* width: 100%; */

    }

    .center-logo {
        margin-top: 30%;
        width: 51vw;
    }

    .center-logo h1 {
        font-size: 13px;
        line-height: 12px;

    }

    .center-logo h2 {
        font-size: 13px;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }
}

@media (max-width: 650px) and (min-height: 510px) {
    .gallery {
        right: 5px;
    }

    .image-castle {
        background-position: 90% 100%;
    }

    .gallery img {
        /* width: 98px;
        height: 55px; */
        /* width: 100%; */

    }

    .center-logo {
        margin-top: 25%;

        width: 50vw;

    }

    .center-logo img {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }

    .center-logo h1 {
        font-size: 10px;
    }

    .center-logo h2 {
        font-size: 10px;
        line-height: auto;
    }
}

@media (max-width: 530px) and (min-height: 510px) {
    .gallery {
        right: 5px;
    }

    .image-castle {
        background-position: 90% 100%;
    }

    .gallery img {
        /* width: 98px;
        height: 55px; */
        /* width: 100%; */

    }

    .center-logo {
        margin-top: 25%;

        width: 51vw;

    }

    .center-logo img {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }

    .center-logo h1 {
        font-size: 10px;
    }

    .center-logo h2 {
        font-size: 10px;
        line-height: auto;
    }
}

@media (max-width: 460px) and (min-height: 510px) {

    .gallery {
        right: 5px;
    }

    .gallery img {
        /* width: 63px;
        height: 27px; */
        /* width: 100%; */

    }

    .center-logo {
        width: 50vw;
        margin-top: 50%;
    }

    .center-logo img {
        width: 35px;
        height: 35px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 7px;
    }

    .center-logo h2 {
        font-size: 7px;
        line-height: auto;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }
}

@media (max-width: 360px) and (min-height: 510px) {

    .gallery {
        right: 5px;
    }

    .gallery img {
        /* width: 63px;
        height: 27px; */
        /* width: 100%; */

    }

    .center-logo {
        width: 50vw;
        margin-top: 50%;
    }


    .center-logo img {
        width: 35px;
        height: 35px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 7px;
    }

    .center-logo h2 {
        font-size: 7px;
        line-height: auto;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }
}

@media (max-width: 310px) and (min-height: 510px) {

    .gallery {
        right: 5px;
    }

    .gallery img {
        /* width: 63px;
        height: 27px; */
        /* width: 100%; */

    }

    .center-logo {
        width: 49vw;
        margin-top: 50%;
    }


    .center-logo img {
        width: 35px;
        height: 35px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 7px;
    }

    .center-logo h2 {
        font-size: 7px;
        line-height: auto;
    }

    .image-factory {
        height: 20vh;
        width: 72vw;
    }
}

@media (max-height: 509px) and (max-width: 860px) {
    .gallery {
        right: 5px;
    }

    .image-castle {
        background-position: 90% 100%;
    }

    .center-logo {
        width: 67vw;
    }

    .center-logo img {
        width: 65px;
        height: 65px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 16px;
    }

    .center-logo h2 {
        font-size: 16px;
        line-height: auto;
    }
}

@media (max-height: 509px) {
    .gallery {
        width: auto;
    }

    .center-logo {
        width: 67vw;
    }
    .image-castle{
        background-position: bottom;
    }
}

@media (max-height: 509px) and (max-width: 1260px) {
    .gallery {
        right: 5px;
    }

    .image-castle {
        background-position: 90% 100%;
    }

    .center-logo {
        width: 63vw;
    }

    .center-logo img {
        width: 65px;
        height: 65px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 16px;
    }

    .center-logo h2 {
        font-size: 16px;
        line-height: auto;
    }
}

@media (max-height: 509px) and (max-width: 750px) {
    .gallery {
        right: 5px;
    }

    .center-logo img {
        width: 65px;
        height: 65px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 12px;
    }

    .center-logo h2 {
        font-size: 12px;
        line-height: auto;
    }

    .image-castle {
        background-position: 90% 100%;
    }
}

@media (max-height: 509px) and (max-width: 470px) {
    .gallery {
        right: 5px;
    }

    .gallery img {
        /* width: 63px;
        height: 27px; */
        /* width: 100%; */
    }

    .center-logo {
        width: 59vw;
    }

    .center-logo img {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 9px;
    }

    .center-logo h2 {
        font-size: 9px;
        line-height: auto;
    }
}

@media (max-height: 509px) and (max-width: 350px) {
    .gallery {
        right: 5px;
    }

    .gallery img {
        /* width: 63px;
        height: 27px; */
        /* width: 100%; */
    }

    .center-logo {
        width: 55vw;
    }

    .center-logo img {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }

    .center-logo h1 {
        font-size: 7px;
    }

    .center-logo h2 {
        font-size: 7px;
        line-height: auto;
    }
}

@media (max-width: 1500px) and (min-width: 1200px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 68vw;
    }

    /* .gallery{
        width: 8vw;
    } */
}

@media (max-width: 1200px) and (min-width: 1000px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 68vw;
    }
}

@media (max-width: 999px) and (min-width: 900px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 900px) and (min-width: 820px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 820px) and (min-width: 770px) and (max-height: 509px)and (min-height: 300px) {
    .center-logo {
        width: 65vw;
    }
}

@media (max-width: 770px) and (min-width: 700px)and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 65vw;
    }
}

@media (max-width: 700px) and (min-width: 600px)and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 64vw;
    }
}

@media (max-width: 600px) and (min-width: 485px)and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 62vw;
    }
}

@media (max-width: 485px) and (min-width: 410px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 59vw;
    }
}

@media (max-width: 410px) and (min-width: 395px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 57vw;
    }
}

@media (max-width: 320px) and (min-width: 0px) and (max-height: 509px) and (min-height: 300px) {
    .center-logo {
        width: 53vw;
    }
}


@media (max-height: 680px) {
    .gallery img {
        max-width: 135px;
    }

}

@media (max-height: 520px) {
    .gallery img {
        max-width: 105px;
    }

}
@media (max-height: 520px)  and (max-width : 520px){
    .gallery img {
        max-width: 70px;
    }

}

@media (max-height: 420px) {
    .gallery img {
        max-width: 86px;
    }

}

@media (max-height: 340px) {
    .gallery img {
        max-width: 66px;
    }

    .gallery {
        width: auto;
    }
}

/* @media (max-width: 520px){
    .gallery{
        gap: 5vh;
    }
}  */

@media (max-height: 509px) and (min-height: 420px) and (min-width: 495px) and (max-width: 550px) {
    .center-logo {
        width: 53vw;
    }
}

@media (max-height: 509px) and (min-height: 420px) and (min-width: 495px) and (max-width: 450px) {
    .center-logo {
        width: 53vw;
    }
}

@media (max-height: 509px) and (min-height: 420px) and (min-width: 345px) and (max-width: 385px) {
    .center-logo {
        width: 45vw;
    }
}

@media (max-height: 509px) and (min-height: 420px) and (min-width: 305px) and (max-width: 345px) {
    .center-logo {
        width: 42vw;
    }
}

@media (width: 1920px) and (height: 1024px) {
    .gallery {
        width: auto;
        right: 138px;
    }

    .center-logo {
        width: 55vw;
    }

    .image-factory {
        width: 72vw;
        height: 38vh;
    }

    .gallery img {
        /* width: 190px;
        height: 98px; */
        /* width: 100%; */
    }

    .center-logo img {
        width: 106px;
        height: 106px;
    }

}

@media (width: 1440px) and (height: 740px) {
    .gallery {
        right: -50px;
    }

    .gallery img {
        /* width: 190px;
        height: 98px; */
        /* width: 100%; */

    }

    .center-logo img {
        width: 106px;
        height: 106px;
    }

    .image-factory {
        height: 50vh;
        width: 72vw;
    }

    .center-logo {
        width: 54.5vw;
    }
}

@media (width: 1280px) and (height: 720px) {
    .gallery img {
        /* width: 190px;
        height: 98px; */
        /* width: 100%; */

    }

    .center-logo img {
        width: 106px;
        height: 106px;
    }

    .image-factory {
        height: 50vh;
        width: 65vw;
        background-position: left;
    }

    .center-logo {
        width: 48vw;
    }

    .gallery {
        right: 30px;
        height: 100vh;
        width: auto;
    }
}

@media (width: 1024px) and (height: 720px) {
    .gallery img {
        width: 156.8px;
        height: 80.05px;

    }

    .gallery {
        width: auto;
        right: 21px;
    }

    .center-logo img {
        width: 83px;
        height: 83px;
    }

    .image-factory {
        height: 50vh;
        width: 67vw;
        background-position: left;
    }

    .image-castle {
        background-position: right;
    }

    .center-logo {
        width: 50vw;
    }

    .center-logo h1 {
        font-size: 1.3em;
    }

    .center-logo h2 {
        font-size: 1.28em;
    }

    .center-logo img {
        margin-bottom: 0;
    }
}

@media (width: 320px) and (height: 568px) {
    .image-factory {
        width: 65vw;
        height: 27vh;
    }

    .center-logo img {
        width: 26px;
        height: 26px;
        margin-bottom: 5px;
    }

    .gallery img {
        width: 65.53px;
        height: 33.45px;

    }

    .gallery {
        width: auto;
        right: 10px;
        justify-content: flex-end;
    }
    .gallery img:nth-child(6){
        margin-bottom: 60%;
    }
    .center-logo {
        width: 41vw;
        margin: 0;
        margin-top: 36%;
    }

    .center-logo h1 {
        font-size: 5.8px;
    }

    .center-logo h2 {
        font-size: 5.8px;
        line-height: 0;
    }
}

@media (width: 744px) and (height: 1133px) {
    .center-logo img {
        height: 55px;
        margin: 10vh auto;
        margin-bottom: 22px;
    }
}

@media (max-height: 420px ) and (min-height: 340px) and (max-width: 350px)  {
    .center-logo{
        width: 44vw;
    }
    
}

@media (max-height: 340px ) and (min-height: 0px) and (max-width: 310px)  {
    .center-logo{
        width: 50vw;
    }
    
}

@media (max-width: 1500px) and (min-width: 1200px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 1200px) and (min-width: 1000px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 999px) and (min-width: 900px) and (max-height: 420px) and (min-height: 341px){
    .center-logo {
        width: 66vw;
    }
}

@media (max-width: 900px) and (min-width: 820px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 64vw;
    }
}

@media (max-width: 820px) and (min-width: 770px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 64vw;
    }
}

@media (max-width: 770px) and (min-width: 700px)and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 62vw;
    }
}

@media (max-width: 700px) and (min-width: 600px)and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 61vw;
    }
}

@media (max-width: 600px) and (min-width: 485px)and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width:59vw;
    }
}

@media (max-width: 485px) and (min-width: 410px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 55vw;
    }
}

@media (max-width: 410px) and (min-width: 395px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 52vw;
    }
}

@media (max-width: 395px) and (min-width: 350px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 50vw;
    }
}

@media (max-width: 350px) and (min-width: 320px) and (max-height: 420px) and (min-height: 341px) {
    .center-logo {
        width: 48vw;
    }
}

@media (max-width: 1500px) and (min-width: 1200px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 1200px) and (min-width: 1000px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 67vw;
    }
}

@media (max-width: 999px) and (min-width: 900px) and (max-height: 509px) and (min-height: 420px){
    .center-logo {
        width: 66vw;
    }
}

@media (max-width: 900px) and (min-width: 820px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 64vw;
    }
}

@media (max-width: 820px) and (min-width: 770px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 64vw;
    }
}

@media (max-width: 770px) and (min-width: 700px)and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 62vw;
    }
}

@media (max-width: 700px) and (min-width: 600px)and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 61vw;
    }
}

@media (max-width: 600px) and (min-width: 485px)and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width:59vw;
    }
}

@media (max-width: 485px) and (min-width: 410px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 58vw;
    }
}

@media (max-width: 410px) and (min-width: 395px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 55vw;
    }
}

@media (max-width: 395px) and (min-width: 350px)and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 54vw;
    }
}

@media (max-width: 350px) and (min-width: 320px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 52vw;
    }
}
@media (max-width: 320px) and (min-width: 290px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 50vw;
    }
}
@media (max-width: 290px) and (min-width: 240px) and (max-height: 509px) and (min-height: 420px) {
    .center-logo {
        width: 47vw;
    }
}
@media (max-width: 800px){
    .gallery {
        gap: 2px;
    }
}