@import url("https://fonts.googleapis.com/css?family=Work+Sans&display=swap");
body {
  padding: 0;
  margin: 0;
  line-height: 1;
  font-family: Arial, "sans-serif";
  box-sizing: border-box;
  background-color: rgb(150, 141, 131);
}

h1 {
  color: #4d050c;
}

.container {
  width: 70%;
  max-width: 700px;
  margin: 0 auto;
}

.title1 {
  font-weight: normal;
  text-align: center;
  padding: 15px;
}

#beetroot_img {
  width: 40%;
  height: 250px;
  margin: 0 auto;
  display: block;
}

.basic_info p {
  float: left;
  width: 50%;
  border: 1px solid grey;
  box-sizing: border-box;
  text-transform: lowercase;
  padding: 20px;
  text-align: center;
  color: grey;
  background: rgb(119, 107, 112);
  background: radial-gradient(
    circle,
    rgb(88, 79, 83) 0%,
    rgb(164, 183, 204) 100%
  );
}
.basic_info {
  width: 30%;
  height: 100px;
  margin: 0 auto;
}

.basic_info p a {
  /*color: inherit;*/
  font-size: 22px;
  text-decoration: none;
}

.basic_info p::first-letter {
  text-transform: uppercase;
}

.basic_info p:hover {
  color: white;
  background: rgb(238, 174, 202);
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(210, 35, 13, 1) 100%
  );
}

.basic_info p:hover a {
  color: white;
}

.lesson {
  margin: auto;
  width: 1200px;
  height: 300px;
}

.container1 {
  position: absolute;
  height: 300px;
  width: 1300px;
  top: 480px;
  left: calc(50% - 660px);
  display: flex;
}
.container2 {
  position: absolute;
  height: 300px;
  width: 1300px;
  top: 800px;
  left: calc(50% - 700px);
  display: flex;
}

.card {
  display: flex;
  height: 280px;
  width: 230px;
  background-color: #17141d;
  border-radius: 10px;
  box-shadow: -1rem 0 3rem #000;
  /*   margin-left: -50px; */
  transition: 0.4s ease-out;
  position: relative;
  left: 0px;
}

.card:not(:first-child) {
  margin-left: -50px;
}

.card:hover {
  transform: translateY(-20px);
  transition: 0.4s ease-out;
}

.card:hover ~ .card {
  position: relative;
  left: 50px;
  transition: 0.4s ease-out;
}

.title {
  color: white;
  font-weight: 300;
  position: absolute;
  left: 20px;
  top: 15px;
}
.title_container {
  color: white;
  font-weight: 400;
  font-size: 22px;
  position: absolute;
  left: 20px;
  top: 65px;
  display: flex;
  justify-content: space-between;
  width: 135px;
  opacity: 0;
  font-family: "Work Sans", sans-serif;
}
.card:hover .title_container {
  opacity: 1;
}
.title_container a {
  text-decoration: none;
  color: rgb(183, 212, 238);
}

.bar {
  position: absolute;
  top: 100px;
  left: 20px;
  height: 5px;
  width: 150px;
}

.emptybar {
  background-color: #2e3033;
  width: 100%;
  height: 100%;
}

.filledbar {
  position: absolute;
  top: 0px;
  z-index: 3;
  width: 0px;
  height: 100%;
  background: rgb(0, 154, 217);
  background: linear-gradient(
    90deg,
    rgba(0, 154, 217, 1) 0%,
    rgba(217, 147, 0, 1) 65%,
    rgba(255, 186, 0, 1) 100%
  );
  transition: 0.6s ease-out;
}

.card:hover .filledbar {
  width: 120px;
  transition: 0.4s ease-out;
}

.circle {
  position: absolute;
  top: 150px;
  left: calc(50% - 60px);
}

.stroke {
  stroke: white;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: 0.6s ease-out;
}

svg {
  fill: #17141d;
  stroke-width: 2px;
}

.card:hover .stroke {
  stroke-dashoffset: 100;
  transition: 0.6s ease-out;
}
