nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12vh;
  width: 100vw;
  margin-bottom: 30px;
}
nav .nav_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  width: 97%;
  height: 100%;
  padding: 0 15px;
  border-radius: 10px;
}
nav .nav_content .logo {
  width: 50px;
  height: 50px;
  padding-left: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav .nav_content .logo a img {
  width: 70px;
  height: 70px;
}
nav .nav_content .title {
  font-size: 28px;
}
nav .nav_content .btn {
  text-decoration: none;
  width: 180px;
  height: 70%;
  background-color: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
nav .nav_content .btn i {
  color: white;
  font-size: 28px;
}

@media (max-width: 820px) {
  nav .nav_content .title {
    font-size: 16px;
  }
  nav .nav_content .btn {
    width: 150px;
    height: 60%;
  }
}
@media (max-width: 640px) {
  nav .nav_content .title {
    font-size: 16px;
  }
  nav .nav_content .btn {
    width: 150px;
    height: 60%;
  }
}
@media (max-width: 500px) {
  nav .nav_content .title {
    font-size: 14px;
  }
  nav .nav_content .btn {
    width: 71px;
    height: 52%;
  }
  nav .nav_content .btn .simulate {
    display: none;
  }
}
@media (max-width: 430px) {
  nav .nav_content .title h1 {
    text-align: center;
    font-size: 20px;
  }
  nav .nav_content .btn {
    width: 71px;
    height: 52%;
  }
  nav .nav_content .btn .simulate {
    display: none;
  }
}
@media (max-width: 320px) {
  nav .nav_content .logo {
    padding: 0 20px 0 0;
  }
  nav .nav_content .logo a img {
    width: 50px;
    height: 50px;
  }
  nav .nav_content .title {
    font-size: 12px;
  }
  nav .nav_content .btn {
    width: 71px;
    height: 52%;
  }
  nav .nav_content .btn .simulate {
    display: none;
  }
}
.pages_main {
  display: flex;
  height: 100vh;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background-color: #f0f5fb;
}
.pages_main .page_container {
  height: 78vh !important;
  width: 100vw;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  flex-direction: row !important;
  background-color: #f0f5fb;
}
.pages_main .page_container .sidebar {
  width: 15%;
  height: 100%;
  background-color: #d7eef7;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: rgb(0, 117, 212);
}
.pages_main .page_container .sidebar h3 {
  padding-left: 40px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  height: 10%;
  font-weight: bold;
}
.pages_main .page_container .sidebar ul {
  height: 80%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* background-color: #00ffff; */
  justify-content: space-between;
}
.pages_main .page_container .sidebar ul li {
  gap: 30px;
  display: flex;
  list-style: none;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 90%;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  background-color: rgb(248, 248, 248);
}
.pages_main .page_container .sidebar ul li a {
  text-decoration: none;
  font-size: 30px;
  display: flex;
  padding-left: 30px;
  align-items: center;
  font-weight: 800;
  color: black;
  height: 60px;
  width: 90%;
  /* margin-top: 20px; */
}
.pages_main .page_container .content {
  width: 80% !important;
  height: 100%;
  flex-direction: row;
  background-color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.pages_main .page_container .content .page_gates {
  width: 45%;
  height: 70%;
  background-color: #e4e4e4;
  border-radius: 15px;
}
.pages_main .page_container .content .page_gates .container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  height: 100%;
}
.pages_main .page_container .content .page_gates .container .title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  width: 90%;
  border-radius: 15px;
  background-color: #2c2c2c;
  color: white;
  margin-top: 20px;
  font-size: 32px;
}
.pages_main .page_container .content .page_gates .container .logic {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  width: 100%;
  height: 60%;
}
.pages_main .page_container .content .page_gates .container .logic .input {
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.pages_main .page_container .content .page_gates .container .logic .gate {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pages_main .page_container .content .page_gates .container .logic .gate img {
  max-height: 270px;
  width: auto;
}
.pages_main .page_container .content .page_gates .container .logic .output svg {
  height: 30px;
  width: 30px;
}
.pages_main .page_container .content .truthTable {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pages_main .page_container .content .truthTable .table {
  width: 70%;
  height: 50%;
  border-collapse: collapse;
  text-align: center;
  font-family: Arial, sans-serif;
  /* margin: 25px 0; */
}
.pages_main .page_container .content .truthTable .table caption {
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  caption-side: top;
  padding-bottom: 20px;
}
.pages_main .page_container .content .truthTable .table tr {
  height: 30px;
}
.pages_main .page_container .content .truthTable .table tr th {
  background-color: #000;
  border: 1px solid #000000;
  color: white;
  font-size: 34px;
  padding: 10px 0;
}
.pages_main .page_container .content .truthTable .table tr td {
  border: 1px solid #000000;
  color: black;
  font-size: 30px;
}
.pages_main footer {
  height: 40px;
}

@media (max-width: 1280px) and (min-width: 768px) {
  #gate_list {
    display: none;
  }
}
@media (max-width: 3840px) and (min-width: 1080px) {
  .pages_main #gate_list {
    display: none;
  }
}
@media (max-width: 1440px) {
  .pages_main .page_container .sidebar h3 {
    padding-left: 20px;
    font-size: 20px;
  }
  .pages_main .page_container .sidebar ul li a {
    font-size: 22px;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate {
    width: 40%;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate img {
    max-width: 185px;
  }
  .pages_main .page_container .content .truthTable .table tr {
    font-size: 24px;
  }
}
@media (max-width: 1024px) and (min-width: 920px) {
  .gate {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .pages_main #gate_list {
    position: fixed;
    z-index: 800;
    margin-top: 16vh;
    left: 0;
    padding: 9px 20px;
    background-color: #d7eef7;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    /* box-shadow: 5px 5px 5px 2px rgba(192, 192, 192, 0.5); */
  }
  .pages_main #gate_list #gate_list_font {
    font-size: 22px;
    font-weight: bold;
  }
  .pages_main #gate_list #gate_list_font #gate_list i {
    font-size: 30px;
  }
  .pages_main .page_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95vw;
    background-color: rgb(255, 255, 255);
  }
  .pages_main .page_container .sidebar {
    position: absolute;
    width: 25vw;
    height: 80%;
    z-index: 300;
    left: 0;
  }
  .pages_main .page_container .sidebar h3 {
    display: none;
  }
  .pages_main .page_container .sidebar ul {
    height: 92%;
    width: 100%;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* background-color: #00ffff; */
    justify-content: space-evenly;
  }
  .pages_main .page_container .content {
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pages_main .page_container .content .page_gates {
    width: 80vw;
    background-color: #ffffff;
  }
  .pages_main .page_container .content .page_gates .container {
    margin-top: 20px;
    border-radius: 15px;
    background-color: #e4e4e4;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate img {
    max-height: 195px;
    width: auto;
  }
  .pages_main .page_container .content .truthTable {
    width: 80vw;
  }
  .pages_main .page_container .content .truthTable .table {
    width: 95%;
  }
}
@media (max-width: 430px) {
  .pages_main #gate_list {
    position: fixed;
    z-index: 800;
    margin-top: 16vh;
    left: 0;
    padding: 9px 20px;
    background-color: #d7eef7;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    /* box-shadow: 5px 5px 5px 2px rgba(192, 192, 192, 0.5); */
  }
  .pages_main #gate_list #gate_list_font {
    font-size: 30px;
    font-weight: bold;
  }
  .pages_main #gate_list #gate_list_font #gate_list i {
    font-size: 30px;
  }
  .pages_main .page_container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: scroll;
    width: 95vw;
    background-color: rgb(255, 255, 255);
  }
  .pages_main .page_container .sidebar {
    position: absolute;
    width: 40vw;
    height: 80%;
    z-index: 300;
    left: 0;
    display: none;
  }
  .pages_main .page_container .sidebar h3 {
    display: none;
  }
  .pages_main .page_container .sidebar ul {
    height: 92%;
    width: 100%;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* background-color: #00ffff; */
    justify-content: space-evenly;
  }
  .pages_main .page_container .content {
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pages_main .page_container .content .page_gates {
    width: 80vw;
    background-color: #ffffff;
  }
  .pages_main .page_container .content .page_gates .container {
    margin-top: 20px;
    border-radius: 15px;
    background-color: #e4e4e4;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate img {
    max-height: 195px;
    width: auto;
  }
  .pages_main .page_container .content .truthTable {
    margin-top: 10%;
    width: 80vw;
  }
  .pages_main .page_container .content .truthTable .table {
    width: 95%;
  }
}
@media (max-width: 330px) {
  .pages_main #gate_list {
    position: fixed;
    z-index: 800;
    margin-top: 16vh;
    left: 0;
    padding: 7px 20px;
    background-color: #d7eef7;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    /* box-shadow: 5px 5px 5px 2px rgba(192, 192, 192, 0.5); */
  }
  .pages_main #gate_list #gate_list_font {
    font-size: 30px;
    font-weight: bold;
  }
  .pages_main #gate_list #gate_list_font #gate_list i {
    font-size: 30px;
  }
  .pages_main .page_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95vw;
    background-color: rgb(255, 255, 255);
  }
  .pages_main .page_container .sidebar {
    position: absolute;
    width: 40vw;
    height: 80%;
    z-index: 300;
    display: none;
    left: 0;
  }
  .pages_main .page_container .sidebar h3 {
    display: none;
  }
  .pages_main .page_container .sidebar ul {
    height: 92%;
    width: 100%;
    padding-top: 6vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* background-color: #00ffff; */
    justify-content: space-evenly;
  }
  .pages_main .page_container .sidebar ul li a {
    font-size: 20px;
    display: flex;
    padding-left: 15px;
  }
  .pages_main .page_container .content {
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pages_main .page_container .content .page_gates {
    width: 80vw;
    background-color: #ffffff;
  }
  .pages_main .page_container .content .page_gates .container {
    margin-top: 20px;
    border-radius: 15px;
    background-color: #e4e4e4;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate img {
    max-height: 128px;
    width: auto;
  }
  .pages_main .page_container .content .truthTable {
    width: 80vw;
  }
  .pages_main .page_container .content .truthTable .table {
    width: 95%;
  }
}
@media (max-width: 888) and (min-width: 768px) {
  .pages_main .page_container .sidebar {
    position: absolute;
    width: 25vw;
    height: 80%;
    z-index: 300;
    left: 0;
  }
  .pages_main .page_container .content .page_gates .container .logic {
    display: flex;
    align-items: center;
    justify-content: space-around !important;
    flex-direction: row;
    width: 100%;
    height: 60%;
  }
  .pages_main .page_container .content .page_gates .container .logic .gate img {
    max-width: 130%;
  }
}
.hero_container {
  height: 80vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}
.hero_container .content {
  width: 95%;
  height: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.hero_container .content .card {
  width: 370px;
  height: 246px;
  background-color: #e4e4e4;
  border-radius: 15px;
}
.hero_container .content .card .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.hero_container .content .card .container .title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  width: 90%;
  border-radius: 15px;
  background-color: #2c2c2c;
  color: white;
  margin-top: 20px;
  font-size: 22px;
}
.hero_container .content .card .container .logic {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  width: 100%;
  height: 160px;
}
.hero_container .content .card .container .logic .input {
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.hero_container .content .card .container .logic .gate {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero_container .content .card .container .logic .gate img {
  max-height: 190px;
  width: auto;
}
.hero_container .content .card .container .logic .output svg {
  height: 30px;
  width: 30px;
}

.footer {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer p {
  font-size: 14px;
}
.footer p a {
  font-weight: bold;
}

@media (max-width: 1920px) {
  .hero_container .content .card {
    width: 414px;
    height: 318px;
  }
  .hero_container .content .card .container {
    height: 100%;
  }
  .hero_container .content .card .container .logic {
    height: 75%;
  }
}
@media (max-width: 1740px) and (min-width: 1600px) {
  .hero_container .content .card {
    width: 368px;
    height: 252px;
  }
}
@media (max-width: 980px) and (min-width: 769px) {
  .hero_container .content {
    gap: 1vh;
  }
  .hero_container .content .card {
    width: 196px;
    height: 228px;
  }
}
@media (max-width: 1600px) {
  .hero_container .content .card {
    width: 338px;
    height: 287px;
  }
}
@media (max-width: 1600px) {
  .hero_container .content .card {
    width: 338px;
    height: 257px;
  }
  .hero_container .content .card .container .logic .xnor_img {
    width: 80%;
  }
}
@media (max-width: 1280px) {
  .hero_container .content .card {
    width: 320px;
    height: 280px;
  }
  .hero_container .content .card .container {
    height: 100%;
  }
  .hero_container .content .card .container .logic {
    height: 75%;
  }
  .hero_container .content .card .container .logic .gate img {
    max-height: 170px;
  }
}
@media (max-width: 1440px) {
  .hero_container .content .card {
    width: 280px;
    height: 240px;
  }
  .hero_container .content .card .container {
    height: 100%;
  }
  .hero_container .content .card .container .logic {
    height: 75%;
  }
  .hero_container .content .card .container .logic .input {
    width: 30%;
  }
  .hero_container .content .card .container .logic .gate img {
    max-height: 130px;
  }
  .hero_container .content .card .container .logic .gate .xnor_img {
    width: 80%;
  }
  .hero_container .content .card .container .logic .output svg {
    height: 25px;
    width: 25px;
  }
}
@media (max-width: 1024px) {
  .hero_container .content .card {
    width: 230px;
    height: 226px;
  }
  .hero_container .content .card .container {
    height: 100%;
  }
  .hero_container .content .card .container .logic {
    height: 75%;
  }
  .hero_container .content .card .container .logic .input {
    width: 30%;
  }
  .hero_container .content .card .container .logic .gate img {
    width: 93px;
  }
  .hero_container .content .card .container .logic .output svg {
    height: 25px;
    width: 25px;
  }
}
@media (max-width: 992px) {
  .hero_container {
    height: auto;
  }
  .hero_container .content {
    width: 98%;
    margin: 8vh 0;
    gap: 3vh;
  }
  .hero_container .content .card {
    width: 220px;
    height: 235px;
  }
}
@media (max-width: 768px) {
  .hero_container {
    height: auto;
  }
  .hero_container .content {
    margin: 8vh 0;
    gap: 6vh;
  }
  .hero_container .content .card {
    width: 280px;
    height: 233px;
  }
  .hero_container .content .card .container .logic .gate img {
    width: 110px;
  }
}
@media (max-width: 768px) {
  .hero_container {
    height: auto;
  }
  .hero_container .content {
    width: 96%;
    margin: 8vh 0;
    gap: 3vh;
  }
}
@media (max-width: 500px) {
  .hero_container .content .card {
    width: 80vw;
    height: 250px;
  }
  .hero_container .content .card .container .logic .input {
    width: 25%;
  }
  .hero_container .content .card .container .logic .gate img {
    width: 150px;
  }
  .hero_container .content .card .container .logic .output svg {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 430px) {
  .hero_container .content .card {
    width: 80vw;
    height: 250px;
  }
  .hero_container .content .card .container .logic .input {
    width: 25%;
  }
  .hero_container .content .card .container .logic .gate img {
    width: 150px;
  }
  .hero_container .content .card .container .logic .output svg {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 320px) {
  .hero_container .content .card {
    width: 80vw;
    height: 250px;
  }
  .hero_container .content .card .container .logic .input {
    width: 25%;
  }
  .hero_container .content .card .container .logic .gate img {
    width: 120px;
  }
  .hero_container .content .card .container .logic .output svg {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 1179px) and (min-width: 1025px) {
  .hero_container .content .card {
    width: 238px;
    height: 252px;
  }
}
.stu_log {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background-color: #FAFBF5;
}
.stu_log .stu_log_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 80%;
  border-radius: 20px;
}
.stu_log .stu_log_container .right {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px 30px 30px 10px;
}
.stu_log .stu_log_container .right img {
  width: 80%;
  height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
}
.stu_log .stu_log_container .right span {
  color: black;
  font-weight: 600;
}
.stu_log .stu_log_container .left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 40%;
  height: 100%;
  padding: 30px;
}
.stu_log .stu_log_container .left .text {
  display: flex;
  flex-direction: column;
}
.stu_log .stu_log_container .left .text .main {
  color: black;
  font-size: 30px;
  font-weight: 700;
}
.stu_log .stu_log_container .left .text .secondary {
  font-size: 20px;
  color: gray;
  font-weight: 500;
}
.stu_log .stu_log_container .left form {
  margin-top: 5%;
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.stu_log .stu_log_container .left .loginBtn_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.stu_log .stu_log_container .left .loginBtn_container button {
  margin-top: 5%;
  background-color: darkblue;
  color: white;
  font-weight: 600;
  padding: 15px;
  border-radius: 12px;
  border: none;
  outline: none;
}
.stu_log .stu_log_container .left .loginBtn_container a {
  width: 50%;
}
.stu_log .stu_log_container .left div {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.stu_log .stu_log_container .left div input {
  border-radius: 7px;
  padding: 10px;
  border: 3px solid gray;
  width: 100%;
}
.stu_log .stu_log_container .left .footer {
  width: 100%;
  margin-top: 15%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.stu_log .stu_log_container .left .footer .line {
  height: 5px;
  width: 100%;
  background-color: gray;
  border-radius: 20px;
}
.stu_log .stu_log_container .left .footer span {
  width: 100%;
  text-align: center;
  color: gray;
  font-weight: 600;
}
.stu_log .stu_log_container .left .icons {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 5%;
}
.stu_log .stu_log_container .left .icons img {
  height: 100%;
  width: 40px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (max-width: 767px) {
  .stu_log .stu_log_container {
    width: 100%;
    height: 90%;
  }
  .stu_log .stu_log_container .right {
    display: none;
  }
  .stu_log .stu_log_container .left {
    justify-content: center;
    width: 95%;
  }
  .stu_log .stu_log_container .left form {
    padding: 0;
  }
  .stu_log .stu_log_container .left .loginBtn_container {
    justify-content: center;
  }
}
* {
  padding: 0;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  height: 100vh;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background-color: #F0F5FB;
}

.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.switch {
  position: relative;
  width: 74px;
  height: 36px;
  margin: 20px auto 0 auto;
  overflow: hidden;
}

.switch.r,
.switch.r .layer {
  border-radius: 100px;
}

.switch.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
}

/* Button 1 */
#switch-1 .knobs:before {
  content: "0";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #03a9f4;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#switch-1 .checkbox:checked + .knobs:before {
  content: "1";
  left: 42px;
  background-color: #f44336;
}

#switch-1 .checkbox:checked ~ .layer {
  background-color: #fcebeb;
}

#switch-1 .knobs,
#switch-1 .knobs:before,
#switch-1 .layer {
  transition: 0.3s ease all;
}

.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.switches {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 3vh;
  flex-direction: column;
}

.switch {
  position: relative;
  width: 74px;
  height: 36px;
  margin: 0 !important;
  overflow: hidden;
}

.switch.r,
.switch.r .layer {
  border-radius: 100px;
}

.switch.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ccc;
  transition: 0.3s ease all;
  z-index: 1;
}

/* Button 1 */
#switch-1 .knobs:before {
  content: "0";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 10px;
  color: #000000;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#switch-1 .checkbox:checked + .knobs:before {
  content: "1";
  left: 42px;
  background-color: #fff;
}

#switch-1 .checkbox:checked ~ .layer {
  background-color: #338be9;
}

#switch-1 .knobs,
#switch-1 .knobs:before,
#switch-1 .layer {
  transition: 0.3s ease all;
} /*# sourceMappingURL=style.css.map */