@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');

html,
body {
    background: #1A120B;
    box-sizing: border-box;
    color: #ECDBC6;
    font-family: "Imperial Script", cursive;
    overflow: hidden scroll;
}

body {
    overflow: hidden;
}

.dancing {
    font-optical-sizing: auto;
    font-size: 2.4rem;
    text-align: center;
}

h1.dancing {
    font-size: 3rem;
}

.spacer {
    height: 40px;
    width: 40px;
}

.background {
    position: relative;
}

.background img {
    object-fit: contain;
    overflow: hidden;
    position: absolute;
    width: min(25%, 200px);
    z-index: 5;
}

.background img:nth-child(1) {
    left: 0;
    top: 0;
    transform: translate(-20%, 0);
}

.background img:nth-child(2) {
    right: 0;
    top: 0;
    transform: translate(40%, -40%);
}

.background img:nth-child(3) {
    right: 0;
    top: 700px;
    transform: translate(30%, 0) scale(-1, 1);
}

.background img:nth-child(4) {
    left: 0;
    top: 1200px;
    transform: translate(-50%, 0) scale(-1, -1) rotate(15deg);
}

.background img:nth-child(5) {
    right: 0;
    top: 1600px;
}

.background img:nth-child(6) {
    left: 0;
    opacity: .6;
    top: 2200px;
    transform: translate(-40%, 0) rotate(15deg);
}

.background img:nth-child(7) {
    left: 0;
    top: 2700px;
    transform: translate(-20%, 0) rotate(210deg);
}

.background img:last-child {
    right: 0;
    top: 3000px;
}

.main {
    margin: auto;
    overflow-x: hidden;
    padding-top: 80px;
    width: min(90%, 800px);
}

.map {
    aspect-ratio: 1.5;
    margin: auto;
    position: relative;
    text-align: center;
    width: min(90%, 800px);
    z-index: 10;
}

.contact {
    background: #ECDBC6;
    border-radius: 20px;
    box-sizing: border-box;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px auto;
    padding: 1vh 5vw;
    position: relative;
    text-align: center;
    width: min(90%, 800px);
    z-index: 10;
}

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

.contact input {
    border-radius: 20px;
    font-size: 18px;
    outline: none;
    padding: 1vh;
}

.contact a {
    border-bottom: 1px solid #1A120B;
    color: #1A120B;
    text-decoration: none;
}

.signature {
    margin: auto;
    padding: 40px 0;
    position: relative;
    width: min(90%, 800px);
    z-index: 10;
}

.signature img {
    width: min(100%, 400px);
}

input[type="text"] {
    background: #ffffffa0;
    border: 2px solid #80808080;
    padding: 1vh 20px;
    margin-bottom: 8px;
}

input[type="submit"] {
    background: black;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 12px;
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label acts as the visible radio button */
.radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
    font-size: 18px;
    padding: 4px;
    padding-left: 20px;
    transition-duration: .2s;
    transition-timing-function: ease;
}

.radio-label:hover {
    color: #1A120B;
}

.radio-custom {
    width: 12px;
    height: 12px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 20px;
    display: inline-block;
    position: relative;
    transition: border-color 0.3s ease;
}

.radio-custom::after {
    content: "";
    width: 8px;
    height: 8px;
    background: #1A120B;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

input[type="radio"]:checked+.radio-custom {
    border-color: #1A120B;
}

input[type="radio"]:checked+.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label:hover .radio-custom {
    border-color: #1A120B;
}

@media screen and (max-width: 600px) {
    div.dancing {
        font-size: 30px;
    }

    h1.dancing {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.2em;
    }
}