/* STANDARD ELEMENTS */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cormorant Garamond", serif;
}

::selection {
    background: rgb(109, 25, 25);
    color: white;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    gap: 10px;
}

a {
    text-decoration: none;
    color: whitesmoke;
    text-align: center;
}

a:hover {
    color: black;
    text-decoration: none;
}

hr {
    border: none;
    border-top: 1px solid #000000;
    width: 45%;
    border-color: rgb(109, 25, 25);
}

/* TEXT ELEMENTS */
.text {
    font-weight: 200;
    font-style: normal;
    color: #272c22;
    font-size: 18px;
}
.strong-txt{
    font-weight: 900;
}

.link {
    font-weight: 600;
    font-style: normal;
    color: brown;
}

.link:hover {
    color: black;
    cursor: pointer;
}

.link-icon {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
}

#map-icon{
    width: 20vh;
    transition: transform 0.5s ease;
    transition: filter 0.5s ease;
}
#map-icon:hover{
    transform: scale(1.50);
    filter: brightness(1.05);
}

/* FLEXBOX */
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.row p {
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BUTTONS ELEMENTS */
#bookingBtn {
    background-color: rgba(109, 33, 25, 0.797);
    padding: 10px;
    color: whitesmoke;
    transition: 0.7s;
    width: 50%;
    border: 1px solid black;
}
#up-btn-cont{
    width: 100%;
    text-align: right;
    z-index: 80;
    position: fixed;
    right: 5%;
    bottom: 5%;
}
#up-btn{
    width: 50px;
    height: 50px;
    background-color: #f2cc8f32;
    border-radius: 50%;
    border: 1px solid rgb(0, 0, 0);
    font-size: 20px;
    transition: 0.6s;
}
#up-btn:hover{
    color: brown;
    border: 1px solid rgb(73, 16, 16);
    cursor: pointer;
}
#up-btn.hidden {
    opacity: 0;
    pointer-events: none;
}
#up-btn:focus{
    transform: translateY(30px);
}

#bookingBtn:hover {
    background-color: rgb(109, 34, 25, 0.5);
    color: black;
    border-radius: 10px;
    cursor: pointer;
}

iframe {
    border-radius: 10px;
    width: 90%;
    height: 70vh;
    border: 0;
}

#row-lang {
    position: fixed;
    z-index: 99;
    justify-content: end;
}

#language-cont {
    padding: 10px !important;
}

.btn-flag {
    border: 0;
    padding: 10px;
    margin: 0;
    line-height: 0;
    background: none;
}

.flag-svg,
.flag-svg {
    height: 15px;
    object-fit: contain;
    border-radius: 5px;
}

.flag-svg:hover,
.flag-svg:hover {
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: 0.3s;
    filter: brightness(1.2) contrast(1.1);
}

/* START SECTION */
#start-section {
    background-image: url("/images/masseria.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#start-cont {
    background-color: rgba(245, 245, 245, 0.467);
}

#days,
#hours,
#minutes,
#seconds {
    font-size: 25px;
    font-weight: bold;
}

.date-time {
    font-size: 15px;
    font-weight: bold;
}

#olive {
    width: 15vh;
    height: auto;
}

/* RESERVATION SECTION*/
#amalfi-section {
    background-image: url("/images/amalfi.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    align-items: flex-start;
    justify-content: flex-start;
}

#amalfi-section .row {
    width: 80%;
    height: 100%;
    align-items: flex-start;
    padding: 10%;
}

#amalfi-section .column {
    gap: 10px;
    padding: 10px;
}

/* GIFT SECTION */
#gift-section {
    background-color: #FDE3BB;
    padding-top: 60px;
    padding-bottom: 60px;
}


.row .iban-text {
    white-space: pre-line;
    text-align: left;
}

#ibanTxt:hover,
#recipientTxt:hover,
#objTxt:hover {
    cursor: pointer;
    color: rgb(109, 25, 25);
}

.iban-text {
    color: #272c22;
    font-size: 18px;
}
#bank-info{
    padding-top: 50px;
}


/* QA SECTION */
#qa-section {
    padding-top: 8vh;
    background-color: #FDE3BB;
}

#qa-location-link {
    color: rgb(109, 25, 25);
}

#qa-location-link:hover {
    color: black;
}

.row-hr {
    padding-bottom: 20px;
    padding-top: 20px;
}

.question {
    font-weight: 700;
}

.answer {
    font-weight: 450;
}

/*STORY SECTION*/

#story-txt-cont {
    width: 80% !important;
    transform: translateY(10vh);
}

#story-img-cont {
    height: 100%;
    left: 0px;
    border-radius: 30px;
    transform: translateY(10vh);
}

#img-church {
    object-fit: cover;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top: 10px whitesmoke solid;
    border-bottom: 10px whitesmoke solid;
    border-left: 10px whitesmoke solid;
}

/*BOOKING SECTION*/
#booking-section {
    background-color: #3e4d3f81;
    padding-top: 15vh;
}

#booking-section .row {
    padding-top: 20px;
}

#txt-story {
    width: 80%;
    margin-bottom: 50px;
}

@media (max-width: 800px) {

    #amalfi-section .row {
        margin-top: 10vh;
    }

    .row .iban-text {
        white-space: pre-line;
        text-align: left;
    }
}