@font-face {
    /* font-family: "Coldiac";
    src: url("./../fonts/Coldiac.ttf"); */

    font-family: "Safira";
    src: url(./../fonts/safira_march/Safira\ March\ Personal\ Use\ Only.ttf);
}

:root {
    --bg-color-primary: rgba(238, 234, 225, 1);
    --bg-color-secondary: rgba(188, 184, 147, 1);

    --font-color-primary: rgba(114, 102, 82, 1);
    --font-color-secondary: rgba(38, 34, 25, 1);
    --font-color-tertiary: rgba(85, 76, 61, 1);
    --font-color-white: rgba(234, 230, 219, 1);

    --cd-bg-primary: rgba(165, 114, 100, 1);

    --colorpalette-1: rgba(101, 109, 82, 1);
    --colorpalette-2: rgba(145, 124, 82, 1);
    --colorpalette-3: rgba(211, 215, 208, 1);
    --colorpalette-4: rgba(222, 167, 140, 1);
    --colorpalette-5: rgba(71, 44, 24, 1);
    --colorpalette-6: rgba(66, 18, 28, 1);
    --colorpalette-7: rgba(34, 40, 27, 1);
}

* {
    font-family: Safira;
}

/* <600px, 601px, 768px, 992px, 1200px */

body {
    background-color: var(--bg-color-secondary);
}

header.page-one {
    height: 100vh;
    background-color: var(--bg-color-primary);

    display: grid;
    justify-content: center;
    align-content: center;
}

header.page-one .content {
    height: 88vh;
    width: 75vw;
    /* background-image: url(./../img/landing-4.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    /* remove after finding a suitable bg image */
    background-color: var(--bg-color-secondary);

    display: grid;
    justify-items: center;

}

header.page-one .content>* {
    /* border: 1px solid yellow; */
    text-align: center;
}

header.page-one .content>header {
    font-size: 32px;
    display: grid;

    & .std {
        align-self: end;
        color: var(--font-color-primary);
    }

    & .names {
        align-self: start;
        color: var(--font-color-secondary);
        font-weight: bold;
    }
}

header.page-one .content>.line {
    padding-top: 20px;
    padding-bottom: 20px;
    height: 100%;
    align-self: center;
    border: 2px solid var(--font-color-secondary);
}

header.page-one .content>.date {
    font-size: 84px;
    font-weight: bold;

    display: grid;

    padding: 20px;
    margin-bottom: -10px;
    margin-top: 10px;

    & * {
        /* border: 1px solid orange; */
        align-self: center;
        line-height: 38px;
    }

    & .month {
        color: var(--font-color-primary);
        z-index: 666;
    }
}

header.page-one .content>.location {
    font-size: 32px;
    display: grid;

    & .city {
        align-self: end;
        color: var(--font-color-primary);
    }

    & .country {
        align-self: start;
        color: var(--font-color-secondary);
        font-weight: bold;
    }
}

.cd-container {
    height: 100vh;
    background-color: var(--bg-color-secondary);

    text-align: center;
    align-items: center;

    display: grid;
}

.cd-container>.invite {
    font-size: 36px;
    color: var(--font-color-secondary);

    line-height: 26px;
    padding: 0 20px 0 20px;
}

.cd-container>.cd-text {
    color: var(--font-color-white);
    font-weight: bold;
    font-size: 18px;
    padding: 0 20px 0 20px;
}

.cd-container>.cd {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

}

.cd-container>.cd>* {
    background-color: var(--cd-bg-primary);

    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;

    justify-self: center;
    width: 100px;
    height: 100px;
    border-radius: 50px;

    font-size: 24px;

    color: var(--font-color-white);
    font-weight: bold;

    & span.one {
        align-self: end;
    }

    & span.two {
        align-self: start;
    }
}

.cd-container>footer {
    font-size: 36px;
    color: var(--font-color-secondary);
}

.ceremony-container {
    height: 100vh;
    background-color: var(--bg-color-primary);
    text-align: center;

    display: grid;
    align-items: stretch;
}

.ceremony-container>header {
    display: grid;
    grid-template-rows: 1fr 1fr;

}

.ceremony-container>header>.logo {
    background-image: url(./../img/ceremony-logo2.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.ceremony-container>header>.title {
    align-self: center;
    font-weight: bold;
    font-size: 36px;
    color: var(--font-color-secondary);
}

.ceremony-container>.location {
    display: grid;
    align-items: center;
    align-content: space-evenly;
}

.ceremony-container>.location>.place {

    align-self: end;
}

.ceremony-container>.location>.date-container {
    display: grid;
    grid-template-columns: 4fr 1fr 4fr;
    align-items: center;
    justify-content: center;
}

.ceremony-container>.location>.date-container>.date {
    width: 120px;

    justify-self: end;
    font-size: 28px;
    font-weight: bold;

    display: grid;

    padding: 20px;
    margin-bottom: -10px;
    margin-top: 10px;

    & * {
        /* border: 1px solid orange; */
        align-self: center;
        line-height: 20px;
    }

    & .month {
        color: var(--font-color-primary);
        z-index: 666;
    }
}

.ceremony-container>.location>.date-container>.time {
    width: 120px;
    font-size: 28px;
    font-weight: bold;
    justify-self: start;
}

.ceremony-container>.location>.date-container>.separator {
    height: 90%;
    width: 2px;
    border: 1px solid var(--font-color-secondary);
    justify-self: center;
    align-self: center;
}

.ceremony-container>.location>.place,
.ceremony-container>footer {
    font-size: 18px;
    padding: 0 24px 0 24px;
    align-self: center;
}

.picture {
    height: 100vh;
}

.picture-one {
    background-image: url(./../img/fullscreen-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right 70%;
}

.party {
    height: 100vh;
    background-color: var(--bg-color-secondary);
    text-align: center;

    display: grid;
    align-items: stretch;
}

.party>header {
    align-self: center;
    font-weight: bold;
    font-size: 36px;
    color: var(--font-color-secondary);

    & span {
        color: var(--font-color-white);
    }
}

.party>.location {
    display: grid;
    align-items: center;
    align-content: space-evenly;
}

.party>.location>.date-container {
    display: grid;
    grid-template-columns: 4fr 1fr 4fr;
    align-items: center;
    justify-content: center;
}

.party>.location>.date-container>.date {
    width: 120px;

    justify-self: end;
    font-size: 28px;
    font-weight: bold;

    display: grid;

    padding: 20px;
    margin-bottom: -10px;
    margin-top: 10px;

    & * {
        /* border: 1px solid orange; */
        align-self: center;
        line-height: 20px;
    }

    & .month {
        color: var(--font-color-primary);
        z-index: 666;
    }
}

.party>.location>.date-container>.time {
    width: 120px;

    font-size: 28px;
    font-weight: bold;
    justify-self: start;
}

.party>.location>.date-container>.separator {
    height: 90%;
    width: 2px;
    border: 1px solid var(--font-color-secondary);
    justify-self: center;
    align-self: center;
}

.party>.location>.place {
    color: var(--font-color-white);
    font-weight: bold;
    font-size: 18px;
    padding: 0 24px 0 24px;
    align-self: center;
}

.party>footer {
    padding: 0 24px 0 24px;
}

.map-container {
    height: 100vh;
    background-color: var(--bg-color-primary);
    text-align: center;

    display: grid;
    align-items: stretch;
}

.map-container>header {
    align-self: center;
    font-size: 18px;

    & .title {
        color: var(--font-color-primary);
        font-size: 36px;
    }

    & .subtitle {
        padding: 0 24px 0 24px;
    }
}

.map-container>.map-embed {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container>.map-embed iframe {
    left: 2.5vw;
    top: 0;
    height: 100%;
    width: 95vw;
    position: absolute;

    border-radius: 10px;
}

.map-container>footer {
    padding: 0 24px 0 24px;
    font-size: 18px;
}

.dress-code-container {
    height: 100vh;
    background-color: var(--bg-color-secondary);
    text-align: center;

    display: grid;
    align-items: center;

    grid-template-rows: 2fr 1fr 2fr;
}

.dress-code-container>header {
    align-self: center;
    font-size: 18px;

    & .title {
        color: var(--font-color-primary);
        font-size: 36px;
    }

    & .subtitle {
        padding: 0 24px 0 24px;
    }
}

.dress-code-container>.swatches {
    display: grid;
    gap: 10px;

    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;

    &>.swatch-1 {
        background-color: var(--colorpalette-1);
    }
    &>.swatch-2 {
        background-color: var(--colorpalette-2);
    }
    &>.swatch-3 {
        background-color: var(--colorpalette-3);
    }
    &>.swatch-4 {
        background-color: var(--colorpalette-4);
    }
    &>.swatch-5 {
        background-color: var(--colorpalette-5);
    }
    &>.swatch-6 {
        background-color: var(--colorpalette-6);
    }
    &>.swatch-7 {
        background-color: var(--colorpalette-7);
        grid-column-start: 2;
    }
}

.dress-code-container>.swatches div {
    height: 60px;
    width: 60px;
    border-radius: 30px;
}

.dress-code-container>footer {
    padding: 0 24px 0 24px;
    font-size: 18px;
}

.music-container {
    height: 100vh;
    background-color: var(--bg-color-primary);
    text-align: center;

    display: grid;
}

.music-container>header {
    align-self: center;
    font-size: 18px;

    & .title {
        color: var(--font-color-primary);
        font-size: 36px;
    }

    & .subtitle {
        padding: 0 24px 0 24px;
    }
}

.pictures-sharing-container {
    height: 100vh;
    background-color: var(--bg-color-secondary);
    text-align: center;

    display: grid;
    align-items: center;
}

.pictures-sharing-container>header {
    align-self: center;
    font-size: 18px;

    & .title {
        color: var(--font-color-primary);
        font-size: 36px;
    }

    & .subtitle {
        padding: 0 24px 0 24px;
    }
}

.donate-container {
    min-height: 100vh;
    background-color: var(--bg-color-primary);
    text-align: center;

    display: grid;
}

.donate-container>header {
    align-self: center;
    font-size: 18px;

    & .title {
        color: var(--font-color-primary);
        font-size: 36px;
    }

    & .subtitle {
        padding: 0 24px 0 24px;
    }
}

.rsvp-container {
    min-height: 100vh;
    background-color: var(--bg-color-secondary);
    text-align: center;

    display: grid;
}
    
.rsvp-container>header {
    display: grid;
    min-height: 20vh;
}

.rsvp-container>header>.logo {
    background-image: url(./../img/logo.png);
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center;
}

.rsvp-container>header>.title {
    align-self: center;
    font-weight: bold;
    font-size: 36px;
    color: var(--font-color-primary);
}

.rsvp-container>.rsvp-form {
    display: grid;
    align-items: start;
    justify-content: center;
    gap: 24px;
}

.rsvp-container>.rsvp-form>.form-container {
    display: grid;
    gap: 32px;
    align-items: start;
    justify-content: center;

    font-size: 18px;
}

.rsvp-container>.rsvp-form fieldset {
    width: 90vw;
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 12px;
}

.rsvp-container>.rsvp-form legend {
    font-weight: bold;
    width: 100%;
    border-bottom: 1px solid var(--bg-color-primary);
}

.rsvp-container>.rsvp-form label {
    padding: 18px;
}

.rsvp-container>.rsvp-form label.label-guest {
    height: 62px;
    padding: 0px;   
}

.rsvp-container>.rsvp-form label.checkcontrol,
.rsvp-container>.rsvp-form label.radiocontrol {
    background-color: var(--bg-color-primary);
    border-radius: 31px;
}

.rsvp-container>.rsvp-form input {
    font-family: arial;
    color: var(--font-color-primary);
    display: block;
    border: none;
    width: 80vw;
    height: 32px;
    padding: 6px;
    background-color: var(--font-color-white);
}

.rsvp-container>.rsvp-form input[type="radio"], 
.rsvp-container>.rsvp-form input[type="checkbox"] {
    display: inline;
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 24px;
    height: 24px;
    transform: translateY(0.3em);
    padding: 6px;
}

input[type="checkbox"]:checked + label.checkcontrol,
input[type="radio"]:checked+label.radiocontrol {
    box-shadow: inset 0 0 10px #b6ac86;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-add-guest {
    justify-self: center;
    width: 200px;
    height: 62px;
    border: none;
    border-radius: 12px;
    background-color: var(--font-color-primary);
    color: var(--font-color-white);
    font-weight: bold;
}

.rsvp-container>.rsvp-form button[type="submit"] {
    width: 300px;
    height: 62px;
    border: none;
    border-radius: 12px;
    background-color: var(--font-color-primary);
    color: var(--font-color-white);
    font-weight: bold;
    justify-self: center;
}

svg {
    fill: var(--font-color-white);
    width: 24px;
    margin-left: 12px;
    margin-right: -12px;
    height: auto;
    float: left;
}
