:root {
  --body-color: rgb(254, 213, 163);
  --nav-color: rgb(255, 174, 75);
}

/* Fonty */
@font-face {
    font-family: 'CustomFont';
    font-weight: 400;
    src: url('Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'CustomFont';
    font-weight: 300;
    src: url('Roboto-Light.ttf') format('truetype');
}

body {
    font-family: 'CustomFont', sans-serif;
    font-weight: 300;
    color: var(--body-color);
    line-height: 1.3;
    background-color: rgb(0, 0, 0);
    text-align: justify;
    text-justify: inter-cluster;
}

/* Navigace */
.site-nav {
  margin: 30px 0;
  position: relative;
}

.nav-toggle {
  display: none;
  padding-left: 0;
  margin-left: 5%;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: large;
  color: var(--nav-color);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 5%;
    margin-top: 15px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .nav-list.open {
    max-height: 500px;
    opacity: 1;
  }
}

/* Hlavní stránka */
.main-content {
  margin: 5rem calc(15% + 10vw);
  justify-content: center;
}

@media (max-width: 900px) {
  .main-content {
    margin: 0 5%;
    display: grid;
  }
}

.main-cite {
  font-style: italic;
  font-size: larger;
  font-weight: 500;
}

.main-verse {
 font-style: italic;
 text-align: right;
}

.main-info {
  margin: 3rem 0;
}

.policy-info {
  justify-self: center;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--body-color);
    margin: 1em 0;
    padding: 0;
}

/* Tematická stránka */
.content {
  margin: 5rem 25%;
  display: flex;
  justify-content: center;
  column-gap: 7rem;
  row-gap: 2rem;
  flex-wrap: wrap;
}

.side-panel {
  min-width: min(500px, 80%);
  flex: 1;
}

.list-style > p {
 margin-bottom: 0;
}

.list-style > ul {
 margin: 0;
}


.profile-img {
  border-radius: 50%;
  flex-shrink: 0;
}

.landing-img {
  max-width: 100%;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .content {
    margin: 0 5%;
    display: grid;
  }

  .profile-img {
  border-radius: 50%;
  flex-shrink: 0;
  justify-self: center;
  }
}

/* Event stránka */
.event-content {
  margin: 5rem calc(5% + 20vw);
}

.event-content div + div {
  margin-top: 4rem;
}

.passed-event {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

@media (max-width: 900px) {
  .event-content {
    margin: 0 5%;
    display: grid;
  }
}