body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    min-height: 100vh;
    max-width:100vw;
    

}

main{
    background-attachment: fixed;
    background-image: linear-gradient(157deg, #66a7ff, #b76dc9);

    display: grid;
    grid-template-areas:
     'intro qr'
     'img qr';
    padding: 30px;
    column-gap: 20px;
}


.intro{
    grid-area: intro;
    color: white;
    z-index: 2;
}

.img{
    grid-area: img;
    position: static;
    /* opacity: 0.4; */
    transform: translate(-50px, 0px);
    max-width: 100%;
    
}

.z2{
    z-index: 2;
}

#qr-container {
    grid-area: qr;
    text-align: center;
    background-color: snow;
    width: 300px;
    border-radius: 10px;
    box-shadow: 1px 1px 40px #000000eb;
    padding: 15px;
}
#qr-code {
    margin-bottom: 20px;
    position: relative;
}
#frame-input {
    margin-top: 10px;
}
#text-input {
    margin-top: 10px;
}

input {
    font-size: 1.2rem;
    border-style: solid;
    border-radius: 5px;
}

label{
    font-size: 18px;
}

/*CHECKBOX*/
.containercheck {
    display: flex;

    /* display: block; */
    position: relative;
    /*padding-left: 35px;*/
    /* margin-bottom: 12px; */
    cursor: pointer;
    font-size: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
  }
/* Hide the browser's default checkbox */
.containercheck input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: relative;
    /* top: 0; */
    right: 5px;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 8px;
    border-style: solid;
    border-width: 1px;
}

/* On mouse-over, add a grey background color */
.containercheck:hover input ~ .checkmark {
background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containercheck input:checked ~ .checkmark {
background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}

/* Show the checkmark when checked */
.containercheck input:checked ~ .checkmark:after {
display: block;
}

/* Style the checkmark/indicator */
.containercheck .checkmark:after {
left: 9px;
top: 5px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}

button{
    background-color: #bfe2ff;
    border-style: solid;
    width: 180px;
    border-width: 2px;
    border-color: black;
    font-size: 18px;
    padding: 5px;
    border-radius: 5px;
}

button:hover{
    background-color: black;
    color: white;
    transition: 300ms ease-in-out;
}

.credits{
    color: rgb(0, 0, 0);
    background: transparent;
    text-align-last: center;
}

.flex-container{
    display: flex;
    justify-content: space-around;
    align-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
}

.lnk{
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.checkers{
padding: 15px;
line-height: 2rem;
}

.footer{
    background-color: white;
    width: 100%;
    margin-top: 30px;
    z-index: 2;
    
}

/*CONSENT*/

.concentcenter{
    align-items: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    

}

.background-popup {
    display: none;
    position: fixed;
    background-color: rgb(0 0 0 / 50%);
    width: 500%;
    height: 500%;
    top: 0;
    left: 0;
    opacity: 0.7;
    z-index: 999;
    transition-duration: 0.3s;
  }
  
#cookiestxt{
    height: 35vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    text-align: justify;
    margin-bottom: 15px;
}

.cookie-consent-banner {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: space-around;
    align-content: space-between;
    align-items: center;
    width: 80%;
    height: auto;
    bottom: 0;
    
    /*bottom: 0;
    left: 0;
    right: 0;*/
    background-color: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    color: black;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    z-index: 1000;

}

.cookie-consent-button {
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    width: 17rem;
}

.cookie-consent-button:hover {
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button:active {
    opacity: .5;
}

.cookie-consent-button.btn-success {
    background-color: #34a853;
    color: white;
}

.cookie-consent-button.btn-grayscale {
    background-color: #dfe1e5;
    color: black;
}

.cookie-consent-button.btn-outline {
    background-color: #e6f4ea;
    color: #34a853;
}

.cookie-consent-button.btn-config{
    background-color: white;
    color: black;
    border-style: solid;
    border-color: black;
}

.cookie-consent-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-top: 20px;
    row-gap: 20px;
}

.cookie-consent-options label {
    margin: 0 10px;
    font-size: 14px;
}

.cookie-consent-options input {
    margin-right: 5px;
}

.terms{
height: 80vh;
top: 20px;
position: fixed;
width: 90%;
padding: 10px;
overflow-y: scroll;
background-color: white;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: black;
}

.button-area{
    position: fixed;
    bottom: 20px;
}

.mainterms{
    background-attachment: fixed;
    background-image: linear-gradient(157deg, #66a7ff, #b76dc9);
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:600px) {
    main{
        grid-template-areas:
        'intro img'
        'qr qr';
        overflow: hidden;
        row-gap: 20px;
        padding: 20px;
    }


    .img{
        grid-area: img;
        position: static;
        opacity: 0.6;
        transform: translate(-270px, 0px);
        max-width: inherit;
        max-height: 100vh;
    }
}
