/*
Author: Igor Mancovschi
Author URI: http://byigor.com/
*/

@import url('https://fonts.googleapis.com/css?family=Lato');
* {
    margin: 0;
    padding: 0;
}

#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#logo img {
    width: 250px;
    padding: 25px 0;
}


/* Menu */
@media (min-width: 768px) {
    #menu {
        width: 720px;
        padding-bottom: 20px;
    }
    #menu > ul {
        display: -webkit-flex;
        /* Safari */
        display: flex;
    }
    #menu > ul > li {
        -webkit-flex: 1;
        /* Safari 6.1+ */
        -ms-flex: 1;
        /* IE 10 */
        flex: 1;
    }
}

@media (min-width: 992px) {
     #menu {
        width: 940px;
    }
}

@media (min-width:1200px) {
     #menu {
        width: 1140px;
    }
}

#menu > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menu > ul > li {
    text-align: center;
}

#menu > ul > li > a:hover {
    text-decoration: none;
}

#menu > ul > li > a > .title {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    letter-spacing: 2px;
    color: #212121;
    text-decoration: underline;
}

#menu > ul > li > a > .title:hover {
    color: #d84d6e;
}

#menu > ul > li > a > .subtitle {
    text-transform: lowercase;
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #6b6b6b;
    line-height: 0px;
}

#menu > ul > li > a > .subscribe {
    color: #d84d6e;
}

@media (max-width: 768px) {
    #menu {
        padding-top: 50px;
    }
    #menu > ul > li {
        padding: 10px 0;
    }
}


/* About me */

tabs {
    position: fixed;
    width: 400px;
    right: -400px;
    bottom: 0;
    top: 0;
    background: #f2f2f2;
    font-family: 'Georgia', serif;
    font-style: italic;
    z-index: 9999;
}

tabs > img {
    width: 100%;
}

tabs:target {
    right: 0;
    transition: all .3s ease-in;
}

tabs > .info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    tabs {
        width: 100%;
        right: -100%;
    }
    tabs:target {
        width: 100%;
    }
}


.tabs__content {
	display: none;
}
.tabs__content.active {
	display: block;
}

/* Contacts */

#contacts {
    position: fixed;
    width: 400px;
    right: -400px;
    bottom: 0;
    top: 0;
    background: #f2f2f2;
    font-family: 'Georgia', serif;
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#contacts:target {
    right: 0;
    transition: all .3s ease-in;
}

#contacts > h1 {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-style: normal;
}

#contacts img {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    height: 30px;
}

#contacts img:hover {
    -webkit-filter: grayscale(0%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
    transition: all .3s ease-in;
}

@media (max-width: 768px) {
    #contacts {
        width: 100%;
        right: -100%;
    }
    #contacts:target {
        width: 100%;
    }
}

.close {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 999;
}

.close a {
    color: #d84d6e;
    font-size: 40px;
}

.close a {
    text-decoration: none;
}

.closebar {
    right: -100%;
    transition: all .3s ease-in;
}


/* Videos */

#videos {
    text-align: center;
}

#videos span {
    font-family: 'Lato', sans-serif;
}

#videos p {
    font-family: 'Georgia', serif;
    font-style: italic;
}

#videos img {
    width: 265px;
    height: 170px;
    padding: 15px 0;
}

#photos {
    text-align: center;
}

#photos span {
    font-family: 'Lato', sans-serif;
}

#photos p {
    font-family: 'Georgia', serif;
    font-style: italic;
}
 
#photos img {
    width: 265px;
    height: 170px;
    padding: 15px 0;
}



/* Footer */

#footer {
    padding-top: 10px;
    font-family: 'Lato', sans-serif;
    text-align: center;
    padding-bottom: 30px;
    color: #282828;
}

#footer a:hover {
    text-decoration: line-through;
}


/* Video PopUp*/

.YouTubePopUp-Wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 9999999999999;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUp;
    animation-name: YouTubePopUp;
}

@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body.logged-in .YouTubePopUp-Wrap {
    /* For WordPress */
    top: 32px;
    z-index: 99998;
}

.YouTubePopUp-Content {
    max-width: 680px;
    display: block;
    margin: 0 auto;
    height: 100%;
    position: relative;
}

.YouTubePopUp-Content iframe {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    height: 480px !important;
    border: none !important;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.YouTubePopUp-Hide {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUpHide;
    animation-name: YouTubePopUpHide;
}

@-webkit-keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.YouTubePopUp-Close {
    position: absolute;
    top: 0;
    cursor: pointer;
    bottom: 528px;
    right: 0px;
    margin: auto 0;
    width: 24px;
    height: 24px;
    background: url(close.png) no-repeat;
    background-size: 24px 24px;
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
}

.YouTubePopUp-Close:hover {
    opacity: 0.5;
}

@media all and (max-width: 768px) and (min-width: 10px) {
    .YouTubePopUp-Content {
        max-width: 90%;
    }
}

@media all and (max-width: 600px) and (min-width: 10px) {
    .YouTubePopUp-Content iframe {
        height: 320px !important;
    }
    .YouTubePopUp-Close {
        bottom: 362px;
    }
}

@media all and (max-width: 480px) and (min-width: 10px) {
    .YouTubePopUp-Content iframe {
        height: 220px !important;
    }
    .YouTubePopUp-Close {
        bottom: 262px;
    }
}