body{
  background-color: rgb(178, 230, 186);
}


section {
  margin: 0 auto;
}

.first {
  background: #a7f8b9;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin-top: 25px;
}

.mainp {
  background: rgb(132, 174, 139);
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  max-width: 820px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.next {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  padding-top: 4px;
}

.next a {
  background: #43e771;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

p {
font-family: 'Comic Sans MS', cursive, sans-serif;
}

.left, 
.right {
background: #43e771;
color: #00647d;
border: none;
border-radius: 5px;
width: 100px;
height: 27px;
font-size: 20px;
cursor: pointer;
transition: transform 0.3s;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
}

.left{
margin-right: 10px;
}

.right{
margin-left: 10px;
}

.left:hover, 
.right:hover {
    transform: scale(1.1);
}

.back-button {
position: fixed;
top: 20px;
left: 20px;
background: none;
color: #00647d;
border: none;
width: 40px;
height: 40px;
font-size: 32px;
cursor: pointer;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s;
}

.back-button:hover {
transform: scale(1.2);
}
@media screen and (max-width: 768px) {
.mainp {
    flex-direction: column;
    padding: 10px;
}

.mainp img {
    width: 100%;
    margin: 15px 0;
}

.left, 
.right {
    width: 100%;
    max-width: 100px;
    margin: 5px auto;
}

.first {
    padding: 15px;
    margin: 15px;
}

p {
    font-size: 16px;
    line-height: 1.5;
}
}

@media screen and (max-width: 384px) {
.mainp {
    flex-direction: column;
    padding: 10px;
}

.mainp img {
    width: 100%;
    margin: 15px 0;
}

.left, 
.right {
    width: 50%;
    max-width: 100px;
    margin: 5px auto;
    font-size: 16px;
}

.first {
    padding: 15px;
    margin: 15px;
}

p {
    font-size: 12px;
    line-height: 1.5;
}

.back-button{
  width:20px;
  height: 20px;
  font-size: 24px;
}
}
