body {
font-family: Arial, Helvetica Neue;
}
@media (max-width: 300px) {
.image {
width: 75%;
}
}
.container {
position: relative;
width: 370px;
height: 380px;
margin: auto;
margin-bottom: 40px;
margin-top: 10px;
}
@media (max-width: 768px) {
.container {
width: 100%; 
max-width: 360px; 
height: 390px;
margin-bottom: 40px;
margin-top: 35px;
}
}
@media (max-width: 468px) {
.container {
width: 100%; 
max-width: 350px; 
height: 360px;
margin-bottom: 45px;
margin-top: 35px;
}
}
.box {
position: relative; 
display: flex;
align-items: center;
background: linear-gradient(to bottom, #f5f4f4, #ffffff);
border-radius: 10px;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
padding: 1px;
text-align: center;
width: 100%; 
max-width: 360px; 
height: 420px;
margin: auto;
}
@media (max-width: 768px) {
.box {
max-width: 100%; 
width: 340px;
height: 400px;
margin: auto;
margin-top: 30px;
}
}
@media (max-width: 468px) {
.box {
max-width: 100%;
width: 350px;
height: 385px;
margin: auto;
margin-top: 30px;
}
}
#myImage {
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: auto;
margin: auto;
width: 270px;
margin-top: 320px; transform: translateY(-100%);
}
@media (max-width: 768px) {
#myImage {
width: 250px;
height: 250px;
margin-top: 299px; 
}
}
@media (max-width: 368px) {
#myImage {
width: 225px;
height: 225px;
margin-top: 269px; 
}
}
#button-wrapper {
display: flex;
justify-content: center;
}
#button-wrapperb {
display: flex;
justify-content: center;
position: relative;
z-index: 1;
}
.button {
display: inline-block; 
border: 1px solid #ccc;
color: #888;
padding: 10px 25px;
text-align: center;
text-decoration: none;
font-size: 16px;
border-radius: 9px;
cursor: pointer;
margin-right: 10px;
}
.button:hover {
background: blue;
}
@media (max-width: 768px) {
.button {
display: absolute;
border: 1px solid #ccc;
color: #888;
padding: 8px 20px;
text-align: center;
text-decoration: anone;
font-size: 16px;
border-radius: 9px;
cursor: pointer;
}
}
.buttonprev {
background: transparent;
position: absolute;
top: 100px;
left: 0px;
color: #888;
padding: 90px 22px;
font-size: 16px;
cursor: pointer;
margin-top: 10px;
margin-right: 10px; 
border: none; 
color:black;
}
@media (max-width: 768px) {
.buttonprev {
top: 100px;
left: 0px;
}
}
@media (max-width: 368px) {
.buttonprev {
top: 70px;
left: 0px;
font-size: 15px;
}
}
.buttonnext {
background: transparent;
position: absolute;
top: 100px;
right: 0px;
color: #888;
padding: 90px 22px;
font-size: 16px;
cursor: pointer;
margin-top: 10px;
border: none;
color: black;
}
@media (max-width: 768px) {
.buttonnext {
top: 100px;
left: unset; 
margin-left: 70px; 
}
}
@media (max-width: 368px) {
.buttonnext {
top: 70px;
left: 150px;
font-size: 15px;
}
}
.progress {
width: auto;
top: 330px;
margin-left: 40px;
margin-right: 40px;
position: absolute;
width: 270px;
background: none;
height: 15px;
border-radius: 5px;
}
.progress-bar {
cursor: pointer;
height: 15px;
width: auto;
background: linear-gradient(to right, #a6c3d0, #e0e9de);
border-radius: 5px;
text-align: center;
line-height: 15px;
color: #4c8eaf;
font-size: 0;
line-height: 0;
}
@media (max-width: 768px) {
.progress {
top: 320px;
margin-left: 40px;
margin-right: 40px;
position: absolute;
width: 200px;
background: none;
height: 15px;
border-radius: 5px;
}
}
@media (max-width: 368px) {
.progress {
top: 295px;
margin-left: 30px;
margin-right: 30px;
position: absolute;
width: 210px;
background: none;
height: 15px;
border-radius: 5px;
}
}
.popup {
display: none;
}
#counter {
position: absolute;
top: 15px;
left: 310px;
font-size: 13px;
color: lightgray;
}
@media (max-width: 768px) {
#counter {
top: 40px;
left: unset; 
left: 310px; 
}
}
@media (max-width: 468px) {
#counter {
top: 20px;
left: 220px;
font-size: 12px;
}
}