/* 
Theme Name: Mees and Sarah
Description: Theme for wedding website and rsvp
Version: 1
Text Domain: meesandsarah
*/

@font-face {
    font-family: 'Instrument Serif';
    src: url('./assets/fonts/InstrumentSerif-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Serif Italic';
    src: url('./assets/fonts/InstrumentSerif-Italic.ttf') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.lang-switch {
    position: fixed;
    bottom: 2em;
    left: 2em;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    z-index: 999;
    -webkit-box-shadow: 0px 0px 36px 4px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 36px 4px rgba(0, 0, 0, 0.15);
}

.lang-switch a {
    display: none;
}

.lang-switch .current {
    display: block;
}

.lang-switch img {
    border-radius: 12px;
}

@media screen and (max-width: 600px) {
    .lang-switch {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 50px;
        padding: 6px;
        border-radius: 0px 12px 0px 0px;
        box-sizing: content-box;
        background-color: #ffffff;
    }

}

svg path {
    fill: none;
    stroke: #4a3e3e;
    stroke-width: 2;
}

:root {
    --pink: #e4c9b8;
    --light-pink: #f3e7e7;
    --red: #722829;
    --text-color: #4a3e3e;
}

a {
    color: var(--red);
    text-decoration: underline;
}

a:visited {
    color: var(--red);
}

.button,
a.button {
    padding: 8px 22px;
    color: var(--text-color);
    background-color: var(--light-pink);
    text-decoration: none;
    border-radius: 9px;
    border: 1px solid var(--light-pink);
    cursor: pointer;
}

.button:hover,
a.button:hover {
    color: #ffffff;
    background-color: var(--red);
    transition: all 0.3s;
    border: 1px solid #ffffff;
}

.button.red {
    background-color: var(--red);
    color: #ffffff;
}

.button.red:hover {
    background-color: var(--light-pink);
    color: var(--text-color);
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: var(--text-color);
    font-family: "Instrument Serif", serif;
    font-size: 20px;
}

h1,
h2 {
    font-size: 40px;
}

h3,
h4 {
    font-size: 22px;
}

.hidden {
    display: none;
}

th {
    text-align: left;
}

@media screen and (max-width: 600px) {

    h1,
    h2 {
        font-size: 30px;
    }
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--pink);
    padding: 60px 20px;
}

.header ul {
    display: flex;
    list-style-type: none;
    gap: 10px;
    padding: 0px;
}

.header .logo {
    margin-bottom: 20px;
}

.header .the-date {
    font-size: 22px;
}

.header a {
    color: var(--text-color);
    text-decoration: none;
}

.header a:hover,
.header a.active {
    position: relative;
    color: var(--red);
}

.header a.active:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 1px;
    bottom: -5px;
    border-bottom: 2px solid var(--red);
}

.footer {
    min-height: 250px;
    background-color: var(--pink);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 10px 0px;
}

.hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

input,
textarea {
    font-size: 18px;
}

input::placeholder,
textarea::placeholder {
    color: #4a3e3e80;
}

.mob-hide {
    display: grid;
}

.mob-show {
    display: none;
}

@media screen and (max-width: 600px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .mob-hide {
        display: none;
    }

    .mob-show {
        display: block;
    }
}

.welcome-columns {
    margin: 0 auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 60px 20px;
    gap: 100px;
}

.welcome-columns div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.welcome-columns div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-columns p {
    margin: 0;
    margin-bottom: 16px;
}

.welcome-columns p:last-of-type {
    margin-bottom: 32px;
}

.welcome-columns h1,
.welcome-columns h2,
.welcome-columns h3,
.welcome-columns h4 {
    margin-bottom: 30px;
}

@media screen and (max-width: 600px) {
    .welcome-columns {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.radio-container {
    display: flex;
}

@media screen and (max-width: 600px) {
    .radio-container {
        flex-direction: column;
    }
}