/*

Tooplate 2121 Wave Cafe

https://www.tooplate.com/view/2121-wave-cafe

*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    background-color: #18448f;
}

ul {
    padding: 0;
    margin: 0;
}

nav > ul > li {
    list-style: none;
}

a {
    color: #3cf;
    text-decoration: none;
    transition: all 0.3s ease;
}

p {
    line-height: 1.8;
    margin-top: 0;
}

h2 {
    margin-top: 0;
}

#tm-video {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1000;
}

.tm-video-wrapper {
    position: relative;
}

#tm-video-control-button {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
}

body {
    background: url("/img/custom/background.jpg") no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
 /*
.tm-container {
   background-image: url("background.jpg");
    background-attachment: fixed;
    padding: 30px;
    height: 100vh;
    width: 100vw;

    background: url("/img/custom/background.jpg") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}*/

.tm-row {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.tm-left,
.tm-right {
    width: 50%;
}

.tm-left-inner {
    /*position: fixed;*/
    margin-left: 10%;
}

.tm-site-header {
    background-color: #18448f;
    color: #fff;
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px 0 30px 0;
}

.tm-site-logo {
    margin-right: 30px;
}

.tm-site-name {
    font-size: 2.2rem;
    font-style: italic;
}

.tm-left-inner {
    max-width: 500px;
    width: 100%;
}

.tm-site-nav-ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tre colonne */
    grid-template-rows: repeat(2, 1fr); /* Due righe */
    padding: 0;
    margin: 0;
    gap: 10px;
    margin-top: 10px;
}

.tm-page-nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tm-page-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100px; /* Altezza fissa per uniformare gli elementi */
    background-color: white;
    color: #18448f;
    font-size: 1.2rem;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tm-page-link:hover,
.tm-page-link.active {
    background-color: #18448f;
    color: white;
}

.tm-page-link-icon {
    margin-right: 25px;
    margin-left: 25px;
    font-size: 1.5rem;
}

.tm-black-bg {
    background-color: rgba(24, 60, 143, 0.45);
    color: white;
    backdrop-filter: blur(6px);
}

.tm-drinks-nav > ul > li {
    display: inline-block;
}

.tm-drinks-nav > ul > li > a {
    color: white;
    font-size: 1.2rem;
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
}

.tm-drinks-nav {
    height: 80px;
}
.tm-main {
    max-width: 660px;
    margin-left: 10%;
}

.tm-drinks-nav > ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.tm-drinks-nav > ul > li a.active,
.tm-drinks-nav > ul > li a:hover {
    color: #96feff;
    border-bottom: 4px solid #96feff;
}

.tm-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.tm-list-item-2 {
    align-items: flex-start;
}

.tm-list-item-img {
    margin-right: 20px;
    width: 100%;
    background-color: #18448f;
}

.tm-list-item-img-big {
    margin-right: 25px;
    width: 200px;
    height: 200px;
}

.tm-list-item-text {
    padding: 20px 25px;
    flex: 1;
}

.tm-list-item-text-2 {
    flex: 1;
    margin-top: 20px;
}

.tm-list-item-name {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}

.tm-list-item-price {
    color: #96feff;
}
.tm-site-footer {
    margin-top: 15px;
}

.tm-footer-text {
    padding: 10px 65px 10px 20px;
    display: inline-block;
}

.tm-footer-link {
    color: white;
}
.tm-tab-content {
    animation: fadeEffect 1s;
}
.tm-page-content {
    animation: fadeEffect 1s;
}

.tm-text-primary {
    color: #ffffff;
}
.tm-mb-20 {
    margin-bottom: 20px;
}
.tm-mb-30 {
    margin-bottom: 30px;
}
.tm-img-right {
    margin-left: 30px;
    margin-right: 0;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

/* About */
.tm-about-box-1 {
    padding: 40px 50px;
    border-radius: 45px 0 45px 0;
    box-shadow: 10px 5px 40px #040e20ed;
}
.tm-about-box-2 {
    padding: 50px 40px 30px;
}
.tm-about-header {
    margin-left: 220px;
}

/* Special */
.tm-special-items {
    display: flex;
    flex-wrap: wrap;
    margin: -30px -10px 0;
}

.tm-special-item {
    max-width: 320px;
    margin: 30px 10px;
}

.tm-special-item-title {
    font-size: 1.4rem;
}
.tm-special-item-description {
    padding: 25px 30px;
}

/* Contact */
.tm-contact-text-container {
    padding: 45px 50px;
    margin-bottom: 20px;
}

.tm-contact-form-container {
    max-width: 460px;
    padding: 40px 50px;
    box-sizing: border-box;
}

.tm-form-group {
    margin-bottom: 25px;
}

.tm-form-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: transparent;
    background-clip: padding-box;
    border: 0;
    border-bottom: 1px solid white;
}

.tm-form-control::-webkit-input-placeholder {
    color: white;
} /* Edge */
.tm-form-control:-ms-input-placeholder {
    color: white;
} /* Internet Explorer 10-11 */
.tm-form-control::placeholder {
    color: white;
}

.tm-btn-primary {
    color: #099;
    background-color: white;
    border: 0;
    padding: 12px 40px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tm-btn-primary:hover {
    color: white;
    background-color: #18448f;
}

.tm-align-right {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.tm-mb-30 {
    margin-bottom: 30px;
}

.button {
    background-color: #e2b101;
    border: none;
    color: #ffffff;
    font-weight: 400;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.title-card {
    color: #fff;
}

@media (max-width: 1130px) and (min-width: 992px) {
    .tm-left-inner {
        max-width: 380px;
    }
    .tm-site-name {
        font-size: 2.6rem;
    }
    .tm-site-logo {
        margin-right: 20px;
    }
    .tm-page-link {
        width: 100%;
    }
    .tm-page-link-icon {
        margin-right: 15px;
    }
    .tm-left {
        width: 45%;
    }
    .tm-right {
        width: 55%;
    }
}

@media (max-width: 991px) {
    /*.tm-main,
    .tm-left-inner {
        margin-left: 0;
    }*/
    .tm-left-inner
    .tm-left-inner {
        position: static;
    }
    .tm-left {
        width: 83%;
    }
    .tm-right {
        width: 91%;
    }
    .tm-left {
        margin-bottom: 50px;
    }
    .tm-row {
        display: block;
    }
}

/* @media (max-width: 574px) {
    .tm-site-nav-ul {
        display: block;
    }
} */

@media (max-width: 550px) and (min-width: 501px) {
    .tm-list-item-img-big {
        width: 160px;
        height: 160px;
    }

    .tm-about-header {
        margin-left: 180px;
    }
}

@media (max-width: 500px) {
    .tm-about-header {
        margin-left: 0;
    }
    .tm-list-item-2 {
        flex-direction: column;
    }
    /* .tm-about-box-1 {
        padding-left: 30px;
    } */

    .tm-list-item-img-big {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .tm-img-right {
        margin-left: 0;
    }
}

@media (max-width: 479px) {
    .tm-site-nav-ul {
        grid-template-columns: 1fr; /* Una colonna per dispositivi mobili */
        padding: 0 10px;
    }

    .tm-site-name {
        font-size: 2.6rem;
    }
    .tm-site-logo {
        margin-right: 20px;
    }

    .tm-list-item {
        flex-direction: column;
        margin-top: 40px;
    }

    .tm-list-item-img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .tm-drinks-nav {
        height: auto;
    }

    .tm-drinks-nav > ul {
        flex-direction: column;
        padding: 15px;
    }

    .tm-drinks-nav > ul > li {
        margin-bottom: 10px;
    }
    .tm-drinks-nav > ul > li > a {
        display: block;
    }
}

@media (max-width: 768px) {
    .tm-site-nav-ul {
        grid-template-columns: repeat(2, 1fr); /* Due colonne per schermi più piccoli */
    }
}

.button:hover {
    background-color: #ffffff;
    color: #18448f;
    font-weight: 400;
}
