body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: #000;
    color: #fff;
}
main {
    width: 100%;
    max-width: 100em;
    margin: auto;
    padding: 3rem;
    background-color: #090a16;
    background-image: url('../../img/catch2match/top.jpg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}
* {
    box-sizing: border-box;
    margin: 0;
}
header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    aspect-ratio: 5/3 ;
    max-width: 60em;
    margin: auto;
}
section{
    max-width: 60em;
    margin: auto;
}
header img {
    display: block;
    width: 50%;
    max-width: 20rem;
}
nav {
    display: flex;
    gap: 1rem;
}
nav a {
    text-decoration: none;
    border-radius: 10rem;
    width: 2rem;
    aspect-ratio: 1;
    background-color: #f1c40f;
    border: 1px solid #FFF; }
nav a.en {
    background-image: url('../../img/catch2match/en.png');
    background-size: cover;
}
nav a.de {
    background-image: url('../../img/catch2match/de.png');
    background-size: cover;
}
nav a.nl {
    background-image: url('../../img/catch2match/nl.png');
    background-size: cover;
}
.bot {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.p2{
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
}
.card {
    background: #141826;
    border: 1px solid #33366e8c;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #f1c40f;
}
.card h2 {
    margin-bottom: 1rem;
    color: #f1c40f;
}
.card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #f1c40f;
    color: #000;
    text-decoration: none;
    border-radius: .25rem;
    font-weight: bold;
}
.cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.cta a {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: .25rem;
}
.phone {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.phone img {
    width: 100%;
    height: auto;
}
footer {
    text-align: center;
    padding: 2rem 0;
    color: #fff;
    font-size: 0.8rem;
}
footer a {
    color: #f1c40f;
    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: #141826;
    border: 1px solid #33366e8c;
    border-radius: 1rem;
    padding: 1.5rem;
    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;
}
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 button[type="submit"] {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: .25rem;
    border: none;
}
form button[type="submit"]:hover {
    background: #e0b30f;
}
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;
}

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