.text, h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    padding: 0px 400px;
    text-align: center;
}

h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
}

#main-title {
    margin-top: 50px;
}

.main-logo {
    padding: 100px;
    width: 40%;
    margin: 0 auto;
    display: block;
}

.sign-in {
    padding: 0px 200px;
}

.center {
    display: block;
    margin: 0 auto;
}

.space-bottom {
    margin-bottom: 50px;
}

.space-top-s {
    padding-top: 30px;
}

.space-top-m {
    padding-top: 60px;
}

.error-message {
    color: red;
    font-size: 24px;
    font-weight: bold;
}

.success-message {
    color: green;
    font-size: 24px;
    font-weight: bold;
}

.language-display {
    display: none;
}

.language-box {
    display: flex;
    justify-content: center;
}

.language-box a {
    background: #000;
    font-size: 24px;
    font-family: 'Roboto Slab', serif;
    color: #FFF;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0px 15px;
}

.sharelink {
    color: #F9BD1D;
    text-decoration: underline;
}

.send-button {
    background: grey;
    font-size: 24px;
    font-family: 'Roboto Slab', serif;
    color: #FFF;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0px 15px 0px 0px;
    border: none;
}

.no-style {
    border: none;
    background: none;
}



#agb-box{
    display: none;
}


/*AGB*/
#agb-close {
    position: fixed;
    right: 30%;
    background: #000;
    color: #FFF;
    font-weight: bold;
    font-size: 20px;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.h2-agb {
    font-size: 30px;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.h3-agb {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.agb-text p {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    padding-right: 30px;
}

/*Checkbox*/
.space-top {
    margin-top: 30px !important;
}


@media only screen and (max-width: 1600px) {  

    .text {
        padding: 0px 200px;
    }

}

@media only screen and (max-width: 1000px) {  

    .text {
        padding: 0px 100px;
        font-size: 20px;
    }

}

@media only screen and (max-width: 992px) {  

    #agb-close {
        right: 6%;
    }

}

/*Success Modal*/
#success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

#success-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #28a745;
    margin: 0 auto 20px;
    position: relative;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 50px;
    border: solid white;
    border-width: 0 6px 6px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: checkmark 0.5s ease-out 0.3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes checkmark {
    to {
        opacity: 1;
    }
}

#success-modal h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
}

#success-modal-close {
    background: #000;
    color: #FFF;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 12px 40px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

#success-modal-close:hover {
    background: #333;
}

@media only screen and (max-width: 768px) {
    .sign-in {
        padding: 0px 50px;
    }
    .main-logo {
        padding: 30px 0px;
        width: 75%;
    }

    .error-message, .success-message {
        font-size: 17px;
        padding: 0px 15px;
    }
    #confirm {
        font-size: 2.5em;
    }

    .text {
        padding: 0px 15px;
        font-size: 18px;
    }

    .language-box a,
    .send-button {
        font-size: 18px;
    }

    .language-box {
        display: block;
        text-align: center;
    }

    .language-box a {
        line-height: 3;
    }

    .h2-agb {
        font-size: 24px;
    }

    .h3-agb {
        font-size: 20px;
    }

    .agb-text p {
        font-size: 16px;
    }

    #agb-close {
        right: 1%;
    }

    #success-modal-content {
        width: 85%;
        padding: 30px 20px;
    }

    #success-modal h2 {
        font-size: 22px;
    }

    .checkmark-circle {
        width: 60px;
        height: 60px;
    }

    .checkmark {
        width: 20px;
        height: 40px;
        border-width: 0 5px 5px 0;
    }
}