@charset "utf-8";

.title {
  height: 500px;
  background-image: url(../images/press/skiing.jpg);
  background-repeat: no-repeat;
  background-position: top top;
  background-size: cover;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  color: #f4e4d8;
  text-shadow: 2px 2px 5px #490068;
}

.press {
  width: 90%;
  margin-left: 30px;
  margin-top: 30px;
}

.title h1 {
  font-size: 50px;
  font-weight: bold;
  margin-top: 30px;
  margin-left: 20px;
}

.title h5 {
  font-size: 20px;
  display: flex;
  margin-left: 20px;
  margin-top: 20px;
  justify-content: flex-start;
  margin-right: 30px;
  line-height: 25px;
}


h2 {
  padding-top: 15px;
  font-size: 25px;
  font-weight: bold;
  text-align: left;
}

h2::after {
  content: '';
  display: block;
  width: 400px;
  height: 3px;
  background-color: rgb(91, 192, 173);
  margin-top: 4px;
  margin-bottom: 10px;
}

.press p {
  font-size: 18px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  line-height: 26px;
}

h4 {
  font-size: 20px;
  padding-top: 10px;
  margin-bottom: 5px;
  color: rgb(16, 88, 73);
}
h4 span {
  font-size: 15px;
  padding-top: 8px;
  margin-bottom: 10px;
  color: rgb(16, 88, 73)
}


.press {
  a:link {
    color: #4fb24b;
  }

  a:visited {
    color: #8b8b8b;
  }

  a:hover {
    color: #ff7c7e;
  }

  a:active {
    color: #5e85ff;
  }
}

.footer {
  margin-top: 50px;
}

@media (max-width: 800px) {
  .title {
    height: calc(100vh - 400px);
    background-image: url(../images/press/skiing.jpg);
    background-position: top top;
    background-size: cover;
    width: 100%;
    margin-top: 0px;
  }

  .title h1 {
    font-size: 35px;
    font-weight: bold;
    margin-top: 15px;
    margin-left: 20px;
  }

  .title h5 {
    display: none;
  }

   .press { 
    width: 85%;
    margin-left: 30px;
    margin-right: auto;
  }

  .press p {
  font-size: 16px;
  margin-top: 10px;
  padding-left: auto;
  padding-right: auto;
  line-height: 26px;
}

  h2 {
    padding-top: 10px;
    font-size: 25px;
    font-weight: bold;
    text-align: left;
  }

  h2::after {
    content: '';
    display: block;
    width: 300px;
    height: 3px;
    background-color: rgb(91, 192, 173);
    margin-top: 4px;
    margin-bottom: 10px;
  }

  .footer {
    width: 100%;
  }
}