body, html {
    height: 100%;
	margin: 0;
	font-size: 16px;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	line-height: 1.8em;
	color: #666;
    scroll-behavior: smooth;
    background-color: #f4f4f4;
}

::selection {
    background: #880088;
    color: #fff;
}

.intro-container {
    position: relative;
    background: #000;
	min-height: 100%;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scrollContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 0;
}

.scrollDown {
    z-index: 10;
	height: 20px;
	width: 20px;
	position: relative;
	border-right: solid #815128 2px;
	border-bottom: solid #926239 2px;
	border-radius: 2px;
    animation: scrollDown ease-in-out 0.75s 3.5s 2 forwards;
    top: -12vh;
    opacity: 0;
	transform: rotate(45deg) perspective(1000px) translateZ(350px);
	z-index: 0;
}

@keyframes scrollDown {
	0% {top: -12vh; opacity: 0; transform: rotate(45deg) perspective(1000px) translateZ(350px);}
	100% {top: -7vh; opacity: 1; transform: rotate(45deg) perspective(1000px) translateZ(350px);}
}

.pics {
    transform: scale(1);
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border: #926239 5px solid;
}

.pics:hover {
    border: #FF00FF 5px solid;
    opacity: 0.25;
}

li > a {
    padding: 0;
}

ul,li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    grid-gap: 15px;
}

ul.list {
    display: initial;
    text-align: left;
}

li.list {
    position: relative;
    left: .5em;
    font-size: 0.9em;
    font-weight: 700;
}

li.list::before {
    content: '';
    height: .4em;
    width: .4em;
    background: #440044BB;
    display: inline-flex;
    position: relative;
    transform: rotate(45deg);
    top: -.20em;
    left: -.5em;
}

.fancybox-thumbs>ul {
    display: block;
}

li {
    height: 100%;
    position: relative;
}

li > .viewmore {
    position: absolute;
    width: 100%;
    left: 5px;
    top: calc(50% - 10px);
    margin: 0;
    text-indent: 0;
    text-align: center;
    letter-spacing: 5px;
    word-spacing: 5px;
}

#gallery > ul > li:nth-child(1) {
    grid-column: span 2;
}

#gallery > ul > li:nth-child(3) {
    grid-row: span 2;
}

#gallery > ul > li:nth-child(5) {
    grid-column: span 2;
    grid-row: span 2;
}

#gallery > ul > li:nth-child(7) {
    grid-column: span 1;
}

#gallery > ul > li:nth-child(9) {
    grid-column: span 1;
}

a {
    text-decoration: none;
    color: #926239;
    padding-left: 15px;
    padding-right: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 15px;
    position: relative;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

nav {
    z-index: 1;
    text-align: center;
    background-color: rgba(68, 0, 68, .85);
    padding-bottom: 10px;
    padding-top: 10px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.zayra-intro {
    background-image: url(../img/ZE%20signature.png);
    background-size: 576px 203px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    min-height: 100%;
    width: 500px;
    margin-top: 20px;
    animation-name: zayra-intro;
    animation-delay: 2.75s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    opacity: 0;
}

@keyframes zayra-intro{
    to{opacity: 1;}
}

.pimg2, .pimg3 {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pimg1 {
    position: relative;
    background: #000;
    background-image: url(../img/pimg/pimg1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 400px;
    max-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pimg2 {
    background-image: url(../img/pimg/pimg2.jpg);
    min-height: 400px;
}

.pimg3 {
    background-image: url(../img/pimg/pimg3.jpg);
    min-height: 400px;
}

.zayra-img {
    float: left;
    min-height: 100px;
    height: 200px;
    min-width: 100px;
    width: 200px;
    object-fit: cover;
    object-position: 100% 10%;
    margin-right: 1em;
    border-radius: 50%;
}

.first-par {
    /*text-indent: 0em;*/
}

.section {
    text-align: center;
    padding: 50px 80px;
}

.section-light {
    background-color: #f4f4f4;
    color: #926239;
    margin-left: 20vw;
    margin-right: 20vw;
}

.section-dark {
    background-color: #111;
    color: #926239
}

.ptext{
    position: absolute;
    top: 52%;
    width: 100%;
    text-align: center;
    font-size: 27px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #926239;
    text-shadow: 
        #222 0 0 15px, 
        #222 0 5px 15px,
        #222 5px 0 15px, 
        #222 5px 5px 15px,
        #222 0 -5px 15px,
        #222 -5px 0 15px, 
        #222 -5px -5px 15px,
        #222 0 0 15px, 
        #222 0 10px 15px,
        #222 10px 0 15px, 
        #222 10px 10px 15px,
        #222 0 -10px 15px,
        #222 -10px 0 15px, 
        #222 -10px -10px 15px;
}

p {
    text-align: left;
    text-indent: 2em;
}

@font-face {
    font-family: 'Genericons';
    src: url('../genericons/genericons-regular-webfont.woff')format('woff'), url('../genericons/genericons-regular-webfont.eot')format('truetype');
}

.accordian a {
    font-size: 0;
}

#social-media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.social {
    position: relative;
    top: -30px;
}

.accordian {
/*    background-color: #fff;*/
/*    width: 100%;*/
/*    min-width: 800px;*/
/*    max-width: 800px;*/
    list-style-type: none;
    display: block;
    overflow: hidden;
    height: 200px;
    font-size: 0;
}

.tab {
    display: inline-block;
    background-color: #440044;
    border-right: #111 1px solid;
    width: 80px;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0;
    transition: all 0.5s ease-in-out 0.1s;
}

.tab:hover {
    width: 450px;
}

.tab:hover .social a::before {
    margin-left: -100px;
}

.tab:hover .social a::after {
    margin-left: -18px;
}

.tab .content {
    background: #fff;
    width: 360px;
    height: 200px;
    margin-left: 80px;
    padding: 50px 0 0 15px;
    position: relative;
    top: -50px
}

.tab .content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
}

.tab .content p {
    font-size: 0.85rem;
    line-height: 1.4rem;
    position: relative;
    left: -25px;    
}

.social a::after, .social a::before {
    transition: all 0.4s ease-in-out 0.1s;
    width: 80px;
    height: 200px;
    position: absolute;
    text-indent: 0;
    padding-top: 110px;
    padding-left: 2px;
    display: block;
    font: normal 30px Genericons;
    color: #fff;
}

.social a::after {
    font-size: 48px;
    padding-left: 20px;
    padding-top: 80px;
    margin-left: 85px;
}

.youtube a::before, .youtube a::after {
    content: '\f213';
}

.youtube a::after {
    background-color: #ff0000;
}

.facebook a::before, .facebook a::after {
    content: '\f203';
}

.facebook a::after {
    background-color: #3B5998;
}

.instagram a::before, .instagram a::after {
    content: '\f215';
}

.instagram a::after {
    background-color: #8134af;
    background-image: linear-gradient(#8134af, #f58529, #dd2a7b, #dd2a7b);
}

footer {
    background-color: rgba(68, 0, 68, .85);
    height: 50px;
}

footer p{
    text-align: center;
    color: #926239;
    margin: 0;
    display: block;
    position: relative;
    top: 25%;
}

.contactArea {
    text-align: center;
}

p img {
    position: relative;
    top: 10px;
    left: -5px;
}

.rhombus1 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus1 2s 0.5s forwards ease-out;
    animation: rhombus1 2s 0.5s forwards ease-out;
    opacity: 0;
    left: 600px;
    top: -150px;
}

@keyframes rhombus1{
    to{top: 0px; left: 600px; opacity: 1;}
}

#rhombus2 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus2 2s 0.5s forwards ease-out;
    animation: rhombus2 2s 0.5s forwards ease-out;
    opacity: 0;
    left: 400px;
    top: 300px;
}

@keyframes rhombus2{
    to{top: 172px; left: 285px; opacity: 1;}
}

#rhombus3 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus3 2s 0.5s forwards ease-out;
    animation: rhombus3 2s 0.5s forwards ease-out;
    opacity: 0;
    left: 200px;
    top: 300px;
}

@keyframes rhombus3{
    to{top: 172px; left: 315px; opacity: 1;}
}

#rhombus4 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus4 2s 0.5s forwards ease-out;
    animation: rhombus4 2s 0.5s forwards ease-out;
    opacity: 0;
    left: -300px;
    top: -200px;
}
@keyframes rhombus4{
    to{top: 0px; left: -230px; opacity: 1;}
}

#rhombus5 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus5 2s 0.5s forwards ease-out;
    animation: rhombus5 2s 0.5s forwards ease-out;
    opacity: 0;
    left: -500px;
    top: -200px;
}

@keyframes rhombus5{
    to{top: -172px; left: -315px; opacity: 1;}
}

#rhombus6 {
    position: relative;
    display: none;
    height: 300px;
    width: 200px;
    -webkit-animation: rhombus6 2s 0.5s forwards ease-out;
    animation: rhombus6 2s 0.5s forwards ease-out;
    opacity: 0;
    left: -160px;
    top: -200px;
}

@keyframes rhombus6{
    to{top: 0px; left: -170px; opacity: 1;}
}

#rhombus7 {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    -webkit-animation: rhombus7 2s 0.5s forwards ease-out;
    animation: rhombus7 2s 0.5s forwards ease-out;
    opacity: 0;
}

@keyframes rhombus7 {
    to{top: -172px; left: -485px; opacity: 1;}
}

@supports (clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)) or (-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)) {    
    .portrait_container > p {
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .zayra-img {
        float: none;
        box-sizing: border-box;
        width: calc(50vh * .66);
        max-width: 266px;
        height: calc(50vh);
        max-height: 400px;
        object-fit: cover;
        margin-right: 0;
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }   
}

@supports (clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)) or (-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)) {
    .rhombus1 {
        background-image: linear-gradient(#440044, #000);
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center; 
    }
    #rhombus2 {
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #rhombus3 {
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #rhombus4 {
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #rhombus5 {
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #rhombus6 {
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    #rhombus7 {
        background-image: url(img/rhombus_img/7.jpg);
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 300px;
        width: 200px;
        left: -360px;
        top: -200px;
    }
}

@media only screen and (max-width: 660px){
    .contactArea {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        text-indent: 0;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 767px) {
    
    .zayra-intro {
        background-size: 288px 101px;
        margin-top: 10px;
    }
    
    .rhombus {
        transform: scale(0.5)
    }
    
    .rhombus1 {
        transform: translate(600px);
    }
    
    @keyframes rhombus2 {
    to{top: calc(172px * .5); left: calc(285px * 1.2); opacity: 1;}
    }
    
    @keyframes rhombus3 {
    to{top: calc(172px * .5); left: calc(315px * .818); opacity: 1;}
    }

    @keyframes rhombus4 {
    to{top: 0px; left: calc(-230px * .5); opacity: 1;}
    }
    
    @keyframes rhombus5 {
    to{top: calc(-172px * .5); left: calc(-315px * .818); opacity: 1;}
    }

    @keyframes rhombus6 {
    to{top: 0px; left: calc(-170px * 1.67); opacity: 1;}
    }
    
    @keyframes rhombus7 {
    to{top: calc(-172px * 0.5); left: calc(-485px * 1.115); opacity: 1;}
    } 
 
}

@media only screen and (min-width: 1367px) {
        
    .zayra-intro {
        background-size: 720px 254px;
        margin-top: 19px;
    }
    
    .rhombus {
        transform: scale(1.25);
    }
    
    .rhombus1 {
        transform: translate(-123px);
    }
    
    @keyframes rhombus2 {
    to{top: calc(172px * 1.3); left: calc(285px * .875); opacity: 1;}
    }
    
    @keyframes rhombus3 {
    to{top: calc(172px * 1.3); left: calc(315px * 1.1); opacity: 1;}
    }

    @keyframes rhombus4 {
    to{top: 0px; left: calc(-230px * 1.3); opacity: 1;}
    }
    
    @keyframes rhombus5 {
    to{top: calc(-172px * 1.27); left: calc(-315px * 1.119); opacity: 1;}
    }

    @keyframes rhombus6 {
    to{top: 0px; left: calc(-170px * .65); opacity: 1;}
    }
    
    @keyframes rhombus7 {
    to{top: calc(-172px * 1.27); left: calc(-485px * .941); opacity: 1;}
    }
    
}

@media only screen and (max-width: 1365px) {
        .section-light {
        background-color: #f4f4f4;
        color: #926239;
        margin-left: 0;
        margin-right: 0;
    }
    
}

@media only screen and (max-width: 1024px) {
    li > .viewmore {
        color: #FFF;
    }
    
    .pics {
        opacity: 0.5;
    }
    
}

@media only screen and (max-width: 478px) {
    
    #gallery > ul > li:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(2) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(3) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(5) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(6) {
        grid-column: span 2;
        grid-row: span 1;
    }   
    
    #gallery > ul > li:nth-child(7) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(8) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    #gallery > ul > li:nth-child(9) {
        grid-column: span 2;
        grid-row: span 1;
    }   
}

@media only screen and (max-width: 950px) {
    
    .tab {
        display: block;
        width: 100%;
        border-bottom: 3px #333 solid;
    }

    .accordian {
        display: block;
        min-width: 450px;
        height: auto;
    }
    
    .tab .content {
        width: 85%
    }
    
    .tab:hover {
        width: 100%
    }
    
    .portrait_container > p {
        margin-top: 0%;
        margin-bottom: 5%;
    }
    
}

@media  (max-width: 680px) {
    .accordian {
        width: 100%;
        min-width: 320px;
    }
}

@media only screen and (max-width: 768px) {
    nav {
        display: none;
    }

@media handheld, only screen and (max-width: 668px) {
    .pimg1, .pimg2, .pimg3 {
        /*background-size: contain;*/
/*        background-attachment: scroll;*/
    }
    
/*
    nav {
        max-width: 100vw;
        height: 50px;
        padding-bottom: 5px;
        padding-top: 0;
    }
    
    nav a {
        font-size: 13px;
        letter-spacing: 1px;
        padding-left: 7px;
        padding-right: 7px;
    }
*/
    
    #zayra-e{
        padding-left: 5%;
        padding-right: 5%;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .zayra-img {
        max-height: 300px;
        max-width: 200px;
    }
}
