@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

/* Chrome Fix */

* {
    -webkit-tap-highlight-color: transparent; /* remove blue highlight color on touch devices */
}

body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
}


/* tooltip */

.tooltip {
    //display: inline;
    //position: relative;
  }
  .tooltip:hover:after{
    position: absolute;
    display: flex;
    justify-content: center;
    background: #444;
    border-radius: 8px;
    color: #fff;
    content: attr(title);
    margin-top: -80px;
    margin-left: 10px;
    font-size: 16px;
    padding: 13px;
    transform: translate(-50%);
    max-width: 250px;

  }
  .tooltip:hover:before{
    border: solid;
    border-color: #444 transparent;
    border-width: 12px 6px 0 6px;
    content: "";
    margin-top: -15px;
    //margin-left: 50%;
    position: absolute;
    transform: translate(50%);
  }

/* layout */

.wrapper {
    display: flex;
    justify-content: center;
    //align-items: center;
    height: 100vh;
}


/* Parallax Styles */

.parallax-container {
    //position: relative;
    width: 100%;
    //height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    perspective: 8px;
    perspective-origin: 0%;
    display: flex;
    background-color: #333;
    scrollbar-width: none;
}

header {
    text-align: center;
}

header > h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 12em;
    text-align:center; 
    margin-top: 25vh;
    display: inline-block;
    color: #fff;
    text-shadow: 4px 7px 20px #000000;
    
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    transform: translateZ(0px);
}

.foreground {
    margin-top: 70vh;
    //margin-top: auto;
    //margin-bottom: 50px;
    transform-origin: 0;
    transform: translateZ(3px) scale(0.625);
    width: 100%;
    /* Uncomment the code below to see the difference the scale property makes! */
    /* transform: translateZ(3px); */
    /* transform: translateZ(0) scale(1); */
}


/**WAVE */

.custom-shape-divider-top-wave {
    position: absolute;
    top: -299px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-wave svg {
    position: relative;
    display: block;
    width: calc(104% + 1.3px);
    height: 300px;
}

.custom-shape-divider-top-wave .shape-fill {
    fill: #f5f5f5;
    width: 100%;
}


/**TOP */

.custom-shape-divider-top-1616863283 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1616863283 svg {
    position: relative;
    display: block;
    width: calc(104% + 1.3px);
    height: 65px;
}

.custom-shape-divider-top-1616863283 .shape-fill {
    fill: #f5f5f5;
}


/**BOTTOM */

.custom-shape-divider-bottom-1616863149 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1616863149 svg {
    position: relative;
    display: block;
    width: calc(104% + 1.3px);
    height: 65px;
}

.custom-shape-divider-bottom-1616863149 .shape-fill {
    fill: #FFFFFF;
}


/**FOOTER */

.custom-shape-divider-top-1616863964 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1616863964 svg {
    position: relative;
    display: block;
    width: calc(104% + 1.3px);
    height: 65px;
}

.custom-shape-divider-top-1616863964 .shape-fill {
    fill: #FFFFFF;
}

header {
    height: 90vh;
    width: 100%;
    background-color: cornflowerblue;
    background-image: url('./Punat_cover.jpg');
    background-size: cover;
    background-position: top center;
}

main {
    width: 100%;
    position: relative;
}

img {
    width: 100%;
}

.hot-picks {
    position: relative;
    background-color: #fff;
    width: 100%;
    z-index: 99999;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px;
    gap: 30px;
    padding: 7% 15%;
    box-sizing: border-box;
}

.top-picks {
    position: relative;
    background-color: #f5f5f5;
    width: 100%;
    margin-top: -5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    //grid-template-rows: 300px;
    gap: 30px;
    padding: 7% 15%;
    box-sizing: border-box;
}

.top-pick {
    display: grid;
    grid-template-rows: auto auto;
    gap: 0;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .3);
    text-align: center;
    text-shadow: 1px 2px 7px rgba(0, 0, 0, .9);
}

.top-pick > div {
    grid-row: 1 / -1;
    align-self: center;
}

.top-pick  h1,
.top-pick  h3 {
    padding: 0;
    margin: 0;
}

.top-pick>img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
}

.view-more-button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    color: #fff;
    font-weight: 900;
    justify-self: center;
    align-self: center;
    background: linear-gradient(#543f5a, #e72d5f);
    padding: 15px 30px;
    margin: 20px 5px;
    border-radius: 50px;
    text-decoration: none;
}

.card-002 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 200px auto auto;
    gap: 10px;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .3);
    padding: 10px;
    cursor: pointer;
}

.card-002>img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    overflow: hidden;
}

.card-002>.title {
    padding: 0 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.card-002 .stars {
    font-size: 20px;
    margin: 5px 0;
    color: coral;
}

.card-002 h2,
.card-002 h1 {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.card-002>.price {
    //align-self: center;
    justify-self: center;
}

.card-002 .amenities {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    font-size: 18px;
    margin-bottom: 15px;
    color: lightseagreen;
    align-self: end;
}


.card-002 .amenity {
    user-select: none;
}

.card-002>.view-more-button {
    grid-column: 1 / -1;
}

.about {
    position: relative;
    background: linear-gradient( rgba(6, 88, 168, .7), rgba(6, 88, 168, .7)), url(DJI_0154-HDR.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px auto;
    gap: 20px;
    padding: 7% 15%;
    box-sizing: border-box;
}

footer {
    position: relative;
    height: 500px;
    width: 100%;
    background-color: #333;
}

@media screen and (max-width: 768px) {

    header > h1 {
        font-family: 'Kaushan Script', cursive;
        font-size: 6em;
        text-align:center; 
        margin-top: 20vh;
        margin-left: -30px;
        display: inline-block;
        color: #fff;
        text-shadow: 4px 7px 20px #000000;
        
    }
    
    .top-picks,
    .hot-picks,
    .about {
        grid-template-columns: 1fr;
        padding: 15% 5%;
    }
    .about {
        padding: 30% 20%;
    }
    .view-more-button {
        font-family: Arial, Helvetica, sans-serif;
        font-size: small;
        padding: 15px 20px;
        margin: 15px 10px;
    }
    /*
    .top-pick {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: 150px;
        gap: 0;
        border-radius: 20px;
        background-color: #fff;
        overflow: hidden;
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, .3);
    }
    */
}


/*=============================================================
INDIVIDUAL LISTING PAGE
==============================================================*/

.object {
    position: relative;
    background-color: #f5f5f5;
    width: 100%;
    //margin-top: -5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 7% 15%;
    box-sizing: border-box;
}

.general {
    margin-top: -30vh;
    grid-column: 1 / -1;
    width: 100%;
    //height: 500px;
    border-radius: 20px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .3);
    padding: 10px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 30px;
}

.listing-image {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    object-fit: cover;
    object-position: center;;
    max-height: 400px;
}

.listing-info {
    display: grid;
    grid-template-rows: 1fr;
    padding: 30px;
}

.listing-info > div {
    width: 100%;
    justify-self: end;
    display: grid;
}

.stars {
    font-size: 20px;
    margin: 5px 0;
    color: coral;
}

.book-btn {
    display: inline-block;
    //height: 30px;
    //background: #5A00FA;
    background: rgba(55, 171, 200, .9);
    border: none;
    color: white;
    font-size: 1.5em;
    //font-family: 'Nanum Gothic';
    font-family: 'Oswald', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid rgba(55, 171, 200, .9);
    text-decoration: none;
    justify-self: start;
    align-self: end;
}
  
.book-btn:hover {
    border: 2px solid black;
    background: rgba(55, 171, 200, .9);
}

.accommodation-table {
    width:100%;
    //border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
}

.accommodation-table td, .accommodation-table th {
    border: 1px solid #ddd;
    padding: 8px;
  }

.accommodation-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: rgba(55, 171, 200, .9);
    color: white;
    border-spacing: 0;
}

.accommodation-table tr:nth-child(even){background-color: #f2f2f2;}
.accommodation-table tr:hover {background-color: #ddd;}

.accommodation-table th:first-child {
    border-top-left-radius: 10px;
}

.accommodation-table th:last-child {
    border-top-right-radius: 10px;
}

.accommodation-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.accommodation-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.couch-icon {
    display: inline-block;
    background-image: url('./assets/icons/couch_icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 16px;
}

.single-bed-icon {
    display: inline-block;
    background-image: url('./assets/icons/single_bed_icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 16px;
}

.double-bed-icon {
    display: inline-block;
    background-image: url('./assets/icons/double_bed_icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 16px;
}

@media screen and (max-width: 768px) {

    .object {
        padding: 7% 5%;
    }

    .general {
        grid-template-columns: 1fr;
    }
}
