@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --custom-red: #f30b0b;
  --custom-black: #222222;
  --card-margin-top: 30px;
}

body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  font-family: "Open Sans", sans-serif;

  line-height: 1.6;
}

p,
input,
button {
  font-size: 16px;
}

h3 {
  font-size: 18px;
}

h2 {
  font-size: 30px;
}

header {
  position: fixed;

  width: 100%;

  z-index: 2;
}

.header-wrapper {
  height: 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 3px rgba(0, 0, 0, 0.204) solid;
  background-color: white;
}

.nav-menu li,
header img {
  cursor: pointer;
}

.header-wrapper ul {
  display: flex;
}

.header-logo-wrapper {
  padding-left: 25px;
}

.header-logo-wrapper img {
  height: 30px;
}

nav {
  height: 100%;
}

/* hides the hamburger menu */

.menu-btn {
  display: none;
}

/* hides the checkbox */

.menu-checkbox {
  display: none;
}

.nav-menu {
  height: 100%;
}

.nav-menu li:first-of-type img {
  display: none;
}

.nav-menu li {
  height: 100%;

  display: flex;
  align-items: center;
}

.nav-menu li a {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;

  text-transform: capitalize;

  padding: 0 25px;
}

.nav-menu li:hover a {
  background-color: var(--custom-black);
  color: white;
}

.nav-menu li a,
.nav-menu li:hover a {
  transition: background-color 0.7s, color 0.7s;
}

.active {
  background-color: var(--custom-red);
  color: white;
}

.media-menu {
  padding-right: 25px;
}

.media-menu img {
  width: 30px;
  height: 30px;

  margin-left: 10px;

  border-radius: 50%;
}

header nav ul li a {
  text-decoration: none;
  user-select: none;
  color: inherit;
}

h2::first-letter,
h3::first-letter,
button::first-letter {
  text-transform: uppercase;
}

.banner {
  opacity: 0;

  animation: fadeIn 1s 1s forwards;

  width: 100%;
  height: 70vh;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  justify-content: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.banner-logo-wrapper {
  display: flex;
  align-items: center;
}

.banner-logo-wrapper img {
  margin-top: 30px;

  border: white solid;
  border-width: 25px 20px;

  opacity: 0;

  animation: logoFadeIn 0.5s 2s forwards;
}

@keyframes logoFadeIn {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

button {
  color: white;
  cursor: pointer;
}

.main-wrapper {
  display: flex;

  justify-content: center;

  color: white;
  background-color: #eeeeee;
}

.main-content-wrapper {
  display: flex;

  max-width: 1080px;

  gap: 30px;

  flex: 1;
  color: black;
}

main {
  flex: 1;
}

.top-content-container {
  box-shadow: rgba(0, 0, 0, 0.36) 0px 1px 7px;
}

.main-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-image-wrapper img {
  width: 100%;
}

/* default class for all the info cards */

.card-info {
  height: 40px;
  width: 100%;

  display: flex;
  align-items: center;

  margin-top: var(--card-margin-top);

  background-color: var(--custom-red);
  color: white;
}

/* card-info is automatically given var --custom-red but class black can be put on to give them the 2ndary colour var --custom-black */

.black {
  background-color: var(--custom-black);
}

.card-info img {
  width: 20px;

  margin: 0 10px;
}

.image-content-container {
  background-color: white;
}

main section {
  padding: 15px;
}

main section p,
.read-more-button {
  padding: 0 8px;

  margin-bottom: 20px;

  letter-spacing: 0.3px;
  word-spacing: 0.3px;
}

main section p:first-of-type {
  margin-top: 5px;
}

/* margin-left counteracts the left padding, so the button's left aligns properly */

.read-more-button {
  margin-left: 8px;
  padding: 8px 25px;

  margin-bottom: 0;

  background-color: var(--custom-black);
  border: none;
}

.secondary-image-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding-bottom: 25px;
}

.secondary-image-wrapper {
  flex: 1;

  margin-top: var(--card-margin-top);

  box-shadow: rgba(0, 0, 0, 0.36) 0px 1px 7px;
}

/* reuseable no-margin class used for secondary-image-wrapper's info-cards */

.no-margin {
  margin: 0;
}

.secondary-image-wrapper > img {
  width: 100%;
}

aside {
  width: 30%;
}

.schedule-container {
  box-shadow: rgba(0, 0, 0, 0.36) 0px 1px 7px;
}

.schedule-content li {
  display: flex;
  gap: 20px;
  line-height: 1.5;

  padding: 10px;
}

.schedule-content li div:last-of-type {
  margin-right: 20px;
}

.schedule-content li:nth-child(even) {
  background-color: white;

  border-top: solid rgb(204, 204, 204) 1px;
  border-bottom: solid rgb(204, 204, 204) 1px;
}

.schedule-content li:last-of-type {
  border-bottom: none;
}

.schedule-content li:nth-child(odd) {
  background-color: rgb(221, 221, 221);
}

.newsletter-container {
  box-shadow: rgba(0, 0, 0, 0.36) 0px 1px 7px;
}

.newsletter-content {
  display: flex;
  flex-direction: column;

  padding: 20px;

  background-color: white;
}

.newsletter-content input,
.newsletter-content button {
  margin-top: 10px;
}

.newsletter-content input {
  flex: 1;

  padding: 7.5px;

  border: 1px solid rgba(0, 0, 0, 0.222);
}

.newsletter-content input::placeholder {
  color: black;
}

.newsletter-content button {
  height: 40px;
  background-color: var(--custom-red);

  border: none;
}

footer {
  display: flex;
  justify-content: center;

  background-color: rgb(34, 34, 34);
}

.footer-content-wrapper {
  max-width: 1080px;
  width: 100%;

  display: flex;
  justify-content: space-between;

  gap: 40px;
}

.footer-content-wrapper > div {
  padding: 25px 0 35px 0;

  flex: 1;
}

/* Kontakt os div changed to adjust how wide the text is */
.footer-content-wrapper > div:first-of-type p {
  margin-right: 60px;
}

.footer-content-wrapper h2 {
  color: var(--custom-red);
}

.footer-content-wrapper p {
  color: rgb(239, 236, 223);

  margin-top: 5px;
}
