*{
    margin: none;
    padding:none;
    box-sizing: border-box;
}

html,body{
    width: 100vw;
    height: 100vh;
    overflow:hidden;
}

body{
    background-color: rgb(0, 105, 0);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: background-color 0.5s ease;
}


.main{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sqr{
    background-color: rgba(255, 255, 255, 0.301);
    margin-top: 5vh;
    border-radius: 40px;
    height: 45vh;
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#txtbox{
    border: 2px solid rgb(187, 187, 187);
    border-radius: 20px;
    height: 5vh;
    width: 15vw;
    padding: 20px;
    position: absolute;
    top:20%;
}

#rst{
    background-color: green;
    color: white;
    width: 5vw;
    height: 5vh ;
    border: none;
    position: absolute;
    bottom: 10%;
    left: 43%;
    border-radius: 50px;
    box-shadow:4px 4px 0 0.5px black ;
    transition: background-color 0.5s ease;
    cursor: pointer;
}

p {
  max-width: 15vw;
  line-height: 1.6;
  word-wrap: break-word;
  color: white;
}

.images{
    height: 40vh;
    width: 40vw; 
    overflow: hidden;
    position: absolute;  
    margin-top: 97vh;
    border-radius: 40px;
    box-shadow:10px 10px 0 0.5px black ;
}

.img1,.img2{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    z-index: 1;
}
.img1{
    z-index: 2;
    opacity: 1;
}
.img2{
    z-index: 1;
    opacity: 0;
}


#bg{
    background-color: green;
    color: white;
    width: 7vw;
    height: 5vh ;
    border: none;
    position: absolute;
    bottom: 10%;
    right: 43%;
    border-radius: 50px;
    box-shadow:4px 4px 0 0.5px black ; 
    transition: background-color 0.5s ease;
    cursor: pointer;
}

@media (max-width:430px){
 .sqr{
    width: 75vw;
 }
 #txtbox{
    width:55vw;
    font-size: 12px;
 }

 p{
    font-size: 12px;
    max-width: 40vw;
 }
 #rst{
    left:20%;
    width: 20vw;
    font-size: 12px;
 }

 #bg{
    padding: 12px;
    right: 20%;
    width: 25vw;
    font-size: 12px;
 }

 .images{
    width: 80vw;
    height: 50vw;
 }
}
