* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    background: #efe6ef;
}

.mainContainer {
    width: 70%;
    height: 90vh;
    margin: auto;
    margin-top: 5vh;
    border-radius: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #efe6ef;
    border: 1px solid #989898a8;
    box-shadow: 10px 10px 10px rgb(112, 112, 112,0.5),  -10px -10px 20px rgb(255, 255, 255,0.75) ;
}

#QRCodeGenerator {
    margin: 2vh;
    margin-top: 3vh;
    color: #3d828e;
}

.inputbox {
    width: 100%;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

#input {
    width: 30%;
    height: 40%;
    padding: 1%;
    outline: none;
    border-radius: 5px;
    background: rgb(233,241,254);
    border: 2px solid rgb(112, 112, 112,0.1);
    box-shadow: inset 2px 2px 5px rgb(112, 112, 112,0.2), inset -10px -10px 20px rgb(255, 255, 255,0.75) ,2px 2px 5px rgb(112, 112, 112,0.5),-10px -10px 20px rgb(255, 255, 255,0.75) ;
}

#submitButton {
    width: 15%;
    height: 40%;
    border-radius: 7px;
    background: rgb(233,241,254);
    border: none;
    cursor: pointer;
    transition: 0.5s;
    color: rgb(47, 47, 47);
    box-shadow: 3px 3px 10px rgb(112, 112, 112,0.5),-10px -10px 20px rgb(255, 255, 255,0.75);   
    color: rgb(110, 110, 110);
}

#submitButton:hover {
    background: #7facb4;
    color: white;
}

.mid {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hide {
    display: none;
}

#outputbox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    animation: openBox 2s;
}

.qrBox {
    height: 70%;
    aspect-ratio: 1/1;
    border: 1px solid rgba(0, 0, 0, 0.372);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
}

@keyframes openBox {
    0% {
        height: 0;
        width: 0;
    }

    100% {
        height: 100%;
        width: 100%;
    }
}

img {
    height: 90%;
}


#download {
    width: 20%;
    height: 10%;
    border-radius: 5px;
    background: #3d828e;
    color: white;
    border: none;
    cursor: pointer;
}



@media screen and (max-width: 1000px) {

    
.mainContainer {
    width: 100%;
    height: 90vh;
    margin-top: 3vh;
    border: none;
    box-shadow: none ;
}

#QRCodeGenerator {
    margin: 2.5vh;
}

.inputbox {
    width: 100%;
    height: 20%;
}

#input {
    width: 70%;
    padding-left: 3%;
}

#submitButton {
    width: 40%;
}

#download {
    width: 48%;
}

.qrBox {
    height: 75%;
}


}

