body {
  background-image: url('https://img.freepik.com/free-vector/happy-diwali-3d-podium-yellow-template-with-empty-space_1017-61526.jpg');
  background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents image tiling */
    background-size: cover;
    height: 100vh;
}

.phone {
  width: 600px;
  height: 180px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  position: relative;
  justify-content: center;
  margin-top: 8rem;
}
.phone::before {
  content: '';
  position: absolute;
  width: 84%;
  height: 0px;
  bottom: -10px;
  box-shadow: 0 0 25px 9px rgba(255, 0, 0, 0.33), 50px 10px 25px 8px rgba(18, 255, 0, 0.33), -40px 8px 25px 9px rgba(242, 255, 0, 0.33);
  left: 0;
  right: 0;
  margin: auto;
}
.phone::after {
  content: '';
}
.phone_content {
  filter: contrast(20);
  width: 100%;
  background-color: white;
  overflow: hidden;
  position: absolute;
}
.phone_bottom {
  width: 100%;
  height: 76px;
  background: black;
  display: flex;
  justify-content: center;
  filter: blur(10px);
}

.phone p{
  color:  white;
  font-size: 24px;
}

input {
  display: none;
}

label {
  cursor: pointer;
  display: flex;
  width: 33%;
  height: 66px;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
}
label > img {
  width: 25px;
  top: 1%;
  bottom: 0;
  margin: auto;
  position: absolute;
  z-index: 3;
  transition: 200ms 100ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}
label::before {
  content: '';
  position: absolute;
}

.circle {
  width: 100px;
  height: 100px;
  background: black;
  position: absolute;
  top: 71px;
  z-index: 1;
  border-radius: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
  box-shadow: 0px 82px 20px 0px rgba(128, 128, 128, 0.29);
}

.indicator {
  width: 70px;
  height: 70px;
  background-image: linear-gradient(0deg, #f7b0b0, rgba(183, 255, 154, 0)), linear-gradient(0deg, rgba(158, 255, 151, 0.75), rgba(183, 255, 154, 0)), linear-gradient(0deg, #b4fffb, rgba(183, 255, 154, 0));
  background-size: cover;
  background-position: 0 10px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -42px;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}

#s1:checked ~ [for="s1"] > img {
  top: -85px;
}
#s1:checked ~ .circle,
#s1:checked ~ div div .indicator {
  left: -66%;
}

#s2:checked ~ [for="s2"] > img {
  top: -90px;
  width: 180px;
}
#s2:checked ~ .circle,
#s2:checked ~ div div .indicator {
  left: 0;
}

#s3:checked ~ [for="s3"] > img {
  top: -85px;
}
#s3:checked ~ .circle,
#s3:checked ~ div div .indicator {
  left: 66%;
}

.container {
  margin-top: 30px;
  //background-color: #EDD786;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 12px;
}

table th {
  font-size: 22px;
}

table.center{
  margin-left: auto; 
  margin-right: auto;

  position: relative;
  border: 2px solid #f2b710;
  background-color: #fcecaf;
  color:#ee4416;
  width: 70%;
  text-align: center;
  border-collapse: collapse;
  top: 1rem;

}

h2 {
  color: #c33923;
  margin-left: auto;
  margin-right: auto;
  padding-left: 34%;
  padding-top: 8px;
  font-size: 36px;
  font-weight: bold;
    text-shadow: 2px 2px 4px #fff;

}

p {
   color: #000;
  margin-left: auto;
  margin-right: auto;
  padding-left: 37%;
  padding-top: 5px;
  font-size: 24px;
  font-weight: bold;
}

span{
  font-size: 16px;  
  font-weight: 200;
}

.reset {
   color: #ff661a;
  margin-left: auto;
  margin-right: auto;
  padding-left: 37%;
  padding-top: 12px;
  font-size: 24px;
  font-weight: bold;
}

.col {
  background-color: #1a1a1a;
  color:  white;
  font-size: 20px;
}

.col1 {
  color:  black;
  font-size: 20px;
  font-weight: bold;
}

.ftr {
  background-color: black;
  margin-top: 50px;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: black;
  text-align: center;
}


@media only screen and (max-width: 600px) {

  .phone {
  width: 100%;
  }
  .container {
    margin-top: 10%;
    max-width: 100%;
   }

   h2 {
    font-size: 25px;
    padding-left: 10%;
   }
    
    p{padding-left: 12%;
      font-size: 22px;}



  table.center{
      width: 95%;

  }
  table, th, td {
    padding: 2px;
  }
  footer p{
    text-align: center;
    padding-left: 0;
    font-size: 12px;
  }

}
table {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  -webkit-animation: gradient 15s ease infinite;
          animation: gradient 15s ease infinite;

}

@-webkit-keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}