@import url(https://use.typekit.net/ddx4uoz.css);
/* DRUK */
@font-face {
    font-family: DRUK;
    src: url("../assets/fonts/Druk-Medium-Web.woff2") format("woff2"),
         url("../assets/fonts/Druk-Medium-Web.woff") format("woff"),
         url("../assets/fonts/Druk-Medium.otf") format("opentype");
}
/* FavoritMono-Reg */
@font-face {
    font-family: Favorit-Reg;
    src: url("../assets/fonts/FavoritMonoStd-Regular.otf") format("opentype");
}
/* FavoritMono-Bold */
@font-face {
    font-family: Favorit-Bold;
    src: url("../assets/fonts/FavoritMonoStd-Bold.otf") format("opentype");
}

:root{
    /* Width contraints */
    /* --site-max-width: 1185px; */
    --site-max-width: 1000px;
    --logo-width: 206px;

    /* Margins, padding */
    --base-side: 32px;

    /* Colors */
    --dark-blue: #2E2E75;
    --light-blue: #21B2E8;
    --white: #FFFFFF;
    --logo-offset-left: 192px;
    --border: 1px solid rgb(164, 164, 164);
    --margin-y-between: 55px;
    --margin-x-between: 0px;
}

#logo {
    width: var(--logo-width);
}
.uppercase {
    text-transform: uppercase;
}

.btn-theme-blue {
    background-color: var(--light-blue);
    color: var(--white) !important;
    padding: 4px 15px;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
}
.btn-theme-blue:hover {
    background-color: rgb(43, 101, 158);
    color: var(--white);
}

.flip-card-back .btn-theme-blue:hover {
    background-color: var(--white);
    color: var(--dark-blue) !important;
}

.druk{
    font-family: DRUK;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-feature-settings: "liga", "kern";
    font-weight: 500;
}

.favorit-reg {
    font-family: Favorit-Reg, monospace;
}

.favorit-bold {
    font-family: Favorit-Bold, monospace;
}

.futura {
    font-family: "futura-pt", "sans-serif";
}

body {
    position: relative;
}

/* Unset bootstrap margins and padding */
.row {
    margin-right: unset;
    margin-left: unset;
}

.col-sm-4, .col-sm-6, .col-sm-8, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    padding: 0;
}

.constrain-width {
    padding-left: 32px;
    padding-right: 32px;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* @media(min-width: 768px){
    .constrain-width-logo {
        max-width: var(--logo-max-width) !important;
    }
} */

header {
    box-shadow: 0 0px 20px -2px rgba(0,0,0,0.2);
    margin-bottom: var(--margin-y-between);
    padding-top: var(--base-side);
    padding-bottom: var(--base-side);
    width: 100%;
    position: fixed;
    z-index: 1;
    background: var(--white);
}

main {
    padding-top: 219px;
}

header .constrain-width {
    justify-content: space-between;
}

section.nav, section.logo {
    width: fit-content;
}

.navbar {
    /* padding: 0; */
}

.navbar-toggler {
    border: none;
    /* padding: 0; */
}

.travel-week-events {
    margin-bottom: var(--margin-y-between);
}

.travel-week-events h3 {

    font-size: 16px;
}

@media(min-width: 768px){
    .travel-week-events .constrain-width {
        justify-content: space-between;
    }
    
    .country-card.col-md-6 {
        flex: 0 0 49% !important;
    }
}

.card-buttons {
    display: flex;
}

.details p {
    margin-bottom: 0;
}

.details .info {
    margin-bottom: 20px;
}

.flip-card-front .card-buttons {
    margin-bottom: 20px;
}

.flip-card-front .card-buttons, .flip-card-back .card-buttons {
    font-size: 16px;
}

.flip-card-front .details h3{
    font-size: 20px;
    line-height: 22px;
    min-height: 44px;
}


.card-buttons .btn-theme-blue {
    margin: 0 6px;
}
@media(max-width: 424px) {
    .card-buttons .btn-theme-blue {
        margin: 10px 0px 0 0px;
        text-align: center;
    }
}

@media(min-width: 425px){
    .card-buttons {
        width: 100%;
        display: flex;
        margin-bottom: 20px;
        justify-content: center;
    }
    .details .card-buttons {
        display: flex;
        justify-content: center;
    }
    .details .card-buttons .btn-theme-blue{
        margin: 0 6px;
    }

    .flip-card-back .btn-theme-blue{
        
        color: var(--white) !important;
    }
    .flip-card-back .btn-theme-blue:hover {
        color: var(--dark-blue);
    }
}


.country-image {
    background-position: 0px center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 300px;
    display: block;
}

.country-image.europe {
    background-image: url('../assets/images/london-eye.jpg');
    background-position: -100px -250px;
    background-size: auto 600px;
}

.country-image.india {
    background-image: url('../assets/images/AndazDelhi.jpg');
    background-position: center center;
}

.country-image.india .flip-card-back {
    display: none;
}

@media(min-width: 768px){
    .country-image.india {
        background-size: auto 300px;
    }
}

.card-inner {
    border: var(--border);
    padding: 15px 20px;
}


@media(max-width: 767px) {
    .card-inner.europe {
        margin-bottom: var(--margin-y-between);
    }
}

.video-recap {
    background: rgb(233, 247, 253);
    margin-bottom: var(--margin-y-between);
    padding-top: var(--margin-y-between);
    padding-bottom: var(--margin-y-between);
}
@media(min-width: 768px) {
    .video-recap .row{
        display: flex;
        justify-content: center;
    }
}

@media(min-width: 768px) {
    .video-details {
        width: 215px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-right: 55px;
        padding-bottom: 65px;
    }
}

@media(min-width: 768px) {
    .video-recap .constrain-width {
        display: flex;
        justify-content: center;
    }
}


@media(min-width: 768px) {
    .video {
        width: 500px;
    }
}

.video-thumbnail:hover {
    cursor: pointer;
}

.video-thumbnail img:hover {
    opacity: 1;
	-webkit-animation: flash .5s;
	animation: flash .5s;
}
@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}

.video-thumbnail {
    height: 300px;
    width: 100%;
    background-image: url('../assets/images/city.png');
    background-color: white;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#overlay, #overlay-1 {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
    background: black;
    opacity: .9;
}


#close-overlay, #close-overlay-1 {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3;
    margin-right: 18px;
    margin-top: 15px;
    opacity: 1;
    cursor: pointer;
    color: var(--white);
}

#player, #player-1 {
    display: none;
    position: fixed;
    left:0;
    top: 0;
    bottom: 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: auto;
    margin-bottom: auto;
    width: calc(100% - 40px);
    height: calc(100% - 300px);
    opacity: 1;
    z-index: 3;
}

@media(min-width: 500px) {
    #player, #player-1 {
        display: none;
        margin-left: 86px;
        margin-right: 86px;
        margin-top: auto;
        margin-bottom: auto;
        width: calc(100% - 172px);
        height: calc(100% - 220px);
    }
}

footer {
    border-top: var(--border);
    padding-top: 55px;
}

.footer .logo-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: var(--margin-y-between);
}
@media(min-width: 768px){
    .footer .logo-vertical {
        margin-right: 55px;
        margin-bottom: 0;
    }
}

footer #logo-vertical {
    width: 100%;
    margin-right: auto;
}

@media(min-width: 768px){
    footer #logo-vertical {
        width: var(--logo-width);
    }
}

footer .constrain-width {
    display: flex;
    flex-direction: column;
    padding-bottom: 55px;
}
@media(min-width: 768px){
    footer .constrain-width {
        flex-direction: row;
    }
}

footer .social-media-links {
    list-style: none;
    padding-inline-start: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
}

@media(min-width: 600px){
    footer .social-media-links {
        width: fit-content;
        justify-content: unset;
    }

    footer .social-media-links li {
        margin-right: 5px;
    }

}

footer .site-links {
    font-size: 15px;
}

@media(min-width: 768px){
    footer .site-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 3px;
    }
}
@media(min-width: 992px) {
    footer .site-links {
        padding-bottom: 32px;
    }
}

footer .site-links nav{
    display: flex;
    flex-direction: column;
}

footer .site-links a {
    color: var(--dark-blue);
}

footer .site-links nav a {
    margin-bottom: 10px;
}

@media(min-width: 992px){
    footer .site-links nav {
        flex-direction: row;
    }
}

footer .links-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}
@media(min-width: 380px){
    footer .links-inner {
        flex-direction: row;
    }
}
@media(min-width: 768px){
    footer .links-inner {
        justify-content: space-between;
    }
}

section.sub-footer {
    background: var(--light-blue);
    height: 43px;
    display: block;
}


section.contact .travel-link{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
@media(min-width: 600px){
    section.contact .travel-link{
        width: 140px;        
    }
}

section.contact .travel-link:first-child{
    margin-right: 10px;
}

section.contact {
    margin-top: var(--margin-y-between);
}

section.contact p:first-child {
    color: var(--dark-blue);
}


@media(min-width: 380px){
    section.contact {
        margin-left: auto;
        margin-top: 0;
    }
}
@media(min-width: 768px){
    section.contact {
        display: flex;
        flex-direction: column;
        width: fit-content;
        border-left: 1px solid var(--dark-blue);
        padding-left: 20px;
    }
}

.travel-link-container {
    display: flex;
    flex-direction: column;
}

@media(min-width: 600px) {
    .travel-link-container {
        flex-direction: row;
        margin-bottom: 6px;
    }
}

.pipe {
    display: none;
}
@media(min-width: 992px) {
    .pipe {
        display: inline-block;
        margin: 0 5px;
    }
}

footer section.contact .fa {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue);
    border-radius: 100%;
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

footer section.contact .social-media-link {
    text-decoration: none;
}

footer section.contact .fa::before {
    line-height: 20px;
    font-size: 20px;
    margin-left: 2px;
}
/* Flip card */

@media(max-width: 424px){
    .flip-card-back {
        display: none;
    }
    .flip-card-inner {
        padding-bottom: 20px !important;
    }

    .flip-card-front .card-buttons {
        flex-direction: column;
    }

    .flip-card-buttons .btn-theme-blue {
        margin-top: 10px !important;
    }
    .card-buttons {
	
    }
}
@media(min-width: 425px){
.flip-card {
    perspective: 10000px;
}
  
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 532px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
  
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: calc(100% - 40px);
}

.flip-card-back {
    width: 100%;
    margin-top: -15px;
    margin-left: -20px;
    padding: 100px 60px 20px 60px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.flip-card-back {
    background-color: var(--dark-blue);
    color: white;
    transform: rotateY(180deg);
}
}
