html {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
}

#background-wrapper {
  background: url('../img/background.jpg') no-repeat;
  background-size: 100% 100%;
}

#background-wrapper-gray {
  background: url('../img/background-gray.jpg') no-repeat;
  background-size: 100% 100%;
}

#menu ul {
  list-style: none;
  background: url('../img/menu-bgr.svg') no-repeat;
  margin: 0;
  padding-bottom: 150px;
  background-size: contain;
  padding-top: 20px;
}

#menu li {
  display: inline;
  margin-left: 30px;
}

#menu a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 31.2px;
  letter-spacing: 0.02em;
  text-align: center;
}

#menu a:hover {
  text-decoration: underline;
}

#man-wrapper {
  background: url('../img/man.png') no-repeat top left;
  margin-top: -50px;  
}

#clock-wrapper {
  background: url('../img/clock.png') no-repeat bottom right;  ;
}

h1.support {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  margin: 0 0 20px 0;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-wrapper {
  width: 45%;
  margin: 0 auto;
  padding-bottom: 100px;
}

.form {
  display: flex;
  position: relative;
  flex-direction: column;
  border: 2px solid #fff;
  border-radius: 20px;
  border-image-slice: 1;  
  background: linear-gradient(147.15deg, rgba(255, 255, 255, 0.6) 1.26%, rgba(255, 255, 255, 0.45) 100%);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 40px 50px;
}

.form .input {
  all: unset;
  margin-bottom: 30px;
  background-color: #fff;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 15px 25px;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.form input[type="submit"] {
  background: var(--grids, rgba(253, 209, 40, 1));
  border: none;
  padding: 25px;
  border-radius: 40px;
  color: #fff;
  box-shadow: 4px 2px 20px 0px rgba(0, 0, 0, 0.15), -2px 2px 10px 0px rgba(204, 199, 199, 0.2) inset, 2px -2px 10px 0px rgba(204, 199, 199, 0.2) inset;
  font-size: 22px;
  font-weight: 400;
  line-height: 26.4px;
  letter-spacing: 0.02em;
  text-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

/* Custom select */
.form .select {
  padding: 0;
  position: relative;
}

.select summary {
  list-style: none;
  list-style: none;
  padding: 15px 25px;  
}

.select summary:after {
  content: '';
  display: block;
  float: right;
  transition: transform ease-in-out 100ms;
  background: url("../img/down.svg") no-repeat;
  padding: 10px;
}

.select[open] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select[open] input[type=radio]:after {
  font-weight: normal;
}

.select[open] summary:after {
	transform: rotate(-180deg) translate(0%, 0%);
}

.select summary::-webkit-details-marker {
	display: none;
}

.select .list {
  list-style: none;
  padding: 0 25px 15px 25px;
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.select .list label {
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.2);  
  padding: 10px 0;
}

.select input[type=radio] {
	counter-increment: radios;
	appearance: none;
	display: none;
}

.select input[type=radio]:checked {
	display: inline;
	--display: block;
}

.select input[type=radio]:after {
	content: attr(title);
	display: inline;
  font-weight: 300;
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 992px) {
  #man-wrapper, #clock-wrapper {
    background-size: 50%;
  }

  .form-wrapper {
    width: 70%;
  }
 }

 /* Small devices (tablets, 768px and up) */
@media (max-width: 768px) { 
  #menu ul {
    background-size: cover;
  }

  #man-wrapper, #clock-wrapper {
    background-image: none;
  }

  .form-wrapper {
    width: 90%;
  }
 }

 /* Subscription page */
 h1, h2 {
  font-size: 15px;
 }

 .content {
  margin: 0 30px;
 }

 ol li {
  margin-bottom: 15px;
 }
 
 a {
  color: #000;
 }
