@import url("https://fonts.googleapis.com/css?family=Calistoga&display=swap");

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* background: rgb(63, 29, 7);  */
  background: #00d0ff;
  font-family: "Courgette", cursive;
}

#con {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.header {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  background: url(img/glbg2.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.header h1 {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 10vw;
  text-transform: uppercase;
  text-align: center;
  background: url(img//glbg2.jpg);
  background-size: cover;
  background-attachment: fixed;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header h1::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  text-shadow: -5px 5px 20px #000, -10px 10px 30px #000, -20px 15px 40px #000,
    -25px 20px 50px #000;
}

/*li, ul {
    list-style: none;
}

li {
    margin: 10px;
}
*/
a {
  font-family: "Courgette", cursive;
  text-decoration: none;
  color: #006075;
  font-size: 20px;
  font-weight: 600;
}

::-webkit-scrollbar {
  width: 0;
}

#progressbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 15px;

  border-radius: 10px;
  background: linear-gradient(to top, #fcb045, #fd1d1d, #833ab4);
  z-index: 20;
}

main {
  display: flex;
  justify-content: center;
}

/*------------------------------------------------------------------cards*/

.container {
  width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 15px;
  margin: 150px auto;
  position: relative;
  overflow: hidden;
}

.container .card {
  position: relative;
  width: 300px;
  height: 550px;
  margin: 0 auto;
  background: #fff;
  transition: 0.5s;
}

.container .card:hover {
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.container .card .face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .card .face.face1 {
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  background: #fff;
  color: #013d4a;
}

.container .card .face.face1 h2 {
  margin-top: 70px;
}

.container .card .face.face2 {
  background: #013d4a;
  transition: 0.25s;
}

.container .card:hover .face.face2 {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: 2px solid #013d4a;
}

.container .card .face.face2 h2 {
  margin: 0;
  padding: 0;
  font-size: 3em;
  color: #fff;
  transition: 0.25s;
}

.container .card:hover .face.face2 h2 {
  font-size: 2em;
  color: #013d4a;
}

/*------------------------------------------------------------------------list*/
.box {
  width: 300px;
  margin-top: 100px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  /* border-bottom: 20px solid #013d4a;  */
}

.box h2 {
  color: #fff;
  background: #013d4a;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 700;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-block-end: 0;
}

.box ul {
  position: relative;
  background: #fff;
  counter-reset: li;
  list-style: none;
  margin-block-start: 0;
  padding-inline-start: 0px;
  margin-block-end: 0;
}

.box ul li {
  position: relative;
  list-style: none;
  padding: 10px;
  width: 80%;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
  padding-left: 50px;
  text-transform: capitalize;
}

.box ul li:hover {
  transform: scale(1.1);
  z-index: 100;
  background: #03a9f4;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  opacity: 1;
}



.box ul li::before {
  content: counter(li); /* В качестве данных используем счетчик */
  counter-increment: li; /* Увеличиваем значение счетчика на 1 */
  /* Позиционируем и оформляем цифры */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5px;
  width: 30px;
  height: 20px;
  padding: 4px 0;
  color: #fff;
  background: #03a9f4;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.box ul li:hover::before {
  background: #fff;
  color: #03a9f4;
}

/*-----------------------------------------------transition------------------------*/
.anim--opt2 {
  counter-reset: li 7;
}
.anim--opt3 {
  counter-reset: li 14;
}

.use--opt2 {
  counter-reset: li 7;
}

.transition {
  position: absolute;
  bottom: 20px;
  display: flex;
  width: 100%;
  justify-content: center;
}

input[type="radio"] {
  display: none;
}

label {
  width: 20px;
  height: 20px;
}

.l--opt {
  font-size: 25px;
  font-weight: 700;
  opacity: 0.5;
  margin-right: 20px;
  font-family: "Calistoga", cursive;
  cursor: pointer;
}



input[type="radio"]:checked + label {
  opacity: 1;
}
