@font-face {
    font-family: myBodoni;
    src: url("../Fonts/Bodoni-16-Medium.otf");
}

body {
    font-family: Tahoma, Verdana, Geneva, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.nav-item a {
    color: black;
}

#contact a {
    color: white
}

#contact a:hover {
    font-weight: 600
}

a:hover {
    text-decoration: none !important;
}

h1.myFont {
    font-family: "Italianno", cursive;
    font-size: 4rem;
    text-shadow: 1px 1px 2px goldenrod;
}

.propertyFont {
    color: white;
    font-family: "Italianno", cursive;
    font-size: 6rem;
    text-align: center;
    padding-top: 75px;
}

h1.headerFont {
    font-family: "Italianno", cursive;
    font-size: 4rem;
    text-align: center;
    text-shadow: 1px 1px 2px goldenrod;
}

h1.headerFont2 {
    font-family: "Italianno", cursive;
    font-size: 4rem;
    text-align: center;
    text-shadow: 1px 1px 2px goldenrod;
    color: white
}

p.videoFont {
    font-family: "Italianno", cursive;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px goldenrod;
}

p.myFont {
    font-size: 2.5rem;
    font-family: "Italianno", cursive;
}

h3.myTitleFont {
    font-family: "Italianno", cursive;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0;
}

h3.myHeadFont {
    font-family: "Italianno", cursive;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0;
}

.quote {
    display: block;
    margin: 50px auto 0px;
    font-size: 2.5rem;
    font-family: "Italianno", cursive;
}

.logo_header {
    width: 65%;
}

#about {
    background-image: url(../images/logos/Baan_logo_trans10.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
    position: relative;

}

#contact {
    background-color: black;
    position: relative;
}

#location {
    background-color: white;
    position: relative;
}

.div-overlay {
    min-height: 150px;
    background-color: rgba(135, 206, 250, 0.5)
}

.darkerbg {
    /*background-color: rgb(230, 230, 230);*/
    background-color: transparent;
    padding: 10px;
    min-height: 200px;
}

.lighterbg {
    /*background-color: rgb(245, 245, 245);*/
    background-color: transparent;
    padding: 10px;
    min-height: 200px;
}

.villas {
    background-color: rgba(135, 206, 250, 0.5);
    position: relative;
}

a.nav-item {
    color: black;
    font-size: 1.8rem;
    font-family: "Italianno", cursive;
}

.card#villa-cards {
    min-height: 35vw;
    margin-bottom: 48px;
}

.img-shadow img {
    max-width: 100%;
    box-shadow: 2px 2px 20px grey;
}

.nav-logo {
    width: 60px;
    height: 100%;
}

.header-dusit {
    height: 20vh;
    margin-top: 59px;
    background-image: url(../images/dusit/dusit-cover2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.header-nimman {
    height: 20vh;
    margin-top: 59px;
    background-image: url(../images/Nimman/header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.header-taewin {
    height: 20vh;
    margin-top: 59px;
    background-image: url(../images/Taewin/header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.header-wiman {
    height: 20vh;
    margin-top: 59px;
    background-image: url(../images/Wiman/Header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

header {
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
    margin-top: 100px;
    /*left: 50%;
    transform: translateX(-50%)*/
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.flip-card-back p {
    font-size: 1rem;
}

.location-card {
    background-color: rgba(255, 255, 255, 0.644);
    width: 100%;
    min-height: 400px;
    text-align: center;
    padding: 20px;
    border-bottom: none;
    border-top: none;
}

.location-card a {
    color: black
}

#resta {
    background-image: url(../images/location/kitchen-731351_640.jpg);
    background-size: cover;
    background-position-y: top;
}

#diving {
    background-image: url(../images/location/diving-2299609_640.jpg);
    background-size: cover;
    background-position-y: center;
}

#medical {
    background-image: url(../images/location/hospo.jpg);
    background-size: cover;
    background-position-y: top;
}

#golf {
    background-image: url(../images/location/golf2.jpg);
    background-size: cover;
    background-position-y: center;
}

#education {
    background-image: url(../images/location/skool.jpg);
    background-size: cover;
    background-position-y: bottom;
}

#wellness {
    background-image: url(../images/location/relax2.jpg);
    background-size: cover;
    background-position-y: center;
}

#marina {
    background-image: url(../images/location/marina2.jpg);
    background-size: cover;
    background-position-y: top;
}

#beach {
    background-image: url(../images/location/beach2.jpg);
    background-size: cover;
    background-position-y: top;
}

hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right,
            rgba(210, 210, 210),
            goldenrod,
            rgba(210, 210, 210));
}

#more {
    display: none;
}

.modal2 {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}

.close2 {
    color: black !important;
    font-weight: bold;
    float: right
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white !important;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 7vw !important;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.carousel-inner>.carousel-item {
    -webkit-transition: -webkit-transform 3s ease-in-out !important;
    -o-transition: -o-transform 3s ease-in-out !important;
    transition: transform 3s ease-in-out !important;
}

.list-centered {
    text-align: center;
    list-style-position: inside;
}

.footer {
    position: relative;
    min-height: 80px;
    background-color: white;
}

.footer2 {
    position: relative;
    min-height: 80px;
    background-color: black;
}

#villapara {
    color: white;
}

#contact-left {
    color: white;
    border-right: 2px solid white;
}

#contact-right {
    color: white;
    border-left: 2px solid white;
}


a.morelink {
    text-decoration: none;
    outline: none;
}

.morecontent span {
    display: none;
}

.card#card-hover:hover {
    box-shadow: 2px 2px 20px black;
    border: 2px solid goldenrod
}

#card-hover a {
    height: 100%
}

#floorplan img {
    border-radius: 15px;

}

.villa-gallery img {
    margin: 5px;
    box-shadow: 1px 1px 4px black
}

#contacting a {
    color: black
}

#contacting a:hover {
    font-weight: 600
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ham3 .top {
    stroke-dasharray: 40 130;
}

.ham3 .middle {
    stroke-dasharray: 40 140;
}

.ham3 .bottom {
    stroke-dasharray: 40 205;
}

.ham3.active .top {
    stroke-dasharray: 75 130;
    stroke-dashoffset: -63px;
}

.ham3.active .middle {
    stroke-dashoffset: -102px;
}

.ham3.active .bottom {
    stroke-dasharray: 110 205;
    stroke-dashoffset: -86px;
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #000;
    stroke-width: 5.5;
    stroke-linecap: round;
}

.modal-content {
    background-color: transparent !important;
}

.modal-footer {
    border-top: none !important;
}

@media (max-width: 450px) {
    p.videoFont {
        font-size: 2rem;
    }
}

@media (max-width: 1000px) {
    header {
        background-image: url("../images/Taewin/Pool/4.jpg");
        background-color: lightskyblue;
        background-attachment: scroll;
        background-size: cover;
        background-position-x: center;
    }

    header video {
        display: none;
    }

    .logo_header {
        width: 30%;
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    h1.headerFont {
        font-size: 4rem;
    }

    h1.headerFont2 {
        font-size: 4rem;
    }

    .flip-card-back p {
        font-size: 0.8rem;
    }

    .flip-card-back {
        padding: 5px;
    }

    .villas {
        background-color: white;
    }

    #villapara {
        color: black;
    }

    #contact-left {
        color: black;
        border-right: none;
    }

    #contact-right {
        color: black;
        border-left: none;
    }

    h1.headerFont2 {
        color: black
    }

    #contact {
        background-color: white
    }

    #contact a {
        color: black
    }

    .location-card {
        min-height: 300px;
    }

    #beach {
        background-position-y: center;
    }

    h3.myHeadFont {
        display: none
    }
}