@font-face {
    font-family: 'FancyFont';
    src: url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap') format('woff2');
}

body {
    font-family: Arial, sans-serif;
    color: #3e2723;
    margin: 0;
    padding: 0;
    background-image: url('../Images/coffee.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(141, 110, 99, 0.9);
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(to bottom, #8d6e63, #6d4c41);
    padding: 5px;
    border-radius: 10px;
}

.tablink {
    background-color: #6d4c41;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 48px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tab-icon {
    width: 32px;
    height: 32px;
    background-image: url('../Images/sprite.png');
    background-repeat: no-repeat;
    background-size: 96px 32px;
    margin-bottom: 5px;
}

#coffee-tab .tab-icon {
    background-position: 0 0;
}
#tea-tab .tab-icon {
    background-position: -32px 0;
}
#dessert-tab .tab-icon {
    background-position: -64px 0;
}

.tab-text {
    font-size: 0.875em;
    font-weight: bold;
}

.tablink:hover {
    background-color: #8d6e63;
    transform: translateY(-2px);
}

.tablink.active {
    background-color: #4e342e;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

main {
    padding: 90px 20px 20px;
    width: 90%;
    max-width: 600px;
    flex-grow: 1;
}

.branding {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.logo {
    width: 250px;
    height: auto;
}

h1 {
    margin: 10px 0;
}

section {
    margin-bottom: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
}

.tabcontent, .default-content {
    display: none;
}

.tabcontent.active, .default-content.active {
    display: block;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
}

li.even {
    background-color: rgba(235, 235, 235, 0.8);
}

a {
    color: #6d4c41;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #8d6e63;
}

.info {
    display: block;
    font-size: 0.9em;
    color: #4e342e;
    margin-top: 5px;
}

button {
    background-color: #6d4c41;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    max-width: 200px;
    margin: 10px auto;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #8d6e63;
}

footer {
    background-color: rgba(141, 110, 99, 0.9);
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
}

.fontface h1 {
    font-family: 'FancyFont', cursive;
}

.cssgradients .tabs {
    background: linear-gradient(to bottom, #8d6e63, #6d4c41);
}

.no-cssgradients .tabs {
    background-color: #6d4c41;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
    }
    .tablink {
        width: 44px;
        height: 66px;
    }
    .branding, section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 150px;
    }
    .tablink {
        width: 40px;
        height: 60px;
    }
    .tab-text {
        font-size: 0.75em;
    }
    .branding, section {
        padding: 10px;
    }
}