@import url('https://fonts.googleapis.com/css2?family=Butcherman&family=Eater&family=Griffy&family=Nosifer&display=swap');

*{
    box-sizing: border-box;
    max-width: 100%;
}
body {
    background: linear-gradient(rgb(16, 14, 38),rgb(76, 63, 115) ) ;
    /* margin-left: 4rem;
    margin-right: 4rem; */
    margin: 0 auto;
    align-content: center;
    line-height: 1.5;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
main{
    align-content: center;
    max-width: 80%;
    margin: 0 auto;

}
#icon  {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    flex-direction: row-reverse;
    margin-top: 2rem;

}

a {
    text-decoration:none;
}
/* .end-link{
    text-decoration: none;
    color: rgb(112, 222, 69);
    font-family:'Courier New', Courier, monospace;
    font-size: 18px;
    text-align: center;
} */
i {
    color: yellow;
    margin-right: 2rem;
}

.imgBox {
    max-width: 80%;
    margin: 0 auto;
    height: 800px;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
}
.imgBox img{
    /* position: absolute; */
    height: auto;
    margin: 0 auto;
    cursor: pointer;
    margin-top: 2rem;
    border-radius: 25px;
}
.imgBox * {
    position: absolute;
    /* right: 0; */
}
.hidden {
    display: none;
}

h1 {
    font-family: 'Nosifer', cursive;
    color: rgb(112, 222, 69);
    font-size: 3.5rem;
    text-align: center;
    margin-top: 8rem;
}
h2{
    color: rgb(17, 13, 26);
    font-family:'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 1rem;
}
/* p{
    color: rgb(255, 255, 255);
    font-family:'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 100;
    width: 90%;
    margin: auto;
} */
.p-background{
    color: rgb(17, 13, 26);
    background-color: rgb(244, 239, 219);
    padding: 20px;
    border-radius: 25px;
    max-width: 80%;
    font-family:'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 300;
    margin: 0 auto; 
}
.task_p{
    color: rgba(60, 38, 101, 0.989);
    /* text-shadow: -1px 2px 4px rgba(13, 9, 0, 0.619); */
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    font-family:'Courier New', Courier, monospace;
}
p #msg{
    display: inline-block;
    color: white;
    
}
#msg {
    position: absolute;
    /* top: 10px;
    right: 45%; */
    
    /* width: 4rem;
    height: 1rem; */
}
form {
    width: 100px;
    height: 100px;
    display: block;
}
#banana {
    cursor: pointer;
    /* display: block; */
    height: 200px;
    top: 10px;
    left: 400px;
}
input[type="submit"]{
    background-image: url("<?php echo $item_image;?>");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    background-color: unset;
    border: none;
}

@media (max-width: 1500px){
    #banana {
        left: 300px;
    }
}
@media (max-width: 1200px){
    #banana {
        left: 200px;
    }
}

@media (max-width: 1000px) {
    main{
        width: 100%;

    }
    .p-background{
        max-width: 100%;
    }
    h1{
        font-size: 2.5rem;
        margin-top: .5rem;
    }

  }
  @media (max-width: 720px) {
    body {
        margin-left: .5rem;
        margin-right: .5rem;
        background-color: blueviolet;
    }
    p{
        font-size: 16px;
    }
    .imgBox {
        max-width: 100%;
    }
    h1{
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    #banana {
        height: 60px;
        right: -50px;
        top: 150px; 
    }
    .task_p {
        font-size: 1rem;
        font-weight: 700;
    }
    .ml3 {
        font-size: 1rem;
        text-align: center;
    }
  }
@media (max-width: 500px){
    #banana {
        left: 160px;
        top: 100px;
    }
}
  
  @media (max-width: 450px) {
    p {
        font-size: 14px;
        text-align: center;
        max-width: 100%;
    }
    .imgBox img{
        max-width:100%;
        position: absolute;
        height: auto;
        margin: 0 auto;
        cursor: pointer;
    }
    .p-background{
        margin-bottom: 1.3rem;
    }
    #banana {
        left: 110px;
        top: 80px;
    }
  }
  @media (max-width: 380px) {
    .imgBox img{
        margin: 0 auto;
    }
    .p-background{
        margin-bottom: 1.3rem;
        text-align: justify;
        padding: 15px;
    }
    h1{
        font-size: 1.4rem;
        margin-top: .5rem;
    }
    .task_p{
        font-size: 18px;
    }
    h2{
        font-size: 18px;
    }
  }
