@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #74EBD5;
    background-image: linear-gradient(180deg, #74EBD5 0%, #9FACE6 100%);

}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

h1 {
    color: #677099;
}
.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.content {
    padding: 5px;
    margin: 5px;
    justify-content: center;
    display: flex;
    gap: 0.5rem;
}


button {
    width: 40px;
    height: 30px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 3px;
    background: #3f4871 ;
    color: #fff;
    border: none;
    font-size: 1rem;
}

button:hover {
    cursor: pointer;
    transform: scale(1.1);
}


input {
    padding: 5px;
    width: 240px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    outline: 0;
}
input::placeholder{
    text-align: center;
}

.qrcode-content {
    display: flex;
    justify-content: center;
    padding: 10px;
}


/* Modal*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 132, 228, 0.5);
    display: grid;
    place-items: center;
    transition: all 0.3s linear;
    visibility: hidden;
    z-index: -10;
}

/* Open/close modal*/
.open-modal {
    visibility: visible;
    z-index: 10;
}
.modal-container {
    background: #3f4871;
    color: #fff;
    border-radius: 5px;
    width: 50vw;
    height: 20vh;
    max-width: 300px;
    text-align: center;
    display: grid;
    place-items: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: transparent;
    color: #c13131 ;
    cursor: pointer;
    transition: all 0.3s linear;
}

.close-btn:hover {
    color: #9b2626;
    transform: scale(1.2);
}