/* General Styles */
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: #1E5050;
}

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;
}

.tm-container { 
    padding: 30px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack items vertically */
}

.tm-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Full width for responsiveness */
}

.tm-left,
.tm-right {
    width: 50%;
}

.tm-left-inner { position: fixed; }

.tm-site-header {
    background-color: white;
    color: #099;
    width: 100%;
    height: 160px; 
    display: flex;
    align-items: center;
    justify-content: center;   
}

.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: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    width: 100%; /* Full width for responsiveness */
}

.tm-page-nav-item { margin-top: 5px; }

.tm-page-link {
    font-family: 'Times New Roman', Times, serif;
    min-width: 60px;
    height: 40px;
    color: rgb(24, 197, 232);
    display: flex;
    align-items: center;
    justify-content: center; /* Center text within the link */
    text-align: center;
    font-size: 1.2rem;
}

.tm-page-link:hover,
.tm-page-link.active {
    color: rgb(24, 197, 232);
}

.tm-page-link-icon {
    margin-right: 15px;
    margin-left: 25px;
    font-size: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tm-left-inner { position: static; }
    .tm-left, .tm-right { width: 100%; }
    .tm-left { margin-bottom: 50px; }
    .tm-row { display: block; }
    .tm-site-nav-ul { display: block; text-align: center; } /* Center the navigation items */
}

@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: 1130px) {
    #tm-video source {
        display: none;
    }
    #tm-video #alternate-video {
        display: block;
    }
}

/*********************************************************/
@media (max-width: 1130px) {
    .tm-container,
    .tm-site-nav,
    .button-container,
    center h3 {
        display: none;
    }

    #tm-video-control-button {
        display: none;
    }
}

/*********************************************************/
@media (max-width: 479px) {
    .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; }
    
}

.button-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.transparent-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0 10px; /* Adjust margin */
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    line-height: 1.5; /* Adjust line-height for better vertical centering */
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Stack text lines vertically */
    justify-content: center; /* Center text vertically within the button */
    transition: background-color 0.3s ease;
}

.transparent-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: rgb(24, 197, 232);
}

.bottom-section {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    color: white;
}

/* Hide .bottom-section on mobile devices */
@media (max-width: 1130px) {
    .bottom-section {
        display: none;
    }
}
