* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    /*Set the root font-size to approximately 10px, to aux mental conversions*/
    font-size: 62.5%;
}

body {
    margin: 0px;
    font-family: 'Barlow', sans-serif;
    background-color: #230F09;
    background-image: url("../assets/pattern.png");
    background-size: 100%;

}

p, h3 {
    font-size: 2vh;
}

a {
    font-size: 1.4rem;
}

a, p {
    color: #230f09;
}

.main-container {
    display: flex;
    flex-direction: column;
    max-width: 100vw;
}

.navbar {
    padding: 15px 40px 15px 40px;
}

.footer {
    padding: 40px 40px 40px 40px;
}

.navbar {
    background-color: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.navbar-left img {
    width: 8vh;
}

.navbar-left, 
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-link > svg {
    width: 2.8vh;
    margin: 1.5vh;
}

.navbar-button {
    margin: 1.5vh;    
    padding: 0.6em;
    background-color: transparent;
    color: #3C1A0E;
    justify-content: center;
    border: 1.2px solid #3C1A0E;
    border-radius: 5px;
    font-size: 1.4vh;
    font-weight: 500;
}

.navbar-button:hover {
    color: white;
    background-color: #3C1A0E;
}

.lang-switcher {
    margin: 1.5vh;    
    padding: 0.6em;
    justify-content: center;  
}

.lang-switcher p {
    display: inline-block;  
    margin: 0;
    padding: 0 0.4vh 0 0.4vh;    
}

.lang-switcher a {
    font-size: 1.9vh; 
}

a {
    text-align: center;
}

.presentation-button, a, .footer h3, .translateBttn {
    text-transform: uppercase;
}

.presentation a, a {
    text-decoration: none;
}

.navbar-link:hover {
    background-color: #3C1A0E;
}

.navbar-link:hover > svg {
    filter: brightness(0) invert(1);
}

.presentation, .text-page-container {
    display: flex;
    overflow: hidden;
}

.presentation-left, .text-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
}    

.presentation-left div {
    margin: 20px 0 20px 0;
    text-align: center;
}

.presentation-description, .presentation-button-brown {
    font-size: 1.7vh;
}

#carouselId {
    align-self: flex-end;
    height: auto;
    display: block;
}

#carouselId button, .carousel-indicators {
    color: white;
    /*mix-blend-mode: difference;*/
}

.carousel-item {
    width: 65vw;
}

#carouselId .carousel-item img {  
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    height: 70vh;
}

.carousel-caption > p {
    color: white;
}

.image-outline {
    position: absolute;
    width: calc(100% + 10px);
    height: 100%;
    top: 0;
    left: -10px;
    outline-offset: -10px;
    outline: 1px solid #ffffff63;
    pointer-events: none;
}

.outline-left {
    top: 0;
    left: 0;
}

.presentation-container {
    outline: 1px solid #230f0929;
    outline-offset: -10px;
}

.presentation-button-brown {
    background-color: #3C1A0E;
    padding: 2vh;
    color: white;
}

.presentation-button-brown:hover {
    background-color: #230F09; 
}

.presentation-button-white {
    display: flex;
    background-color: transparent;
    justify-content: center;
    padding: 0.5vh 0 0.5vh 0;
    color: white;
    border: 0.5px solid white;
    border-radius: 5px;
    font-size: 1.4vh;
    margin-top: 1rem;
}

.presentation-button-white:hover {
    background-color: white;
    color: #230F09; 
}

.presentation-title {
    width: 70%;
}

/*
                                    REVIEWS SECTION
*/                                    

/* Gradient animation from https://animated-gradient-background-generator.netlify.app/ */
.reviews-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6vh 0 6vh 0;

    background: linear-gradient(182deg,#fafafa,#a3a4a0,#7f8372);
    background-size: 180% 180%;
    animation: gradient-animation 12s ease infinite;
}
@keyframes gradient-animation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}

#reviewsCarousel .carousel-inner, .review {
    height: 100%;
}

.reviews-container .review {
    font-size: 2vh;
    padding: 4vh 10vw 0 10vw;
    /*width: 35vw;*/
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.name, .country {
    display: inline-block;
    width: max-content;
}

.name {
    font-weight: 500;
    font-size: 2.2vh;
    margin-top: 1vh;
}

.rating {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.review-details {
    width: 100%;
}

.review_footnotes {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.review-source {
    display: inline-block;
    font-size: 1.5vh;
    text-decoration: underline;
}

.review_footnotes {
    margin-top: 3vh;
}

.review-source, .translateBttn {
    margin: 0 2vh 0 2vh;
}

.ratings-title {
    height: 3.3vh;
}

.stars {
    height: 4.3vh;
    padding-bottom: 2.2vh;
}

.translateBttn {
    display: inline-block;
    color:#230F09;
    border-color: #230F09;
    width: max-content;
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 0;
}

.translateBttn:hover {
    color: white;
    background-color: #230F09;
}

.translating-status {
    border-color: transparent;
    cursor: not-allowed;
    pointer-events: none;
}

/*                                   
                                STICKY SIDEBAR WIDGETS
*/                                

.sticky-sidebar {
    height: 30%;
    width: max-content;
    position: fixed;
    z-index: 1;
    top: 20%;
    right: 0;
    /*background-color: white;
    border: 1px solid #230F09;*/
    overflow: hidden;
}

.sticky-widget {
    height: 50%;
    width: auto;
}

/*.navbar-left * would select all descendants of navbar-left, but adding > selects all children (nested elements don't count)*/
/*.navbar-left > *, 
.navbar-right > *, .presentation-left {
    margin: 10px;
}*/

/*
                            TERMS AND CONDITIONS / TEXT PAGES
*/
.text-page-container {
    background-color: #fafafa;
    padding: 56px 240px 56px 240px;
}

.main-text p {
    font-size: 1.7rem;
    line-height: 2.55rem;
}

.text-page-container h1 {
    font-size: 4.3rem;
    line-height: 3.3rem;
    color: #230f09;
    margin-bottom: 4.95rem;
    text-align: left;
}

.main-text h3 {
    font-size: 2.2rem;
    margin-top: 5.1rem;
    color: #230f09;
}

/*
                                        FOOTER
*/

.footer {
    height: 100%;
    /*background: #3C1A0E;*/
    background-color: #230F09;
    background-image: url("../assets/pattern.png");
    background-size: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
}

.footer-block {
    max-width: 15vw;
    align-items: flex-start;
}

.footer-block p {
    margin-bottom: 0px;
    word-wrap: break-word;
}

.footer-block-3 a {
    text-transform: none;
    text-decoration: underline;
    word-wrap: break-word;
    display: block;
}

.footer-block-3 a:last-child {
    text-decoration: none;
}    

.footer h3, .footer p, .footer a {
    color: white;
    font-size: 1.6vh;
    text-shadow: #230F09 1px 0 10px;
    text-align: left;
}

.footer-block-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-block-4 > a {
    text-decoration: underline;
    text-transform: none;
}

hr {
    color: white;
    margin: 20px 0 20px 0;
}

/*
                                    VIDEOS SECTION
*/  

.video-section {
    display: flex;
    width: 100%;
    height: max-content;
    overflow: hidden;
    flex-direction: row;
    justify-content: space-evenly;
    /*justify-content: center;*/
    align-items: center;
    background-color: #fafafa;
    outline-offset: -10px;
    outline: 1px solid #230f0929;
}

.presentation-right {
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center; 
    justify-content: center;   
}

.presentation-title-right {
    width: 60%;
}

.video-container {
    position: relative;
    display: flex;
}

.embedded-vid {
    height: 33.75vw;
    width: 60vw;
} 

/*
                                    MEDIA QUERIES
*/                                        

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

    .presentation, .text-page-container {
        flex-direction: column;
    }

    .video-section {
        flex-direction: column;
    }    

    .carousel-item, .embedded-vid {
        width: 100vw;
    }

    #carouselId .carousel-item img {  
        object-fit: cover;
        object-position: center;
        overflow: visible;
        height: 70vh;
    }

    .reviews-container .review {
        padding: 4vh 10vh 0 10vh;
    }

    .image-outline {
        position: absolute;
        width: 100%;
        height: calc(100% + 10px);
        top: -10px;
        left: 0;
        outline-offset: -10px;
        outline: 1px solid #ffffff63;
    }

    .outline-left {
        top: 0;
        left: 0px;
    }

    .video-section {
        display: flex;
        width: 100vw;
        overflow-x: hidden;
        overflow-y: visible;
    }    

    .embedded-vid {
        height: 56.25vw;
    }

    .ratings-title {
        height: 5vi;
    }

    .footer-content {
        display: grid;
        align-items: center;
        justify-items: left;
        grid-template-columns: 1fr 1fr;   
        grid-template-rows: 1fr 1fr;  
        grid-template-areas:
        'local contacts'
        'reservations reservations';
        column-gap: 5vw;
        padding: 0 4vw 0 4vw;
    }

    .footer-block {
        max-width: max-content;
        padding: 4vw 0 4vw 0;
    }

    .footer-block > a > .presentation-button-white {
        padding: 0.5vh 2vw 0.5vh 2vw;
    }

    .footer-block > a {
        font-size: 1.4vh;
    }

    .footer h3, .footer p, .footer a {
        font-size: 2vi;
    }
    
    .airbnb-links-div {
        grid-area: reservations;
        display: grid;
        grid-template-columns: 1fr 1fr;   
        grid-template-rows: 1fr;  
        grid-template-areas:
        'block1 block2';
        align-items: center;
        justify-items: center;
        column-gap: 5vw;
        width: 100%;
    }

    .footer-block-3 {
        width: max-content;
    }

    .footer-block-3 > a {
        display: block;
    }

    p {
        word-wrap: break-word;
    } 

    .presentation-left, .text-page-container {
        padding: 40px; 
    }

    .video-section > .presentation-right {
        padding: 7vh;
    }

    .presentation-title-right > img {
        max-width: 80vw;
    }
}  
