body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    color: #fff;
    background-color: #1a001f;
    background-image:
        radial-gradient(circle at 20% 30%, hsla(288, 77%, 18%, 0.517), transparent 60%),
        radial-gradient(circle at 80% 70%, hsla(231, 88%, 32%, 0.334), transparent 60%),
        radial-gradient(circle at 50% 50%, hsla(317, 100%, 51%, 0.463), transparent 70%),
        radial-gradient(circle at 30% 80%, hsla(218, 100%, 50%, 0.463), transparent 70%);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;utf8,<svg width='200' height='200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5' /></svg>");
    background-repeat: repeat;
    background-size: 200px 200px;
    filter:brightness(0);
}


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;
}

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

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

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

nav a {
    text-decoration: none;
    border-radius: 10rem;
    width: 1.5rem;
    aspect-ratio: 1;
    box-shadow: 0 1px 1px rgb(0, 0, 0), inset 1px 1px 0  rgba(255, 255, 255, 0.474);

}

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

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

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

.btn, .card a {
    font-size: 1.5em;
    text-align: center;
    display: inline-block;
    padding: .5em 1em;
    background-color: #ff9671;
    color: #460952;
    font-weight: bold;
    text-decoration: none;
    border-radius: .25rem;
    border: none;
    width: auto;
    box-shadow: 0 1px 1px rgb(0, 0, 0), inset 1px 1px 0  rgba(255, 255, 255, 0.474);
    text-shadow:  1px 1px 0  rgba(255, 255, 255, 0.413);

}

.top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25em, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

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

.top strong {
    font-size: 1rem;
    color: #e19fff;
}

.top h2 {
    font-size: 4rem;
    line-height: 1em;
    color: #ff9671;
    text-shadow:  -1px -1px 1px #ffb69b,  1px 1px 1px  rgba(0, 0, 0, 0.51);
    margin-bottom: 1rem;
}

.top p {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.pics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
}

.pics-grid div {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    box-shadow: 0 1px 1px rgb(0, 0, 0), inset 1px 1px 0  rgba(255, 255, 255, 0.474);
    background-size: cover;}

.pic-1 {
    background: #ff6f61 url(../../img/catchtomatch/1.png) no-repeat center center;
    border-radius: .3em 3em 3em 3em;
}
.pic-2 {
    background: #6ec6ff url(../../img/catchtomatch/2.png) no-repeat center center;
    border-radius: 3em .3em 3em 3em;
}
.pic-3 {
    background: #ffd166 url(../../img/catchtomatch/3.png) no-repeat center center;
    border-radius: 3em 3em .3em 3em;
}
.pic-4 {
    background: #43e97b url(../../img/catchtomatch/4.png) no-repeat center center;
    border-radius: 3em 3em 3em .3em;
}
.pic-5 {
    background: #f6416c url(../../img/catchtomatch/5.png) no-repeat center center;
    border-radius: .3em .3em 3em 3em;
}
.pic-6 {
    background: #43c6ac url(../../img/catchtomatch/6.png) no-repeat center center;
    border-radius: 3em .3em .3em 3em;
}
.pic-7 {
    background: #f9ea8f url(../../img/catchtomatch/7.png) no-repeat center center;
    border-radius: 3em 3em .3em .3em;
}
.pic-8 {
    background: #845ec2 url(../../img/catchtomatch/8.png) no-repeat center center;
    border-radius: .3em 3em 3em .3em;
}
.pic-9 {
    background: #ff9671 url(../../img/catchtomatch/9.png) no-repeat center center;
    border-radius: 3em .3em 3em .3em;
}
.pic-10 {
    background: #ff6f61 url(../../img/catchtomatch/10.png) no-repeat center center;
    border-radius: .3em 3em 3em 3em;
}
.pic-11 {
    background: #6ec6ff url(../../img/catchtomatch/11.png) no-repeat center center;
    border-radius: 3em .3em 3em 3em;
}
.pic-12 {
    background: #ffd166 url(../../img/catchtomatch/12.png) no-repeat center center;
    border-radius: 3em 3em .3em 3em;
}
.pic-13 {
    background: #43e97b url(../../img/catchtomatch/13.png) no-repeat center center;
    border-radius: 3em 3em 3em .3em;
}
.pic-14 {
    background: #f6416c url(../../img/catchtomatch/14.png) no-repeat center center;
    border-radius: .3em .3em 3em 3em;
}
.pic-15 {
    background: #43c6ac url(../../img/catchtomatch/15.png) no-repeat center center;
    border-radius: 3em .3em .3em 3em;
}
.pic-16 {
    background: #f9ea8f url(../../img/catchtomatch/16.png) no-repeat center center;
    border-radius: 3em 3em .3em .3em;
}
.pic-17 {
    background: #845ec2 url(../../img/catchtomatch/17.png) no-repeat center center;
    border-radius: .3em 3em 3em .3em;
}
.pic-18 {
    background: #ff9671 url(../../img/catchtomatch/18.png) no-repeat center center;
    border-radius: 3em .3em 3em .3em;
}
.preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 3em;
    box-shadow: 0 1px 1px rgb(0, 0, 0), inset 1px 1px 0  rgba(255, 255, 255, 0.474);
    background-color: #1a001f;
    background-image:
        radial-gradient(circle at 20% 30%, hsla(334, 84%, 42%, 0.908), transparent 60%),
        radial-gradient(circle at 80% 70%, hsla(269, 100%, 50%, 0.635), transparent 60%),
        radial-gradient(circle at 50% 50%, hsla(313, 100%, 34%, 0.811), transparent 70%),
        radial-gradient(circle at 30% 80%, hsla(226, 100%, 50%, 0.719), transparent 70%);
    background-position: center;
    background-repeat: no-repeat;
}
.card {
    background: #16033c71;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.206), inset 1px 1px 0  rgba(0, 0, 0, 0.163);
}
.card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}
.card a {
    font-size: 1rem;
    display: inline-block;
    margin-top: 1rem;
    color: #220d30;
}

.top img {
    width: 100%;
    height: auto;
}
footer {
    text-align: center;
    padding: 2rem 0;
    color: #fff;
    font-size: 0.8rem;
}
footer a {
    color: #ff9671;
    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: rgba(0, 0, 0, 0.7);
    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: #1a001f;
    background-image:
        radial-gradient(circle at 20% 30%, hsla(334, 84%, 42%, 0.908), transparent 60%),
        radial-gradient(circle at 80% 70%, hsla(269, 100%, 50%, 0.635), transparent 60%),
        radial-gradient(circle at 50% 50%, hsla(313, 100%, 34%, 0.811), transparent 70%),
        radial-gradient(circle at 30% 80%, hsla(226, 100%, 50%, 0.719), transparent 70%);
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 3em;
    text-align: center;
    box-shadow: #000 0 0 5em;
    max-width: 30rem;
}

form input,
form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ffffff21;
    background: #ffffff0a;
    border-radius: 0.25rem;
    color: #fff;
}
::placeholder {
    color: #fff;
    opacity: 1;
}
::-webkit-input-placeholder {
    color: #fff;
    opacity: 1;
}
::-moz-placeholder {
    color: #fff;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #fff;
    opacity: 1;
}
:-moz-placeholder {
    color: #fff;
    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: #1f1f1f;
    color: #fff;
    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: #ffffff0a;
    border-radius: 0.25rem;
    color: #fff;
}

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

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

    main {
        padding: 1rem;
    }

    header,
    section {
        max-width: 100%;
        padding: 0 ;
    }

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

    .top h2 {
        font-size: 2.2rem;
    }

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

    .pics-grid {

        gap: 0.5rem;
    }

    .preferences {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        border-radius: 1.5em;
    }

    .card {
        padding: 1rem;
        border-radius: 1em;
    }

    .ov {
        padding: 1em;
    }

    .ov-wrapper {
        padding: 1em;
        border-radius: 1.5em;
        max-width: 95vw;
    }

    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;
}
