*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #b0c4de;
  font-family: BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

a {
  color: aliceblue;
  text-decoration: none;
}
a:hover {
  color: #007bff;
  transition: .4s;
}

.horizontalLine {
  display: block;
  margin: 10px auto;
  max-width: 600px;
  border-bottom: 1px solid #000;
}

#header > .logo {
  background-image: url(../images/bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#header > .logo > img {
  display: block;
  width: 14%;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 20px;
}
#header > nav {
  text-align: center;
}
#header ul > li {
  display: inline-block;
  font-size: 25px;
  padding: 15px 0;
}
#header ul > li:not(:first-child) {
  margin-left: 20px;
}
@media screen and (max-width: 1180px) {
  #header > .logo > img {
    width: 24%;
  }
}
@media screen and (max-width: 815px) {
  #header > .logo > img {
    width: 44%;
  }
}

#main {
  display: block;
  margin: 0 auto;
  text-align: center;
}

#chooseLocation {
  margin-bottom: 100px;
}
#chooseLocation h2,
#chooseCategory h1 {
  margin-top: 15px;
  margin-bottom: 20px;
  font-weight: 450;
  font-size: 32px;
}
#chooseLocation  button {
  outline: none;
  font-size: 30px;
  padding: 20px 25px;
  cursor: pointer;
  border: 1px solid #000D2F;
  border-radius: 20px;
}
#chooseLocation  button:hover {
  background-color: #417CCA;
  transition: .4s;
  color: #fff;
}
#chooseLocation  .clicked {
  background-color: #417CCA;
  color: #fff;
  border: 1px solid #000D2F;
}
#chooseLocation  button:not(:first-child) {
  margin-left: 20px;
}
#chooseLocation .datalist {
  display: block;
  margin: 0 auto;
  font-size: 28px;
  padding: 7px 12px;
}
#chooseLocation #btn-chooseLocation {
  display: block;
  margin: 0 auto;
  margin-top: 30px;
  padding: 10px 35px;
  border-radius: 12px;
}
#chooseLocation p {
  font-size: 30px;
}
#chooseLocation #changeLocation {
  text-decoration: underline;
}
#chooseLocation #changeLocation:hover {
  color: #9A1E5A;
  transition: .3s;
  cursor: pointer;
}
@media screen and (max-width: 815px) {
  #chooseLocation  button {
    margin: 10px 0;
  }
}

#chooseCategory ul > li > a:hover {
  color: #9A1E5A;
}
#chooseCategory ul > li > a {
  font-size: 32px;
  color: #000;
}
#chooseCategory ul {
  margin-bottom: 40px;
}

#masters {
  min-height: 110px;
  padding: 30px 0;
  background-image: url(../images/body.png);
}
#masters p > a {
  color: #000;
  text-decoration: underline;
}
#masters p > a:hover {
  color: #9A1E5A;
  transition: .3s;
}
#masters h2 {
  font-weight: 400;
  font-size: 32px;
}
#masters .masters__block  {
  display: block;
  max-width: 900px;
  min-height: 270px;
  background-color: #D0D6ED;
  margin: 30px auto;
  box-shadow: -3px 4px 8px rgba(0,0,0,0.4);
  border-radius: 20px;
}
#masters .masters__block .masters__block__wrapper {
  max-width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 25px;
}
#masters .masters__block .masters__block__wrapper .masters__block__image {
  width: 270px;
  height: 250px;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#masters .masters__block .masters__block__wrapper .masters__block__info {
  width: 400px;
  background-color: aliceblue;
  border: 1px solid #000;
  border-radius: 10px;
  font-size: 30px;
  font-weight: 400;
}
#masters .masters__block .masters__block__wrapper .masters__block__info h3 {
  font-size: 30px;
  font-weight: 400;
  padding: 15px 0 5px 0;
}
#masters .masters__block .masters__block__wrapper .masters__block__info h6 {
  font-size: 30px;
  font-weight: 400;
  padding-bottom: 80px;
}
@media screen and (max-width: 815px) {
  #masters .masters__block  {
    display: block;
    width: 80%;
    margin: 20px auto;
    height: 650px;
  }
  #masters .masters__block .masters__block__wrapper {
    max-width: 100%;
    height: 100%;
    display: block;
    padding: 15px 25px;
  }
  #masters .masters__block .masters__block__wrapper .masters__block__image {
    width: 100%;
    height: 45%;
    margin-bottom: 40px;
  }
  #masters .masters__block .masters__block__wrapper .masters__block__info {
    width: 100%;
  }
}
