@font-face {
    font-family: 'NewYork';
    src: url('../font/NewYork.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'SimpleMichael';
    src: url('../font/SimpleMichael.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.hiddenLarge{
    display: none;
}

body {
    font-family: 'SimpleMichael','Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
}

#rsvpPage{
    font-family: 'SimpleMichael','Arial', sans-serif;
}

#indexPage{
    font-family: 'NewYork','Arial', sans-serif;
}

/* Header Styles */
header {
    padding: 20px 0;
    font-family: 'NewYork', 'Arial', sans-serif;
    text-align: center;
    width: 100%;
    border-bottom: 10px solid white;
}

#indexPage header{
    position: absolute;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
    font-weight: bold;
}



/* Main section */

.main #logo{
    position: absolute;
    top: 80px;
    right: 20px;
    max-width: 375px;
}

.main #couple{
    width: 100%;
    height: 75vh;
    object-fit: cover;
    object-position: 50% 25%;
}

#bottomSection{
    font-size: 20px;
    height: 25vh;
    color: #b25b35;
    text-align: center;
    display: flex;
}


.date-location {
    width: 100%;
    height: 10vh;
    display: block;
    margin: 5vh 0;
}

#rsvpPage h1{
    padding: 0 50px;
}

#rsvp{
    width: 80%;
    margin: 0 10%;
}

#rsvp #section2 div, #rsvp #section3 div {
    display: block;
    margin: 20px 0;
}

#rsvp #section2 label{
    width: 49%;
}

#rsvp #section2 textarea{
    width: 75%;
    height:40px;
}

#sendRSVP{
    margin-bottom: 100px;
    font-size: 20px;
    padding: 10px;
    font-family: 'SimpleMichael', 'Arial', sans-serif;
}

#planningPage .page{
    background-image: url(../img/fond.png);
    margin-left: 6%;
    margin-right: 6%;
    margin-bottom: 2%;
    margin-top: 2%;
    padding: 4%;
    float: left;
    width: 30%;
    aspect-ratio: 8 / 10;
    font-family: 'NewYork','Arial', sans-serif;
    text-align: center;
}

.page .pageTitle{
    display: block;
    font-size: 3vw;
}


.page .pageSubTitle{
    display: block;
    font-size: 1.2vw;
}


.page .pageText{
    display: block;
    font-size: 1.5vw;
}

#ferme{
    width: 88%;
    margin: 0px 6%;
}

table {
    width: 100%;
    border-collapse: collapse;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 10px;
    text-align: left;
}
.icon-delete {
    color: red;
    cursor: pointer;
    text-decoration: none;
}


/* Footer */
footer {
    font-family: 'NewYork','Arial', sans-serif !important;
    position: fixed;
    background-color: #002347;
    color: white;
    text-align: center;
    bottom: 0px;
    width: 100%;
    font-size: 20px;
}

footer div {
    margin: 10px;
}

.authLink{
    position: absolute;
    left: 10px;
    bottom: 10px;
}
.authLink a{
    color: white;
}

footer .link{
    text-decoration: none;
    color: white;
}


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

    .hiddenLarge{
        display: contents;
    }

    .main #logo{
        top: 80px;
        right: 10px;
        max-width: 200px;
    }
    header{
        padding: 8px 0;
    }
    nav ul li {
    margin: 3px 15px 0 15px;
    }
    nav ul li a{
    font-size: 15px;
    }
    footer {
        display: none;
    }
    #rsvpPage td{
        display: contents;
    }

    #rsvpPage th{
        display: none;
    }

    #rsvpPage table{
        border:none;
    }

    #rsvpPage tbody tr{
        border-bottom: 1px black solid;
        display: block;
        padding: 8px 0;
    }

    #rsvpPage tbody .header{
        border-bottom: none;
    }
    .tdAdult span{
        float: left;
    }
    .tdAdult input{
        float: left;
    }
    .isAdult{
        font-size: 14px;
        display: block;
        float: none !important;
    }
}



@media screen and (min-width: 1200px) {
    .main #couple{
        width: 69%;
        margin: 0 15%;
    }

    .main #logo{
        margin-right: 16%;
    }

}



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

    #planningPage .page{
        width: 80%;
    }

    .page .pageTitle{
        display: block;
        font-size: 9vw;
    }
    
    
    .page .pageSubTitle{
        display: block;
        font-size: 3.2vw;
    }
    
    
    .page .pageText{
        display: block;
        font-size: 3.8vw;
    }
}



@media screen and (min-width: 1600px) {

    #planningPage .page{
        width: 25%;
        margin-left: 16%;
    }

    .page .pageTitle{
        display: block;
        font-size: 2.5w;
    }
    
    
    .page .pageSubTitle{
        display: block;
        font-size: 1vw;
    }
    
    
    .page .pageText{
        display: block;
        font-size: 1.2vw;
    }


}

.notabene{
    font-style: italic;
}
#congratulation{
    margin: 10px 20px;
    text-align: center;
    font-size: 18px;
}

.centerThank{
    width: 80%;
    text-align: center;
    display: block;
    margin: 10%;
    font-size: 30px;
}

#laosTravel{
    margin: 1% 10%;
    width: 79%;
    height: 60vh;
}


#participate{
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border: 1px solid;
    display: block;
    width: 30%;
    margin: 0 35%;
    color: black;
}

@media screen and (max-width: 1000px) {
    #laosTravel{
        height: 50vh;
    }


    #participate{
        width: 60%;
        margin: 0 20%;
    }
}