@font-face {
    font-family: 'Mali';
    src: url("/fonts/Mali/Mali-Light.ttf") format('truetype');
}

@font-face {
    font-family: 'Mali-Medium';
    src: url("/fonts/Mali/Mali-Medium.ttf") format('truetype');
}

@font-face {
    font-family: "Roboto Light";
    src: url("/fonts/Roboto/Roboto-Light.ttf") format('truetype');
}

body {
    margin: 0;
    padding: 0;
    min-width: 420px;
}
.blns {
    background: #d0f1ff;
    overflow: hidden;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.blns div:first-child {
    display: none;
}

.blns div {
    top: 425px;
    left: 0;
    position: absolute;
    width: 131px;
    height: 159px;
    border-radius: 50%;
}
.blns div:before {
    content: "";
    position: absolute;
    bottom: -7px;
    right: 50%;
    width: 0;
    height: 0;
    margin-right: -10px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 13px solid #c03940;
}
.blns div:after {
    content: "";
    position: absolute;
    width: 11px;
    height: 14px;
    border-radius: 50%;
    top: 30px;
    left: 35px;
    transform: rotate(45deg);
}
.blns div[class^="bln-1"] {
    width: 102px;
    height: 121px;
    background-image: url("/img/me01.jpg");
    background-size: cover;
    transform: rotate(20deg);
}
.blns div[class^="bln-1"]:before {
    border-bottom-color: #3d954b;
}
.blns div[class^="bln-2"] {
    width: 122px;
    height: 141px;
    background-image: url("/img/me02.jpg");
    background-size: cover;
    transform: rotate(-20deg);
}
.blns div[class^="bln-2"]:before {
    border-bottom-color: #0075bc;
}
.blns div[class^="bln-3"] {
    width: 142px;
    height: 161px;
    background-image: url("/img/me03.jpg");
    background-size: cover;
}
.blns div[class^="bln-3"]:before {
    border-bottom-color: #c03940;
}
.blns div[class^="bln-4"] {
    width: 162px;
    height: 181px;
    background-image: url("/img/me04.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-4"]:before {
    border-bottom-color: #a3509d;
}
.blns div[class^="bln-5"] {
    width: 182px;
    height: 201px;
    background-image: url("/img/me05.jpg");
    background-size: cover;
    transform: rotate(7deg);
}
.blns div[class^="bln-5"]:before {
    border-bottom-color: #f8b13d;
}

.blns div[class^="bln-6"] {
    width: 202px;
    height: 221px;
    background-image: url("/img/me06.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-6"]:before {
    border-bottom-color: #a3509d;
}

.blns div[class^="bln-7"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me07.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-7"]:before {
    border-bottom-color: #41e81b;
}

.blns div[class^="bln-8"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me08.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-8"]:before {
    border-bottom-color: #eda00f;
}

.blns div[class^="bln-9"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me09.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-9"]:before {
    border-bottom-color: #828af1;
}

.blns div[class^="bln-10"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me10.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-10"]:before {
    border-bottom-color: #ee00ff;
}

.blns div[class^="bln-11"] {
    width: 102px;
    height: 121px;
    background-image: url("/img/me11.jpg");
    background-size: cover;
    transform: rotate(20deg);
}
.blns div[class^="bln-11"]:before {
    border-bottom-color: #3d954b;
}
.blns div[class^="bln-12"] {
    width: 122px;
    height: 141px;
    background-image: url("/img/me12.jpg");
    background-size: cover;
    transform: rotate(-20deg);
}
.blns div[class^="bln-12"]:before {
    border-bottom-color: #0075bc;
}
.blns div[class^="bln-13"] {
    width: 142px;
    height: 161px;
    background-image: url("/img/me13.jpg");
    background-size: cover;
}
.blns div[class^="bln-3"]:before {
    border-bottom1-color: #c03940;
}
.blns div[class^="bln-14"] {
    width: 162px;
    height: 181px;
    background-image: url("/img/me14.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-14"]:before {
    border-bottom-color: #a3509d;
}
.blns div[class^="bln-15"] {
    width: 182px;
    height: 201px;
    background-image: url("/img/me15.jpg");
    background-size: cover;
    transform: rotate(7deg);
}
.blns div[class^="bln-15"]:before {
    border-bottom-color: #f8b13d;
}

.blns div[class^="bln-16"] {
    width: 202px;
    height: 221px;
    background-image: url("/img/me16.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-16"]:before {
    border-bottom-color: #a3509d;
}

.blns div[class^="bln-17"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me17.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-17"]:before {
    border-bottom-color: #41e81b;
}

.blns div[class^="bln-18"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me18.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-18"]:before {
    border-bottom-color: #eda00f;
}

.blns div[class^="bln-19"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me19.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-19"]:before {
    border-bottom-color: #828af1;
}

.blns div[class^="bln-20"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me20.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-20"]:before {
    border-bottom-color: #ee00ff;
}
.blns div[class^="bln-21"] {
    width: 102px;
    height: 121px;
    background-image: url("/img/me21.jpg");
    background-size: cover;
    transform: rotate(20deg);
}
.blns div[class^="bln-21"]:before {
    border-bottom-color: #3d954b;
}
.blns div[class^="bln-22"] {
    width: 122px;
    height: 141px;
    background-image: url("/img/me22.jpg");
    background-size: cover;
    transform: rotate(-20deg);
}
.blns div[class^="bln-22"]:before {
    border-bottom-color: #0075bc;
}
.blns div[class^="bln-23"] {
    width: 142px;
    height: 161px;
    background-image: url("/img/me23.jpg");
    background-size: cover;
}
.blns div[class^="bln-3"]:before {
    border-bottom2-color: #c03940;
}
.blns div[class^="bln-24"] {
    width: 162px;
    height: 181px;
    background-image: url("/img/me24.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-24"]:before {
    border-bottom-color: #a3509d;
}
.blns div[class^="bln-25"] {
    width: 182px;
    height: 201px;
    background-image: url("/img/me25.jpg");
    background-size: cover;
    transform: rotate(7deg);
}
.blns div[class^="bln-25"]:before {
    border-bottom-color: #f8b13d;
}

.blns div[class^="bln-26"] {
    width: 202px;
    height: 221px;
    background-image: url("/img/me26.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-26"]:before {
    border-bottom-color: #a3509d;
}

.blns div[class^="bln-27"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me27.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-27"]:before {
    border-bottom-color: #41e81b;
}

.blns div[class^="bln-28"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me28.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-28"]:before {
    border-bottom-color: #eda00f;
}

.blns div[class^="bln-29"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me29.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-29"]:before {
    border-bottom-color: #828af1;
}

.blns div[class^="bln-30"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me30.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-30"]:before {
    border-bottom-color: #ee00ff;
}
.blns div[class^="bln-31"] {
    width: 102px;
    height: 121px;
    background-image: url("/img/me31.jpg");
    background-size: cover;
    transform: rotate(20deg);
}
.blns div[class^="bln-31"]:before {
    border-bottom-color: #3d954b;
}
.blns div[class^="bln-32"] {
    width: 122px;
    height: 141px;
    background-image: url("/img/me32.jpg");
    background-size: cover;
    transform: rotate(-20deg);
}
.blns div[class^="bln-32"]:before {
    border-bottom-color: #0075bc;
}
.blns div[class^="bln-33"] {
    width: 142px;
    height: 161px;
    background-image: url("/img/me33.jpg");
    background-size: cover;
}
.blns div[class^="bln-3"]:before {
    border-bottom1-col3r: #c03940;
}
.blns div[class^="bln-34"] {
    width: 162px;
    height: 181px;
    background-image: url("/img/me34.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-34"]:before {
    border-bottom-color: #a3509d;
}
.blns div[class^="bln-35"] {
    width: 182px;
    height: 201px;
    background-image: url("/img/me35.jpg");
    background-size: cover;
    transform: rotate(7deg);
}
.blns div[class^="bln-35"]:before {
    border-bottom-color: #f8b13d;
}

.blns div[class^="bln-36"] {
    width: 202px;
    height: 221px;
    background-image: url("/img/me36.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-36"]:before {
    border-bottom-color: #a3509d;
}

.blns div[class^="bln-37"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me37.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-37"]:before {
    border-bottom-color: #41e81b;
}

.blns div[class^="bln-38"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me38.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-38"]:before {
    border-bottom-color: #eda00f;
}

.blns div[class^="bln-39"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me39.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-39"]:before {
    border-bottom-color: #828af1;
}

.blns div[class^="bln-40"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me40.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-40"]:before {
    border-bottom-color: #ee00ff;
}

.blns div[class^="bln-41"] {
    width: 222px;
    height: 241px;
    background-image: url("/img/me41.jpg");
    background-size: cover;
    transform: rotate(5deg);
}
.blns div[class^="bln-41"]:before {
    border-bottom-color: #ee00ff;
}

.wrapper {
    display: flex;
    min-height: 100vh;
    min-width: 100vw;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    body {
        background-color: lightblue;
    }
}

.invitation {
    z-index: 1;
    min-width: 50vw;
    max-width: 90vw;
    min-height: 50vh;
    margin: 1rem;
    background: rgba(255, 255, 255, 0.95);

    border-radius: 25px;
    box-shadow: 0 0 20px 0 #000000;

    display: flex;
    flex-flow: column;
}

@media screen and (max-width: 430px) {
    .invitation {
        max-width: 100vw;
    }
}

.invitation-svg {
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
}

.invitation-svg path {
    fill: transparent;
}

.invitation-svg textPath {
    font-size: 4.65rem;
    letter-spacing: 0.6rem;
}

.invitation-content {
    font-family: 'Mali', cursive;
    font-weight: 300;
    font-size: 1.5rem;
    margin: 0 2rem 2rem;
    display: flex;
    flex-flow: column;
    flex: 1 1 auto;
}

.content-wrapper {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
}

.invitation-content ul {
    list-style-type: none;
    padding: 0
}

.invitation-content input[type="number"] {
    text-align: right;
    width: 13rem;
}
.invitation-content input[type="text"],
.invitation-content input[type="number"] {
    border: none;
    border-bottom: 2px dashed;
    font-size: 1.7rem;
    background: transparent;
    margin-right: 0.5rem;
}

.invitation-content input[type="text"]::placeholder,
.invitation-content input[type="number"]::placeholder {
    color: #aaaaaa;
}

.invitation-content input[type="text"]:focus,
.invitation-content input[type="number"]:focus {
    border: none;
    outline: none;
    border-bottom: 2px dashed blue !important;
}

.invitation-content .time-location {
    display: grid;
    grid-template-columns: minmax(max-content, max-content) auto;
    grid-row-gap: 1rem;
    grid-column-gap: 1rem;
}

@media all and (max-width: 450px) {
    .invitation-content .time-location {
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-row-gap: 0;
    }

    .invitation-content .time-location div:nth-child(3) {
        margin-top: 1.5rem;
    }
}

.invitation-content .take-part-decision {
    display: grid;
    grid-template-columns: minmax(max-content, max-content) auto;
    grid-row-gap: 1rem;
    grid-column-gap: 1rem;
    margin-top: 2rem;
}

.invitation-content .overnight-grid {
    display: grid;
    grid-template-columns: minmax(max-content, max-content) auto;
    grid-row-gap: .5rem;
    grid-column-gap: 1rem;
}

.invitation-content .button-row {
    margin-top: 2rem;
    text-align: right;
    display: flex;
    align-items: baseline;
}

.invitation-content .button-row div {
    flex: 1 1 auto;
    text-align: left;
}

.invitation-content .button-row button {
    font-family: Mali-Medium, sans-serif;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 #000000;
    background: url("/img/present.png") no-repeat .5rem .5rem;
}

.invitation-content .button-row button:focus {
    outline: none;
    box-shadow: 0 0 20px 1px blue;
}

.invitation-content .button-row button:hover {
    background-color: rgba(239, 239, 239, 0.5);
}

.checkbox-wrapper.disabled input[type="radio"] {
    cursor: not-allowed;
}

.checkbox {
    min-width: 1.5rem;
    min-height: 1.5rem;
    border: 1px solid black;
    margin-top: 0.2rem;
}

.checkbox-wrapper.disabled .checkbox {
    border-color: #aaaaaa;
}

input[type="radio"] {
    position: absolute;
    width: 1.6rem;
    height: 1.8rem;
    margin: 0;
    opacity: 0;
}
input[type="radio"]:checked ~ .checkbox {
    background-image: url("/img/present.png");
    background-size: contain;
}


.send-form {
    text-align: center;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.headline {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headline svg {
    margin-right: 1rem;
}

.footer {
    font-size: 1rem;
    text-align: right;
    margin-top: 1.5rem;
    text-decoration: underline;
}

.footer .modal-link {
    cursor: pointer;
    color: #969696;
    margin-left: .7rem;
}

.modal {
    position: absolute;
    top: 0;
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    display: none;
}

.modal .backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.modal .modal-content {
    font-family: Mali, sans-serif;
    background: #ffffff;
    height: 50vh;
    width: 50vw;
    border-radius: 10px;
    z-index: 1;
    font-size: 1.2rem;
    position: relative;
}

.modal .modal-content h1 {
    text-align: center;
}

.modal-content .content {
    overflow-y: scroll;
    margin: 2rem;
    height: calc(50vh - 4rem);
    width: calc(100%vh - 4rem);
}

.modal .modal-content .close {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 1.5rem;
    cursor: pointer;
}

.modal .modal-content .close svg {
    height: 100%;
}
