*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body{
    width: 100%;
    height: 100%;

}

body{
    background: url(./images/qa-bg-small.jpg);
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-main{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    padding: 0 1.2rem;
    justify-content: center;
    align-items: center;
}

.qr-code-main{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.qr-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-bg{
   height: 17rem;
   width: 17rem;
   background-color: #282e3e;
   border-radius: 50%;
   position: absolute;
   z-index: -3;
}

.qr-code{
    background-color: white;
    padding: 1.5rem; /* Increased padding */
    border-radius: 0.5rem;
}

.qr-code-logo{
    width: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qr-code-logo img{
    width: 100%;
}

.qr-code-input{
    width: 100%;
    background-color: #030617;
    padding: 1rem 1.2rem;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    outline: 4px solid #273fa9;
}

.qr-code-input input{
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1.1rem;
    padding: 0 0.5rem;
    width: 60%;

}

.qr-code-input input::placeholder{
    color: white;
    font-style: italic;
}

.qr-code-input a{
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: #273fa9;
    border: none;
    outline: none;
    border-radius: 0.4rem;
    cursor: pointer;
    color: white;

    text-decoration: none;
}

.qr-code-input a:hover{
    opacity: 0.9;
}

.big-logo{
    display: none;
}

.error-msg{
    color: crimson;
    font-style: italic;
    display: none;
}

.show{
    display: block;
}

.get-image{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.get-image button{
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #273fa9;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    border: none;

    gap: 0.5rem;
    cursor: pointer;
}

.get-image button:hover{
    opacity: 0.8;
}

.toast {
    visibility: hidden;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    right: 10px;
    top: 30px;
    font-size: 17px;
}

.toast #desc {
    color: #fff;
    padding: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.toast.show {
    visibility: visible;
    /* Add animation: Take 0.5 seconds to fade in and out the toast. */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@media screen and (min-width: 600px) {
    body{
        background: url(./images/qa-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .small-logo{
        display: none;
    }

    .big-logo{
        display: block;
    }
}