﻿body {
    overflow: hidden;
    margin: 0px;
    font-family: 'Segoe UI';
}
.loading {
    position: absolute;
    text-align: center;
    width: 100%;
    transform: translateY(-50%);
    top: 50%;
    z-index: 0;
}
a {
    display: block;
    float: left;
    width: 50%;
    height: 100%;
    position: absolute;
    z-index: 1;
    transition: all 0.8s ease-in-out;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
}
a .cover {
    background-color: #000;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    -webkit-transition: opacity 0.6s ease-in-out;
    -moz-transition: opacity 0.6s ease-in-out;
    -o-transition: opacity 0.6s ease-in-out;
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 1;
}
a .vegas {
    opacity: 0;
    position:relative;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 0;
    transition: opacity 1.2s ease-in-out;
    -webkit-transition: opacity 1.2s ease-in-out;
    -moz-transition: opacity 1.2s ease-in-out;
    -o-transition: opacity 1.2s ease-in-out;
}
a.visible .vegas { opacity: 1; }
a.left {
    top: 100%;
    left: 0px;
    background: transparent url(../images/beirut.jpg) no-repeat center top;
    background-size: cover;
}
a.left.visible, a.right.visible { top: 0px; }
a.right {
    top: -100%;
    right: 0px;
    background: transparent url(../images/turkey1.jpg) no-repeat center top;
    background-size: cover;
}
a:hover .cover { opacity: 0.5; }
a .country {
    position: absolute;
    top: 180px;
    font-size: 30px;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}
a.left .country {
    padding-right: 10%;
    right: 100%;
}
a.right .country {
    padding-left: 10%;
    left: 100%;
}
a:hover .country { opacity: 1; }
a.left:hover .country { right: 0px; }
a.right:hover .country { left: 0px; }
a .intro {
    position: absolute;
    top: 100%;
    width: 100%;
    color: #fff;
    opacity: 0;
    z-index: 2;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}
a .intro span {
    padding: 0px 10%;
    display: block;
    text-align: justify;
}
a:hover .intro {
    opacity: 1;
    top: 50%;
}
a .flag {
    position: absolute;
    top: 220px;
    display: block;
    width: 100%;
    z-index: 2;
    transition: all 0.8s ease-in-out;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
}
a .flag img { height: 20px; }
a.left .flag { left: -100%; }
a.right .flag { right: -100%; }
a.left .flag img {
    margin-right: 10%;
    float: right;
}
a.right .flag img {
    margin-left: 10%;
    float: left;
}
a.left:hover .flag { left: 0px; }
a.right:hover .flag { right: 0px; }
a .logo {
    position: absolute;
    top: 0px;
    width: 100%;
    opacity: 1;
    z-index: 2;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}
a .white-logo { opacity: 0; }
a.left .logo { text-align: right; }
a.right .logo { text-align: left; }
a .logo span {
    margin-top: 50px;
    display: inline-block;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}
a.left .logo span { padding-right: 10%; }
a.right .logo span { padding-left: 10%; }
a:hover .logo { opacity: 0; }
a:hover .white-logo { opacity: 1; }
a:hover .logo span { background-color: rgba(0, 0, 0, 0.3); }
a .button {
    position: absolute;
    z-index: 2;
    width: 100%;
    bottom: -100%;
    text-align: center;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
}
a:hover .button {
    bottom: 10%;
    opacity: 1;
}
a .button .btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #1d4c69;
    border-radius: 4px;
    background-color: #235b7d;
    color: #fff;
}a .button .btn:hover {
     background-color: #183d54;
     border-color: #102938;
 }
@media (max-width: 1024px) {
    a .cover { opacity: 0.3; }
    a .white-logo { opacity: 1; }
    a .logo span { background-color: rgba(0, 0, 0, 0.3); }
    a.left .country { right: 0px; opacity: 1; }
    a.right .country, a.right .flag, a.left .flag { left: 0px; opacity: 1; }
    a.left .intro { top: 50%; opacity: 1; font-size: 12px; }
    a.right .intro { top: 50%; opacity: 1; font-size: 12px; }
    a.left .button { bottom: 10%; }
    a.right .button { bottom: 10%; }
}
@media (max-width: 568px) {
    a { width: 100%; height: 50%; }
    a.left { top: 0px; left: -100%; }
    a.right { top: 50%; left: 100%; }
    a.left.visible { left: 0px; top: 0px; }
    a.right.visible { left: 0px; top: 50%; }
    a .logo span { padding-left: 0px !important; padding-right: 0px !important; text-align: center; width: 100%; margin-top: 0px; }
    a.left .logo { top: auto; bottom: 0px; }
    a.right .logo { top: 0px; }
    a.left .country { top: 50px; }
    a.left .flag { top: 90px; }
    a.right .country { top: 100px; }
    a.right .flag { top: 140px; }
    a.left .intro { top: 30%; }
    a.left .button { bottom: 30%; }
}
@media (max-width: 320px) {
    a .logo img { height: 50px; }
    a.left .country { top: 10px; }
    a.left .flag { top: 50px; }
    a.left .intro { top: 25%; }
    a.left .button { bottom: 27%; text-align: right; }
    a.left .button .btn { font-size: 11px; margin-right: 10%; }
    a.right .country { top: 70px; }
    a.right .flag { top: 110px; }
    a.right .intro { top: 45%; }
    a.right .button { bottom: 5%; text-align: left; }
    a.right .button .btn { font-size: 11px; margin-left: 10%; }
}