body {
  padding: 0;
  margin: 0;
  background-color: rgb(233, 230, 223);
}

#rotate {
  opacity: 0;
  display: none;
}

@media (min-width:1270px) {
  .dive {
    width: 100%;
    height: 100%;
    position: relative;
    top: 100px;
    left: 50%;
    translate: -50% 0;
    max-width: 70%;
    background-color: rgb(255, 248, 239);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px ridge cornflowerblue;
  }

  #dive1 {
    left: 50%;
    top: 100px;
    width: 1000px;
    height: 130px;
    align-items: center;
    padding: 1%;
    border: 10px groove rgb(8, 197, 255);
  }

  #bas {
    text-align: center;
    margin: 10px;
    font-size: 40px;
    color: red;
    font-weight: bold;
  }

  #dive2 {
    height: fit-content;
    top: 200px;
    text-align: justify;
    padding: 2%;
    border: 5px solid rgb(218, 0, 83);
  }

  #main {
    font-size: 20px;
    color: rgb(0, 0, 0);
    font-weight: 500;
  }

  #dive3 {
    top: 250px;
    width: 20%;
    height: fit-content;
    text-align: center;
    margin-bottom: 300px;
    align-items: center;
    padding: 10px;
  }

  #yazr {
    font-size: 30px;
    color: darkblue;
    font-weight: bold;
  }
}

@media (max-width:1270px) and (min-width:800px) {
  .dive {
    height: 100%;
    position: relative;
    top: 100px;
    left: 50%;
    translate: -50% 0;
    max-width: 95vw;
    background-color: rgb(255, 248, 239);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px ridge cornflowerblue;
  }

  #dive1 {
    left: 50%;
    height: fit-content;
    align-items: center;
    padding: 1%;
    border: 10px groove rgb(8, 197, 255);
  }

  #bas {
    text-align: center;
    margin: 10px;
    font-size: 3.8vw;
    color: red;
    font-weight: bold;
  }

  #dive2 {
    height: fit-content;
    top: 200px;
    text-align: justify;
    padding: 1.2%;
    border: 5px solid rgb(218, 0, 83);
  }

  #main {
    font-size: 2vw;
    color: rgb(0, 0, 0);
    font-weight: 500;
  }

  #dive3 {
    top: 250px;
    width: 20%;
    height: fit-content;
    text-align: center;
    margin-bottom: 300px;
    align-items: center;
    padding: 10px;
  }

  #yazr {
    font-size: 2vw;
    color: darkblue;
    font-weight: bold;
  }
}

@media (max-width:800px) {
  .dive {
    height: 100%;
    position: relative;
    top: 100px;
    left: 50%;
    translate: -50% 0;
    max-width: 95vw;
    background-color: rgb(255, 248, 239);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px ridge cornflowerblue;
  }

  #dive1 {
    align-content: center;
    left: 50%;
    height: fit-content;
    align-items: center;
    padding: 1%;
    border: 10px groove rgb(8, 197, 255);
  }

  #bas {
    align-content: center;
    text-align: center;
    margin: 10px;
    font-size: 3.8vw;
    color: red;
    font-weight: bold;
  }

  #dive2 {
    height: fit-content;
    top: 200px;
    text-align: justify;
    padding: 1.2%;
    border: 5px solid rgb(218, 0, 83);
  }

  #main {
    font-size: 3vw;
    color: rgb(0, 0, 0);
    font-weight: 500;
  }

  #dive3 {
    top: 250px;
    width: 20%;
    height: fit-content;
    text-align: center;
    margin-bottom: 300px;
    align-items: center;
    padding: 10px;
  }

  #yazr {
    font-size: 2vw;
    color: darkblue;
    font-weight: bold;
  }

  #rotate {
    font-size: 5vw;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    opacity: 1;
    width: fit-content;
  }

  #rotatei {
    width: 15vw;
  }

  #pirag {
    text-align: center;
    align-items: center;
    align-content: center;
  }
}