@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --gold: #d9b569;
  --buffer: 80px;
  --transition: 0.3s;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Merriweather", serif;
  font-size: 18px;
  line-height: 140%;
  font-style: normal;
}

/* TYPO*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  font-style: normal;
}
h1 {
  font-size: 58px;
  font-weight: 400;
  line-height: 110%; /* 63.8px */
  margin-bottom: 50px;
}
h2 {
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  margin-bottom: calc(var(--buffer) / 2);
}

h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  margin-bottom: 0.5em;
  margin-top: 1em;
}
h4 {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  margin-bottom: 1em;
  margin-top: 1em;
  color: var(--gold);
}

.center {
  text-align: center;
}
strong {
  font-weight: 700;
}

a {
  color: var(--gold);
  transition: var(--transition);
  &:hover {
    text-decoration: none;
  }
}

section,
aside {
  padding: var(--buffer) 0;
}

.wrap {
  width: 100%;
  padding: 0 30px;
  max-width: 1280px;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 200px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background-color: var(--gold);
  margin-top: 0.5rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  &:hover {
    background-color: #000;
  }
}

iframe {
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
}

.container_vids {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  .item {
    width: 100%;
    max-width: calc(50% - 1rem);
  }
}

.logo img {
  height: 25vh;
  margin-top: var(--buffer);
}

details {
  border: 1px solid #ededed;
  border-radius: 6px;
  margin-bottom: 1rem;
  transition: var(--transition);
  &:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  }
}

summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
  font-size: 120%;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.015);
  span {
    font-weight: 400;
  }
}
summary::marker {
  content: "";
}

.intro {
  color: #888;
  text-align: center;
  max-width: 1024px;
  margin: 0 auto;
  font-style: italic;
}

.det_content {
  padding: 1rem 2rem 2rem 2rem;
  border-top: 1px solid #ededed;
}

footer {
  padding: var(--buffer) 0;
  background: url(../img/bg.jpg) repeat;
}

ul,
ol {
  margin: 2rem 0;
}
ul {
  list-style-type: none;
  li {
    margin-bottom: 0.5rem;
  }
}
ol {
  margin: 2rem;
}
ol li {
  padding-left: 1rem;
  margin: 0.5rem 2rem;
}

form {
  padding: 2rem;
  margin-top: 2rem;
  background-color: rgba(0, 0, 0, 0.015);
  border-radius: 6px;

  input[type="text"],
  input[type="password"] {
    width: 100%;
    border: 1px solid #ededed;
    border-radius: 6px;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    &:focus {
      border-color: var(--gold);
    }
  }
  input {
    font-family: "Merriweather", serif;
  }
  input[type="checkbox"],
  input[type="radio"] {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
  }
  label {
    margin-right: 2rem;
    cursor: pointer;
  }
}
.dotaznik {
  background-color: transparent;
  ul li {
    margin-bottom: 3rem;
  }
}
.login {
  max-width: 600px;
  margin: 60px auto 0;
  p {
    margin-top: 1rem;
  }
  h3 {
    margin-top: 0;
    margin-bottom: 1em;
  }
}

table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ededed;
  tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.015);
  }
  td {
    padding: 1rem;
  }
}

audio {
  margin-right: 2rem;
}

ul.flexi li {
  display: flex;
  align-items: center;
  color: #dedede;
}

@media (max-width: 678px) {
  .container_vids .item {
    max-width: none;
  }
}
