* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

img {
    max-width: 100%;
}

body {
    flex-direction: column;
    flex-wrap: wrap;
    align-content: baseline;
    background-image: url(grass.jpg);
    background-repeat: no-repeat;
    background-size: 1500px 1000px;
    background-attachment: fixed;
    justify-content:center;
    align-items:center;
}


.hoaititle {
    display: block;
    width: 30%;
    padding-bottom:0px;
    padding-top: 0px;
    object-fit: cover;
    align-content: center;
    transform: scale(0.7);
    position: sticky;
    top:20px;
}

.container {
    flex-direction: column;
    margin:0px;
    justify-content: space-evenly;
    height:100vh;
    width:100%;
    top:0;
    left:0;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-items:center;
    z-index:-1;
}

.characters img {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    gap: 40px;
}

.row {
    display: flex;
    flex-direction: row;
}
.char {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.char1 {
    display: flex;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    position: absolute;
} 

.char2 {
    display: flex;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
} 

.char3 {
    display: flex;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
} 

.charshow {
    visibility: visible;
}

.char img {
    translate(-50%,-50%) scale(0.1);
}
.char1 .removechar {
    visibility: hidden;
}

.popup {
    width: 400px;
    background: #fff;
    border-radius: 6px;
    position:absolute;
    top:0;
    left:50%;
    transform: translate(-50%,-50%) scale(0.1);
    text-align:center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    position: fixed;
}

.open-popup {
    visibility: visible;
    top:50%;
    transform: translate(-50%,-50%) scale(1);
}

.popup img {
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup h2 {
    font-size:38px;
    font-weight: 500;
    margin:30px 0 10px;
}

.popup button {
    width: 100%;
    padding:10px 0;
    background:#6fd649;
    color: #fff;
    border:0;
    outline:none;
    font-size:18px;
    border-radius:4px;
    cursor:pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup1 {
    width: 250px;
    height: 500px;
    background: #ff9bbb;
    color: white;
    border-radius: 0px;
    position:absolute;
    top:20%;
    left:80%;
    font-size: 15px;
    text-align:center;
    padding: 0 30px 30px;
    color: #333;
    align-content: center;
    visibility: hidden;
}

.open-popup1 {
    visibility: visible;
}

.popup1 h2 {
    font-size:38px;
    font-weight: 500;
    margin:30px 0 10px;
    padding-bottom: 30px;
    color:white;
}

.popup1 button {
    width: 100%;
    padding:10px 0;
    background: rgb(157, 157, 157);
    transform: ;
    color: #fff;
    border:0;
    outline:none;
    font-size:18px;
    border-radius:4px;
    cursor:pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

p {
    padding-bottom: 50px;
}

.row {
    padding-left: 160px;
    gap: 310px;
}

.btn1 {
    padding: 30px 30px;
    font-family: "Single Day", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    border-radius: 20px;
    background-color: rgb(252, 133, 172);
    color: white;
  }
  
.btn1:active {
    background-color: rgb(255, 154, 179);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
  }

.btn1after {
    visibility: hidden;
}

.btn2 {
    padding: 30px 30px;
    font-family: "Single Day", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    border-radius: 20px;
    background-color: rgb(232, 89, 136);
    color: white;
  }
  
.btn2:active {
    background-color: rgb(255, 154, 179);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
  }

.btn2after {
    visibility: hidden;
}

.btn3 {
    padding: 30px 30px;
    font-family: "Single Day", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    border-radius: 20px;
    background-color: rgb(187, 46, 93);
    color: white;
  }

.btn3after {
    visibility: hidden;
}

.btn3:active {
    background-color: rgb(255, 154, 179);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.charafter {
    visibility: hidden;
}

.basket {
    visibility: hidden;
    position: fixed;
    transform: scale(0.3);
    margin: 0px;
    padding: 0px;
}

.chosenbasket {
    visibility: visible;
}

.farm {
    /* background-color: #333; */
    margin-top:0px;
    padding-top:0px;
    height: 100vh;
    width: 60vw;
    visibility: hidden;
    position:absolute;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-auto-rows:repeat:(1,100px);
    grid-column-gap: 100px;
    grid-row-gap:100px;
}

.farmafter {
    visibility: visible;
}

.berry {
    padding top:10px;
    left:20px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry1 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    position: sticky;
    object-fit:contain;
}

.berry2 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry3 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry4 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry5 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry6 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry7 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry8 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berry9 {
    top:0px;
    left:0px;
    max-width: 100%;
    height: 100%;
    visibility: hidden;
    object-fit:contain;
}

.berryafter {
    visibility: visible;
}

.draggable {
    cursor:grab;
}

.popup2 {
    width: 250px;
    height: 200px;
    background: #ff9bbb;
    border-radius: 0px;
    position:fixed;
    top:20%;
    left:50%;
    font-size: 15px;
    text-align:center;
    padding: 0 30px 30px;
    color: #ffbcd3;
    align-content: center;
    visibility: hidden;
}

.popup2 h2 {
    color:white;
    font-size:38px;
    font-weight: 500;
    margin:30px 0 10px;
}

.open-popup2 {
    visibility: visible;
}