:root{
    --bg-color: #0b0833;
    --pink-color: #fc6898;
    --yellow-color: #feda60;
    --blue-color: #5ac0f3;
    --font: "Open Sans", sans-serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: var(--font);
    overflow-x: hidden;
}

header{
    background-color: var(--bg-color);
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

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

header img{
    height: 70px;
    margin-left: 20px;
}

header input, header label{
    display: none;
}

header ul{
    display: flex;
    list-style: none;
    gap: 25px;
    margin-right: 20px;
}

header ul li a{
    position: relative;

    text-decoration: none;
    color: white;

    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: color 0.3s ease;
}

header ul li a::after{
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0%;
    height: 3px;

    background-color: var(--pink-color);

    border-radius: 10px;

    transition: width 0.3s ease;
}

header ul li a:hover{
    color: var(--pink-color);
}

header ul li a:hover::after{
    width: 100%;
}

#register::after{
    display: none;
}

#register{
    padding: 10px 20px;
    background-color: var(--pink-color);
    border-radius: 10px;
    text-decoration: none;
}

#register:hover{
    color: white;
    border: 2px solid white;
    padding: 8px 18px;
}

.behindheader{
    height: 70px;
}

footer{
    width: 100%;
    background-color: var(--bg-color);
    color: white;
}

.footer-container{
    width: 100%;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3{
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--yellow-color);
}

.footer-logo img{
    height: 90px;
    margin-bottom: 15px;
}

.footer-logo p{
    line-height: 28px;
    color: #d7d7d7;
    margin-bottom: 20px;
}

.social-icons{
    display: flex;
    gap: 15px;
}

.social-icons a{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);

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

    color: white;
    font-size: 20px;
    text-decoration: none;

    transition: 0.3s ease;
}

.social-icons a:hover{
    background-color: var(--pink-color);
    transform: translateY(-3px);
}

.footer-links{
    list-style: none;
}

.footer-links li{
    margin-bottom: 15px;
}

.footer-links li a{
    color: #d7d7d7;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links li a:hover{
    color: var(--pink-color);
    padding-left: 5px;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info p{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d7d7d7;
    line-height: 26px;
}

.contact-info a{
    text-decoration: none;
    color: #d7d7d7;
    transition: 0.3s ease;
}

.contact-info a:hover{
    color: var(--pink-color);
    padding-left: 5px;
}

.contact-info i{
    color: var(--pink-color);
    font-size: 18px;
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    color: #bdbdbd;
    font-size: 14px;
}

.register-page{
    width: 100%;
    padding: 20px 20px 40px 20px;

    background-color: #f8f8f8;
}

.register-title{
    text-align: center;

    max-width: 800px;
    margin: auto auto 40px;
}

.register-title span{
    color: var(--pink-color);
    font-size: 52px;

    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-title p{
    color: #555;

    line-height: 32px;
    font-size: 18px;
}


.register-form{
    max-width: 1100px;

    margin: auto;
    padding: 40px;

    background-color: white;

    border-radius: 30px;

    box-shadow: 0 0 25px rgba(0,0,0,0.08);
}

.regtext{
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

.star{
    color: var(--pink-color);
    font-weight: 700;
    font-style: normal;
}


.form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group{
    display: flex;
    flex-direction: column;
}

.full-width{
    grid-column: 1 / -1;
}

.form-group label{
    margin-bottom: 10px;

    font-weight: 700;
    color: var(--bg-color);
}

.form-group input,
.form-group select{
    width: 100%;

    padding: 16px 18px;

    border: 2px solid #e2e2e2;
    border-radius: 14px;

    font-size: 16px;
    font-family: var(--font);

    transition: 0.3s ease;

    outline: none;
}

label.required::after {
    content: " *";
    color: var(--pink-color);
    font-weight: bold;
}

.form-group textarea{
    padding: 5px;
    width: 100%;
    border: 2px solid #e2e2e2;
    border-radius: 14px;
    font-size: 16px;
    font-family: var(--font);
    transition: 0.3s ease;

    outline: none;
}

.radio-group{
    display: flex;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.radio-option{
    display: flex;
    align-items: center;
    gap: 10px;

    background-color: white;

    padding: 14px 18px;

    border-radius: 12px;

    box-shadow: 0 0 12px rgba(0,0,0,0.06);

    cursor: pointer;

    transition: 0.3s ease;
}

.radio-option:hover{
    transform: translateY(-2px);
}

.radio-option input[type="radio"]{
    width: 18px;
    height: 18px;

    accent-color: var(--pink-color);

    cursor: pointer;
}

.radio-option span{
    font-weight: 600;
    color: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color: var(--pink-color);

    box-shadow:
        0 0 0 4px rgba(252,104,152,0.15);
}

.register-form button{
    margin-top: 35px;

    padding: 15px 60px;

    background-color: var(--pink-color);
    color: white;

    border: none;
    border-radius: 14px;

    font-size: 24px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

.reg{
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-form button:hover{
    background-color: var(--bg-color);
}

button[type="submit"]:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: white;
    padding: 50px 40px;
    
    /* Matches the parent registration form curves and shadows */
    border-radius: 30px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    
    text-align: center;
    max-width: 480px;
    width: 90%;
    
    /* Subtle pop-up entry transition */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(252, 104, 152, 0.1);
    color: var(--pink-color);
    
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.modal-card h2 {
    font-size: 28px;
    font-family: var(--font);
    color: var(--bg-color);
    font-weight: 700;
    margin: 0 0 15px 0;
}

.modal-card p {
    color: #555;
    font-size: 16px;
    font-family: var(--font);
    line-height: 26px;
    margin: 0 0 35px 0;
}

.modal-btn {
    width: 100%;
    padding: 15px 30px;
    
    background-color: var(--pink-color);
    color: white;
    
    border: none;
    border-radius: 14px;
    
    font-size: 18px;
    font-family: var(--font);
    font-weight: 700;
    
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
}

.modal-btn:hover {
    background-color: var(--bg-color);
}

.modal-btn:focus {
    box-shadow: 0 0 0 4px rgba(252, 104, 152, 0.25);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    color: white;
    font-weight: 700;
    gap: 15px;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: #fc6898;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

    body{
        overflow-x: hidden;
    }

    .aboveheader{
        display: none;
    }

    header{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        z-index: 9999;
    }

    .logolink{
        z-index: 1001;
    }

    header img{
        height: 70px;
    }

    header input{
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .menu-btn{
        width: 35px;
        height: 35px;
        margin-right: 20px;

        position: relative;

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

        cursor: pointer;
        z-index: 10001;
    }


    .menu-btn span{
        position: absolute;

        width: 35px;
        height: 4px;

        background-color: white;
        border-radius: 10px;

        transition: 0.3s ease;
    }

    .menu-btn span:nth-child(1){
        transform: translateY(-10px);
    }

    .menu-btn span:nth-child(2){
        transform: translateY(0);
    }

    .menu-btn span:nth-child(3){
        transform: translateY(10px);
    }

    #open-menu:checked + ul + .menu-overlay,
    #open-menu:checked ~ ul{
        left: 0;
        }

        #open-menu:checked ~ .menu-btn span:nth-child(1){
        transform: rotate(45deg);
    }

    #open-menu:checked ~ .menu-btn span:nth-child(2){
        opacity: 0;
    }

    #open-menu:checked ~ .menu-btn span:nth-child(3){
        transform: rotate(-45deg);
    }

    header ul{
        position: fixed;
        top: 0;
        left: 100%;

        width: 100%;
        height: 100dvh;

        padding-top: 70px;

        background-color: var(--bg-color);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;

        transition: left 0.4s ease;
        z-index: 1000;
    }

    #open-menu:checked ~ ul{
        left: 0;
    }

    header ul li{
        list-style: none;
    }

    header ul li a{
        font-size: 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-container{
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 50px;
        text-align: center;
    }

    .social-icons{
        justify-content: center;
    }

    .contact-info p{
        justify-content: center;
    }

    .footer-logo img{
        margin: 0 auto 15px;
        display: block;
    }

    .register-page{
        padding: 20px;
    }

    .register-title{
        margin: auto auto 20px;
    }

    .register-title span{
        font-size: 44px;
    }

    .register-title p{
        font-size: 16px;
        line-height: 28px;
    }

    .register-form{
        padding: 25px;
    }

    .form-grid{
        grid-template-columns: 1fr;
    }

    .register-form button{
        width: 100%;
    }
}