@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
}
#menu{ display: none;}
body {
  background-color: rgba(50, 50, 50, 1);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}
main {
  width: 80%;
  margin: auto;
  background-color: white;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  position: sticky;
  top: 0;
}
nav p {
  flex-grow: 1;
  font-size: 2.5em;
  text-align: center;
  text-align-last: center;
}
nav ul {
  flex-grow: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2%;
  padding-right: 2%;
  list-style-type: none;
  font-size: 1.5em;
}
a {
  text-decoration: none;
  color: white;
  padding: 0.5% 3%;
  border: 2px solid white;
  border-radius: 15px;
}

a:link{
  color:white;
}
a:visited{
  color:white;
}
a:hover{
  color: red;
  border-color: red;
}
a:active{
  color: red;
  border-color: red;
}

a.thiss:link{
  color: lightgreen;
  border-color: lightgreen;
}
a.thiss:visited{
  color: lightgreen;
  border-color: lightgreen;
}
a.thiss:hover{
  color: red;
  border-color: red;
}
a.thiss:active{
  color: red;
  border-color: red;
}

nav li {
  text-align: center;
}
header {
  background-image: url(img/fon.webp);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-size: 4em;
}
header h1 {
  text-shadow: 1px 1px 50px black;
}
header p {
  text-shadow: 1px 1px 50px black;
  font-size: 0.7em;
  text-align-last: center;
  width: 100%;
}
section {
  padding: 2%;
  width: 75%;
  margin: auto;
  min-height: 100vh;
}
h2 {
  text-align: center;
  font-size: 2.5em;
  padding: 1%;
}
h3 {
  text-align: left;
  font-size: 2em;
  padding: 0.5% 0;
}
p,dl {
  text-align: justify;
  text-align-last: left;
  font-size: 1.5em;
  padding: 0.5% 0;
  text-indent: 3%;
}
ul {
  list-style-position: inside;
  list-style-type: square;
  font-size: 1.5em;
  padding-left: 3%;
  text-indent: -3.2%;
}
ol {
  list-style-position: inside;
  font-size: 1.5em;
}
section a{
  color: blue;
  border: none;
  padding: 0;
}
section a:link{
  color:blue;
}
section a:visited{
  color:blue;
}
section a:hover{
  color: red;
}
section a:active{
  color: red;
}

dl div{
  margin: 2%;
  border: 2px solid black;
  border-radius: 10px;
}
dd, dt{
  width: 95%;
  margin: auto;
}
span{
  font-weight: 600;
}
div.map{
  height: 70vh;
}
.schedule
{
  height: 80vh;
}
.hid
{
  display: none;
}
footer
{
    background-color: black;
    color: white;
    padding: 2%;
}
footer p{
        text-align: center;
    text-align-last: center;
    font-size: 1.2em;
}
@media screen and (max-width:2400px) {
  main{
    width:100%;
  }
}
@media screen and (max-width: 2000px) {
  header{
    font-size: 3em;
  }
  nav p{
    font-size: 2em;
  }
  nav ul{
    padding-left: 1%;
  padding-right: 1%;
  font-size: 1.25em;
  }
}
@media screen and (max-width: 1500px) {
  header{
    font-size: 2.5em;
  }
  nav{
    display: block;
    padding-bottom: 5px;
  }
}
@media screen and (max-width: 1300px) {
    header{
    font-size: 2em;
  }
  section{
    width: 95%;
  }
}
@media screen and (max-width: 988px) {
 nav ul{
    display: none;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  nav a{
    border: none;
  }
  
  label {
    color: red;
    font-size: 24px;
    text-align: center;
    display: block;
    cursor: pointer;
  }
  label:after {
    content: attr(data-open);
    display: block;
  }
  #menu:checked ~ ul {
 display: block;
 height: 100vh;
  overflow: hidden;
}
  #menu:checked + label {
    display: block;
    width: 100%;
  }
  #menu:checked + label:after {
    content: attr(data-close);
  }
}
@media screen and (max-width: 450px){
  nav p{
    font-size: 1.3em;
  }
  header{
    font-size: 1em;
  }
  header p{
    font-size: 0.9em;
  }
}
