﻿#burgerBtn {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid black;
    border-radius: 8px;
    cursor: pointer;
    font-size: 28px;
    z-index: 1001;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

#burgerBtn:hover {
    background: orange;
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: white;
    border-right: 3px solid orange;
    padding: 70px 15px 15px 15px;
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 1000;
    box-shadow: 3px 0 10px rgba(0,0,0,0.2);
}

#menu.open {
    transform: translateX(0);
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu li {
    margin: 15px 0;
}

#menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

#menu a:hover {
    background: orange;
    color: white;
    transform: translateX(5px);
}


a {
    color: orange;
    font-size: 30px;
}

.tablica {
    border: solid 5px orange;
    background-color: #DCDCDC;
}

table {
    color: black;
}

#delfin {
    opacity: 0.5;
}

#gif:hover {
    width: 510px;
    height: 490px;
}

audio {
    border: 2px solid black;
    background: orange;
}

body {
    background: linear-gradient(to bottom,
                #F4F5F7 0%,
                #BCDEE6 80%,
                #198596 120%);
    min-height: 100vh;
    padding: 20px;
}

img {
    border: 3px solid orange;
}

#tap {
    border: 3px solid orange;
    margin-top: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
  img, video {
    max-width: 100%;
    height: auto;
  }
  
  .tablica {
    font-size: 14px;
    overflow-x: auto;
  }
  
  #gif {
    width: 100% !important;
    height: auto !important;
  }
}