* {
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #01353a;
  overflow: hidden;
}
.title {
  text-align: center;
  font-size: 30px;
  margin-top: 50px;
  color: #01353a;
  text-shadow: 1px 1px 1px white;
}
.title h1 {
  animation: fadeDown 1s;
}
.container {
  width: 576px;
  height: 100vh;
  border: 1px solid;
  margin: 0 auto;
  background-color: #e2bc02;
}
.box-calculator {
  width: 50%;
  height: 370px;
  border: 1px solid;
  margin: 20px auto;
  padding: 20px;
  border-radius: 30px;
  background-color: #ede2b8;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
  animation: zoomIn 1s;
}
.section-head {
  position: relative;
}
.section-head .screen {
  border: 1px solid;
  width: 96.5%;
  height: 55px;
  border-radius: 20px;
  font-size: 30px;
  margin-bottom: 10px;
  background-color: #fff;
  color: #01353a;
  padding: 5px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.7);
  text-shadow: 1px 1px 1px #e2bc02;
  position: relative;
}
.section-head .screen h2 {
  position: absolute;
  right: 0;
  margin-right: 20px;
  text-shadow: 2px 2px 2px rgba(226, 188, 2, 0.3);
  font-size: 35px;
  margin-top: 10px;
}
.section-head .screen p {
  position: absolute;
  left: 7px;
  font-size: 20px;
  margin-top: -5px;
  opacity: 0.5;
  text-shadow: 2px 2px 2px rgba(226, 188, 2, 0.3);
}
.section-head .screen span {
  position: absolute;
  right: 10px;
  animation: textScreen 0.5s infinite alternate;
  font-size: 33px;
  margin-top: 8px;
}
.box-btn {
  width: 93%;
  height: 270px;
  border: 1px solid;
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.7);
}
.box-btn .section-btn-1 button,
.box-btn .section-btn-2 button,
.box-btn .section-btn-3 button,
.box-btn .section-btn-4 button,
.box-btn .section-btn-5 button {
  width: 22%;
  height: 30px;
  border: 1px solid;
  font-size: 20px;
  border-radius: 15px;
  margin-top: 20px;
  transition: 0.3s;
  color: #01353a;
  box-shadow: 2px 2px 2px #01353a;
  text-shadow: 2px 2px 2px rgba(226, 188, 2, 0.3);
}
.box-btn .section-btn-1 button:first-child,
.box-btn .section-btn-2 button:first-child,
.box-btn .section-btn-3 button:first-child,
.box-btn .section-btn-4 button:first-child,
.box-btn .section-btn-5 button:first-child {
  margin-left: 12px;
}
.box-btn .section-btn-5 button:first-child {
  width: 45%;
}
.box-btn .section-btn-1 button,
.box-btn .section-btn-2 button:last-child,
.box-btn .section-btn-3 button:last-child,
.box-btn .section-btn-4 button:last-child,
.box-btn .section-btn-5 button:last-child {
  background-color: #01353a;
  color: #e2bc02;
  box-shadow: 1px 1px 1px #01353a;
  text-shadow: 2px 2px 2px #01353a;
}
.box-btn .section-btn-1 button:hover,
.box-btn .section-btn-2 button:last-child:hover,
.box-btn .section-btn-3 button:last-child:hover,
.box-btn .section-btn-4 button:last-child:hover,
.box-btn .section-btn-5 button:last-child:hover {
  background-color: #e2bc02;
  color: #01353a;
  cursor: pointer;
}
.box-btn .section-btn-2 button:hover,
.box-btn .section-btn-3 button:hover,
.box-btn .section-btn-4 button:hover,
.box-btn .section-btn-5 button:hover {
  background-color: #01353a;
  color: #e2bc02;
  cursor: pointer;
}
.gif {
  position: absolute;
  right: 0;
  bottom: 0;
  animation: fadeUp 1s;
}
.gif img {
  width: 350px;
}
@media screen AND (max-width: 576px) {
  .container {
    width: 100%;
  }
  .title {
    font-size: 23px;
    font-weight: 700;
  }
  .gif {
    width: 100%;
    text-align: center;
  }
  .box-calculator {
    padding: 25px;
    width: 70%;
  }
  .box-btn {
    width: 93%;
  }
  button {
    border-radius: 0px;
  }
  .section-head .screen {
    width: 96.7%;
  }
  .section-head .screen h2 {
    font-size: 30px;
    margin-top: 10px;
    margin-right: 22px;
  }
  .section-head .screen span {
    margin-top: 5px;
    font-size: 35px;
  }
  .box-btn .section-btn-1 button:first-child,
  .box-btn .section-btn-2 button:first-child,
  .box-btn .section-btn-3 button:first-child,
  .box-btn .section-btn-4 button:first-child,
  .box-btn .section-btn-5 button:first-child {
    margin-left: 10px;
  }
}
@media screen AND (max-width: 350px) {
  body {
    overflow: auto;
  }
  .container {
    height: 150vh;
  }
  .title {
    font-size: 20px;
    margin-top: 20px;
  }
  .gif {
    margin: 0 auto -100px;
    width: 100%;
    text-align: center;
  }
  .gif img {
    width: 300px;
  }
}
@keyframes textScreen {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.5;
  }
}
@keyframes fadeDown {
  from {
    margin-top: -50px;
    opacity: 0;
  }
  to {
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    scale: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
  }
  50% {
    opacity: 0.7;
    scale: 1.2;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
  }
  100% {
  }
}
@keyframes fadeUp {
  from {
    margin-bottom: -50px;
    opacity: 0;
  }
  to {
  }
}
