

@font-face {
    font-family: Helvetica;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/HelveticaNeueCyr-Light.eot');
    src: url('../fonts/HelveticaNeueCyr-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/HelveticaNeueCyr-Light.woff2') format('woff2'), url('../fonts/HelveticaNeueCyr-Light.woff') format('woff'), url('../fonts/HelveticaNeueCyr-Light.ttf') format('truetype');
}
/* ------------------------------------------All pages----------------------------------------------------------- */
* {
    box-sizing: border-box;
    font-family: "Helvetica";
}
html{
    color:#333
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica", serif;
    font-weight: bold;
}
p{
    font-size:1.3em
}
a {
    text-decoration: none !important
}
em {
    color:unset !important
}
html,
body {
    padding: 0;
    margin: 0;
}

.default-button {
    font-family: "Helvetica", serif;
    display: inline-block;
    align-items: center;
    width: unset !important;
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    padding: 10px 40px !important;
    background-color: #2b2b2b;
    outline: 1px solid #2b2b2b !important;
    outline-offset: 3px;
    letter-spacing: 2px;
    transition-duration: 0.3s;
    font-weight: bold;
    border-radius: 0 !important;
    cursor: pointer
}

    .default-button:hover, .default-button.active {
        color: #2b2b2b;
        background-color: transparent;
    }

header {
    background-color: #808080;
}

.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    height: 60px;
    padding: 0 5px 0 5px;
    z-index: 2;
}

    nav.sticky {
        box-shadow: 0px 0px 24px -8px #555555;
        background: #222222;
    }

    nav ul {
        list-style-type: none;
        padding: 0px;
        margin: 0px;
        text-align: center;
        justify-content: center;
    }

        nav ul li {
            display: inline-block;
            margin: 0 10px;
        }

            nav ul li a {
                display: block;
                color: #131212;
                text-decoration: none;
                padding: 10px 20px;
                font-size: 18px;
                font-weight: bold;
                transition-duration: 0.3s;
                font-family: "Helvetica", serif;
                letter-spacing: 1px
            }

    nav.sticky ul li a {
        color: #f9f9f9
    }

ul.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-around;
    z-index: 9;
    background: #222222;
    left: -100%;
    transition-duration: 0.3s
}

    ul.sidenav.on {
        transform: translateX(100%)
    }

nav ul.sidenav li a {
    color: #f3f3f3
}

nav ul li a:hover, nav ul li a.active {
    color: #d6d62f;
    transition-duration: 0.3s;
}

#toggleNav {
    position: absolute;
    display: none;
    font-size: 36px;
    color: white;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    cursor: pointer;
}

#closeNav {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 10;
    color: #f3f3f3;
    cursor: pointer;
    display: none
}


footer {
    color: white;
    text-align: center;
}

#footer-content {
    background-color: #474747;
    justify-content: space-around;
    padding: 20px 10%;
}
#footer-content h3 {
    color: white;
}

    footer ul {
        list-style-type: none;
        padding: 0px;
        margin: 0px auto;
    }

    footer ul li {
        margin-bottom: 5px;
        text-decoration: none;
    }

        footer ul li a {
            text-decoration: none;
            color: white;
        }

            footer ul li a:hover {
                color: #d6d62f;
            }

#footericons h3 {
    text-align: center;
}

#footericons h4 {
    vertical-align: middle;
}

#footericons i {
    padding-right: 5px;
    color: white;
}

#footericons a {
    text-decoration: none;
    color: white;
}

    #footericons a:hover {
        color: #d6d62f;
    }

footer div p {
    background-color: #3a3636;
    margin: 0px;
    padding: 10px 10%;
    vertical-align: middle;
}
@media screen and (max-width:769px) {
    #footer-content.flex {
        flex-direction:column
    }
    #footer-content.flex > div{
        margin-bottom:20px;
    }
}

/* -------------------------------Main Page---------------------------------------------------------- */
header {
    min-height: 100vh;
    justify-content: space-around;
}

#headerimage {
    max-width: 500px;
}

header div {
    flex: 1 1 auto
}

    header div img {
        display: block;
        width: 70%;
        margin-left: 150px;
        outline: 3px solid #2b2b2b;
        border: 2px solid #d6d62f;
        outline-offset: 6px;
    }

    header div h1,
    header div p {
        width: 60%;
        margin: 15px auto;
        text-align: center;
        color: #333
    }

@media screen and (max-width:769px){
    header.flex{
        flex-direction:column;
        padding:50px 0;
    }

        header div img {

           margin:15px auto
        }
}

#about {
    padding: 120px 0px 180px 0px;
}

#about .flex > div {
    width: 50%;
    margin: 20px;
    text-align: center;
}

    #about h2,
    #about p, #about h3 {
        text-align: center;
        margin-top: 0;
    }

#about h1 {
    text-align: center;
    margin-bottom: 80px;
    position:relative
}

    #about h1::after {
        content: "";
        position: absolute;
        left: 50%;
        transform:translateX(-50%);
        bottom:-10px;
        height: 2px;
        width: 170px;
        background-color: rgb(17, 17, 17);
    }

#about a {
    font-family: "Helvetica", serif;
    display: inline-block;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    padding: 10px 40px;
    background-color: #2b2b2b;
    outline: 1px solid #2b2b2b;
    outline-offset: 3px;
    letter-spacing: 2px;
    transition-duration: 0.3s;
    font-weight: bold;
}

    #about a:hover {
        background-color: white;
        color: #2b2b2b;
    }

#rotated {
    transform: rotateZ(45deg);
    transform-origin: center;
    outline: 4px solid #2b2b2b;
    outline-offset: 8px;
    overflow: hidden;
    width: 300px;
    height: 300px;
    margin: auto;
    border: 5px solid #d6d62f;
}

    #rotated img {
        display: block;
        transform: rotateZ(-45deg) scale(1.5);
        transform-origin:center;
        width: 100%;
        height: 300px;
    }

@media screen and (max-width:940px) {

    #about .flex{
        flex-direction:column;
    }
    #about .flex > div{
        margin-bottom:20px;
        padding-top:50px;
        width:unset;
    }
    #rotated {
       
    }
    #rotated {
        transform: unset;
        width: 230px;
        height: 230px;
        display: flex;
        align-items: center;
    }

        #rotated img {
            transform: unset;
        }
    }

    #gallery {
        padding: 120px 5%;
        text-align: center;
        background-image: url("../Images/gallery.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
.uk-dotnav > .uk-active > * {
    background-color: rgb(255 255 255 / 60%);
    border-color: transparent;
}


        #gallery > div {
            padding: 0 10%;
        }
#gallery div > h1, #gallery div p{
            color:#f9f9f9
        } 

        #gallery .card {
            width: 100%;
            box-shadow: 0 0 24px -14px #555555
        }

        #gallery img {
            display: block;
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        #gallery .card-content {
            display: inline-block;
            width: 100%;
            height: 200px;
            padding: 20px;
            background-color: white;
        }

            #gallery .card-content a {
                display: inline-block;
                align-items: center;
                text-decoration: none;
                color: #131212;
                font-size: 1.1em;
                transition-duration: 0.3s;
                font-weight: bold;
            }

                #gallery .card-content a:hover {
                    color: #8a8080;
                }
            #gallery .card-content p {
                color: #131212;
            }
            #contact {
                padding: 120px 0;
                text-align: center;
                background-color: #a09d9d;
            }
        #contact p{
            color:#333
        }

        #contact form {
            display: block;
            margin: 0px auto;
            text-align: center;
        }

    #contact-form {
        width: 40%;
        margin: 0px auto;
    }

        #contact-form input,
        #contact-form textarea {
            width: 100%;
            margin: 10px 0px;
            padding: 20px;
            border-radius: 4px;
            border: none;
            outline: none;
        }

        #contact-form textarea {
            height: 200px
        }

        #contact-form input {
            max-width: 1020px;
        }

    #contact button {
        font-family: "Helvetica", serif;
        cursor: pointer;
        border: none;
        text-decoration: none;
        color: white;
        font-size: 1.1em;
        padding: 10px 40px;
        background-color: #2b2b2b;
        letter-spacing: 2px;
        transition-duration: 0.3s;
        font-weight: bold;
        outline: 1px solid #2b2b2b;
        outline-offset: 2px;
    }

        #contact button:hover {
            background-color: white;
            color: #2b2b2b;
        }
@media screen and (max-width:769px) {
    #contact-form {
        width: 90%;
    }

}

    /* --------------------------------------About Page------------------------------------------------- */
    #about-header {
        position: relative;
        min-height: 100vh;
        background-image: url("../Images/image.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .overlay {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1;
        justify-content: center;
    }
    #about-header div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
}

    #about-header div h1 {
        color: white;
        font-size: 3em;
        letter-spacing: 5px;
        text-align: center;
    }
    #about-header div h3 {
            color: white;
            font-size: 2em;
            letter-spacing: 5px;
            text-align: center;
            margin-top: 0
        }

    .fadeInUp {
        opacity: 0;
        animation: fadeInUp 1s both;
    }

    @keyframes fadeInUp {
        0% {
            transform: translateY(50px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #about-content {
        padding: 150px 5%;
        background: #bebcbc;
    }

    #langSwitch {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

        #langSwitch a {
            display: block;
            margin: 10px
        }

    .hide {
        display: none;
    }

    .show {
        display: block !important;
    }

    /* --------------------------------------Gallery page--------------------------------------------- */
    #gallery-header {
        min-height: 100vh;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

        #gallery-header h1 {
            color: white;
            font-size: 3em;
            letter-spacing: 5px;
            text-align: center;
        }

    #galley-content {
        padding: 150px 15%;
        background: #1b1b1b;
    }
        .lg-sub-html h5 {
            color: #f9f9f9 !important
        }

    #macy a {
        display: block;
        position: relative;
    }

        #macy a img {
            display: block;
            width: 100%;
        }

    .gallery-overlay {
        position: absolute;
        z-index: 1;
        background-color: rgba(0, 0, 0, 0.1);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition-duration: 0.3s;
    }

    #macy a:hover .gallery-overlay {
        opacity: 0;
    }

/* ---------------------------------Login Page------------------------------------------------------- */
#login-body {
    background-color: #a09d9d;
}

#login-body form {
    font-family: "Helvetica", serif;
    display: block;
    width: 400px;
    margin: 0 auto;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #a09d9d;
}

.login-box {
    display: block;
    width: 95%;
    max-width: 300px;
    border-radius: 4px;
    background-color: white;
    padding: 20px;
}

form div h5 {
    text-align: center;
    font-size: 20px;
}

form input {
    margin-bottom: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    outline: none;
    border: 1px solid #222222;
    border-radius: 0
}

.btn-login {
    display: block;
    font-family: "Helvetica", serif;
    margin: 10px auto;
    width: 97%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: white;
    font-size: 1.1em;
    background-color: #2b2b2b;
    letter-spacing: 2px;
    transition-duration: 0.3s;
    font-weight: bold;
    outline: 1px solid #2b2b2b;
    outline-offset: 2px;
    border-radius:0
}

form button:hover {
    background-color: white;
    color: #2b2b2b;
    border-radius:0
}

input[type="checkbox"] {
    padding: 0;
    margin: 0;
    width: 14px;
}


#gotop {
    position: fixed;
    bottom: -60px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: #d6d62f;
   display:flex;
   vertical-align:middle;
   justify-content:center;
   align-items:center;
   transition-duration:0.3s;
   
}
#gotop a{
    font-weight:bold;
    display:block;
    text-decoration:none;
    color:#333
}
#gotop.on{
    bottom:20px
}