@import url('https://fonts.googleapis.com/css2?family=Changa+One:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    color: #fff;
    background-color: #04003A;
}

main {
    width: 100%;
    max-width: 100em;
    margin: auto;
    padding: 3rem;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

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

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 70em;
    margin: auto;
    padding: 0 0 2em 0;
}

section {
    max-width: 70em;
    margin: auto;
}

header img {
    display: block;
    width: 60%;
    max-width: 15rem;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    border-radius: 10rem;
    width: 1.5rem;
    aspect-ratio: 1;
    border: #301f6d 4px solid;
}

nav a.en {
    background-image: url('../../img/datefinderx/en.png');
    background-size: cover;
}

nav a.de {
    background-image: url('../../img/datefinderx/de.png');
    background-size: cover;
}

nav a.nl {
    background-image: url('../../img/datefinderx/nl.png');
    background-size: cover;
}

.btn,
.card a {
    font-size: 1.5em;
    text-align: center;
    display: inline-block;
    padding: .5em 1em;
    background-color: #ff00c1;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    border-radius: 100rem;
    border: none;
    width: auto;
    box-shadow: #600046 0 .5em 2em ;
}

.top, .bot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25em, 1fr));
    gap: 3rem;
    padding: 1em 2em 0 2em;
    background-color: #ffb8f0;
    background-image:
        radial-gradient(circle at 20% 30%, #ffffff6c, transparent 60%),
        radial-gradient(circle at 80% 70%, #ffffff9f, transparent 60%);

    border-radius: .2em;
}
.bot{
    padding: 2em;
}

.deko {
    background: url('../../img/datefinderx/top.png') no-repeat center center;
    background-size: contain;
    height: 30em;
}

.cta {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
}

.top strong {
    font-size: 1.25rem;
    font-weight: 900;
    color: #333;
}

h2 {
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    line-height: 1em;
    color: #9c1986;
    margin-bottom: .5rem;
}

p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
}


.preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    gap: 2rem;
    padding: 2em 0;
}

.card {
    background-color: #ffb1ee;
    padding: 1.5rem;
    text-align: center;
    border-radius: .2em
}

.card h2 {
    font-size: 2.5em;
}

.card a {
    font-size: 1rem;
    display: inline-block;
    margin-top: 1rem;
}

.pics-grid {
    display: grid;
    grid-template-columns: 3fr 3fr 3fr;
    gap: 1rem;
    padding: 1rem 0;
}
.pics-grid img {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: .2em;
}
.pics-grid img.pic-1{border-radius: 2em .2em .2em .2em;}
.pics-grid img.pic-3{border-radius: .2em 2em .2em .2em;}
.pics-grid img.pic-7{border-radius: .2em .2em .2em 2em;}
.pics-grid img.pic-9{border-radius: .2em .2em 2em .2em;}



footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
}
footer p {
    color: #ffb8f0;
    margin: 0;
}

footer a {
    color: #ffe6fa;
    text-decoration: none;
    display: block;
}

footer a:hover {
    text-decoration: underline;
}










.ov {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    opacity: 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #4200394e;
    backdrop-filter: blur(0.5em);
    -webkit-backdrop-filter: blur(0.5em);
    padding: 3em;
    opacity: 1;
}

.hide {
    display: none;
    opacity: 0;
}

.ov-wrapper {
    position: relative;
    background-color: #ffffff;
    color: #333;
    padding: 2rem;
    border-radius: 1em;
    text-align: center;
    max-width: 30rem;
}

form input,
form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ffffff21;
    background: #0000000f;
    border-radius: 0.25rem;
    color: #333;
}

::placeholder {
    color: #333;
    opacity: 1;
}

::-webkit-input-placeholder {
    color: #333;
    opacity: 1;
}

::-moz-placeholder {
    color: #333;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #333;
    opacity: 1;
}

:-moz-placeholder {
    color: #333;
    opacity: 1;
}

form input[type="number"] {
    max-width: 30rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

form input[type="number"]::-webkit-inner-spin-button,
form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



form option {
    background: #0000000f;
    color: #333;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #333;
}

form select {
    appearance: none;
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ffffff21;
    background: #0000000f;
    border-radius: 0.25rem;
    color: #333;
}

.x {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 2rem;
    color: #333;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }

    main {
        padding: 2em;
    }

    .top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1em 1em 0;
    }

    .bot {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0em 1em 2em;
    }

    h2 {
        font-size: 3rem;
    }

    p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }








    .ov {
        padding: 1em;
    }

    .ov-wrapper {
        padding: 1em;
    }

    nav {
        gap: 0.5rem;
    }

    header img {
        width: 80%;
        max-width: 12rem;
    }
}


.register_container {
    margin: 0 auto;
    max-width: 75%
}

.register_container > input {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}

.register_container label input {
    width: auto;
}

.register_container > button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}
