
@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
html {
  scroll-behavior: smooth;
}

body {
    height: 100%;
    font-family: "Inconsolata", sans-serif;
    background-color: #0e0e0e;
}


.menu {
    display: none;
  }


#header-video {
  display: block;
  position: absolute;
  margin-top: -20vh;
  height: 120vh;
  width: 100vw;
  z-index: -1;
  filter: brightness(15%);
  object-fit: cover;
}


.container {
    
    overflow: hidden;
    display: block;
    height: 80vh;
    width: 100vw;
    margin-left: -40px;
 
}

.header-content {
    position: absolute;
    transform: translate(-50%, -60%);
    top: 50%;
    left: 50%;
    text-align: center;
    z-index: 1;
}

.header-content img {
    height: 30vh;
}

h1 {
    font-size: 8vw;
    margin-bottom: 0;
    color: #d5c000;
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: normal;
}

.w3-top {
    z-index: 3;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: auto;
  justify-content: center;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 5px;
  background-color: rgb(224, 224, 224);
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: black;
  color: white;
}

.button img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .button {
      font-size: 16px;
      padding: 8px 15px;
  }

  .button img {
      width: 20px;
      height: 20px;
  }
}

.container-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a .card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1; /* Square shape */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all .5s;
  
}

a .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.714);
  z-index: 1;
  transition: all .5s;
}

a .card span {
  z-index: 2;
}

#card-filmy {
  background-image: url('img/projekty.jpg');
}

#card-maturitni {
  background-image: url('img/maturita.jpg');
}

#card-ostatni {
  background-image: url('img/ostatni.jpg');
}

.card:hover {
  transform: scale(1.05);
}

a .card:hover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(92, 75, 0, 0.558);
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
      grid-template-columns: repeat(3, 1fr);
  }
}

#logo {
  display: block;
  margin: 0 auto;
  height: 40vh;
  
}

#odeslano {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50vw;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.playlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

}

.mainplaylist {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; 
}

.header-content-sluzby {
  padding-top: 30vh;
  text-align: center;
  z-index: 1;
  
}

#myNavbar {
  position: absolute;
}