@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Fredoka+One&family=Josefin+Sans&family=Open+Sans&family=Pinyon+Script&display=swap');

body{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.25rem;
    color: #2d2d2d;
    background-image: url("./images/sunset.jpg");
    background-position: center;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pinyon Script', cursive;
    margin: 0px;
    padding: 0px;
}

h1 {
    font-size: 3.5rem;
}

p{
    font-size: 1.5rem;
}

.patAndrea{
    line-height: 1;
}

.andrea{
    font-family: 'Dancing Script', cursive;
    margin-bottom: 5px;
}

.and{
    font-family: 'Open Sans', sans-serif;
}

.siblings{
    font-family: 'Open Sans', sans-serif;
    margin: 0 0 10px 0;
}

.my-3{
    margin: 30px 0;
}

.m-0{
    margin: 0;
}

.m-1{
    margin: 5px;
}

.p-0{
    padding: 0;
}

.mainWrapper{
    position: relative;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainContainer{
    background-color: rgba(202, 215, 224, 0.7);
    width: 700px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 10px solid #a64122;
    padding: 15px;
}

.topHalf{
    text-align: center;
    padding: 10px;
}

.image{
    width: 100px;
}

.lowerHalf{
    padding: 10px;
    height: 60%;
    text-align: center;
}

.timeAndPlace{
    font-family: 'Josefin Sans', sans-serif;
    margin: 15px 0;
    color: #a64122;
}

.timeAndPlaceRows{
    display: flex;
    justify-content: center;
    margin: 10px 0 0 0;
}

.alignContent>p.address{
    font-size: 1rem;
    text-align: start;
}

.alignContent{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
}

.endless{
    margin: 5px 0 0 0;
    font-family: 'Josefin Sans', sans-serif;
}

.parenthesisLeft{
    margin: 0;
    font-size: 1rem;
    text-align: start;
    padding: 0 65px;
}

.parenthesisRight{
    margin: 0;
    font-size: 1rem;
    text-align: end;
    padding: 0 65px;
}

.featureRow{
    display: flex;
    justify-content: space-between;
}

.featureContainer{
    width: 50%;
}

.feature{
    text-align: start;
    font-family: 'Pinyon Script', cursive;
    font-size: 1.75rem;
    padding: 5px;
    margin: 0;
    width: 100%;
}

.featureAccolades{
    text-align: start;
    font-family: 'Pinyon Script', cursive;
    font-size: 1.75rem;
    padding: 5px;
    margin: 0;
    width: 100%;
}

.imgContainer{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 50%;
}

.line{
    border: solid 1px #a64122;
    width: 100%;
    margin: 0;
}

.scheduleAndAttire{
    margin: 30px 0 15px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.scheduleAndAttire>p{
    font-size: 1.75rem;
    margin: 5px 0;
    font-family: 'Dancing Script', cursive;
}

.welcomeStandards>p{
    font-size: 1rem;
    margin: 10px;
    padding: 0;
}

.questions{
    font-family: 'Josefin Sans', sans-serif;
}

.phone{
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    color: #a64122;
}

.phone:hover{
    color: #C25126;
}

.rsvpButton{
    margin: 15px 0;
    background-color: #a64122;
    color: #cad7e0;
    font-weight: 500;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease 0s;
}

.rsvpButton:hover{
    cursor: pointer;
    background-color: #C25126;
    transition: all 0.3s ease 0s;
}

.rsvpFormWrapperOpen{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
}

.rsvpFormWrapperClosed{
    display: none;
}

.rsvpFormContainerOpen{
    position: relative;
    top: 100px;
    border: 2px solid #a64122;
    background-image: url("./images/utah.jpg");
    background-size: cover;
    width: 400px;
    height: 600px;
}

.rsvpForm{
    background-color: rgba(202, 215, 224, 0.7);
    width: 370px;
    height: 570px;
    padding: 15px;
}

.rsvpFormContainerClosed{
    display: none;
}

.closeBtnWrapper{
    display: flex;
    justify-content: end
}

.closeModal{
    filter: invert(35%) sepia(64%) saturate(857%) hue-rotate(338deg) brightness(96%) contrast(92%);
}

.closeModal:hover{
    cursor: pointer;
}

.thanksContainer{
    background-color: rgba(202, 215, 224, 0.7);
    width: 1080px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 10px solid #a64122;
    padding: 15px;
}

.thanks{
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thanksText{
    font-family: 'Dancing Script', cursive;
}

.rodney{
    display: flex;
    justify-content: center;
}

.rodney>div{
    display: block;
}

.rodneyText{
    font-family: 'Fredoka One', cursive;
}

/* Media Queries */

/* IPhone */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
    body{
        font-size: 1.5rem;
    }
    .mainWrapper{
        top: auto;
    }
    .mainContainer{
        width: 330px;
        height: auto;
        padding: 10px;
    }
    .topHalf{
        height: auto;
        padding: 0;
    }
    .lowerHalf{
        padding: 0;
    }
    .timeAndPlace>p{
        font-size: 1.5rem;
        margin: 15px 0;
    }
    .timeAndPlaceRows{
        display: flex;
        justify-content: space-between;
        margin: 10px 0 0 0;
    }
    .whenWhereTime{
        color: black;
        width: 76px;
        font-family: 'Pinyon Script', cursive;
    }
    .welcomeStandards>p{
        font-size: .825rem;
    }
    .alignContent{
        width: 230px;
    }
    .image{
        width: 75px;
    }
    .whenWhereTimeContent{
        font-size: 1.45rem;
    }
    .parenthesis{
        font-size: 1rem;
    }
    .parenthesisLeft{
        padding: 0 25px;
    }
    
    .parenthesisRight{
        padding: 0 25px;
    }
    .feature{
        text-align: center;
        font-size: 1.45rem;
        margin: 10px 0 0 0;
    }
    .featureAccolades{
        text-align: center;
        font-size: 1.25rem;
    }
    .featureContainer{
        width: auto;
    }
    .imgContainer{
        justify-content: center;
        width: 100%;
    }
    .scheduleAndAttire{
        display: flex;
        justify-content: start;
        text-align: start;
    }
    .scheduleAndAttire>p{
        font-size: 1.15rem;
    }
    .questions{
        font-size: 1.25rem;
    }
    
    .phone{
        font-size: 1.25rem;
    }
    .rsvpFormWrapperOpen{
        top: 0;
        left: 0;
    }
    .rsvpFormContainerOpen{
        top: 40px;
        width: 300px;
        height: 570px;
    }
    .rsvpForm{
        background-color: rgba(202, 215, 224, 0.7);
        width: 270px;
        height: 540px;
        padding: 15px;
    }
    .thanksContainer{
        width: 300px;
        height: 600px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 4) {
    body{
        font-size: 1.5rem;
    }
    .mainWrapper{
        top: auto;
    }
    .mainContainer{
        width: 310px;
        height: auto;
        padding: 10px;
    }
    .topHalf{
        height: auto;
        padding: 0;
    }
    .lowerHalf{
        padding: 0;
    }
    .timeAndPlace>p{
        font-size: 1.5rem;
        margin: 15px 0;
    }
    .timeAndPlaceRows{
        display: flex;
        justify-content: space-between;
        margin: 10px 0 0 0;
    }
    .whenWhereTime{
        color: black;
        width: 76px;
        font-family: 'Pinyon Script', cursive;
    }
    .welcomeStandards>p{
        font-size: .825rem;
    }
    .alignContent{
        width: 230px;
    }
    .image{
        width: 75px;
    }
    .whenWhereTimeContent{
        font-size: 1.45rem;
    }
    .parenthesis{
        font-size: 1rem;
    }
    .parenthesisLeft{
        padding: 0 25px;
    }
    
    .parenthesisRight{
        padding: 0 25px;
    }
    .feature{
        text-align: center;
        font-size: 1.45rem;
        margin: 10px 0 0 0;
    }
    .featureAccolades{
        text-align: center;
        font-size: 1.25rem;
    }
    .featureContainer{
        width: auto;
    }
    .imgContainer{
        justify-content: center;
        width: 100%;
    }
    .scheduleAndAttire{
        display: flex;
        justify-content: start;
        text-align: start;
    }
    .scheduleAndAttire>p{
        font-size: 1.15rem;
    }
    .questions{
        font-size: 1.25rem;
    }
    
    .phone{
        font-size: 1.25rem;
    }
    .rsvpFormWrapperOpen{
        top: 0;
        left: 0;
    }
    .rsvpFormContainerOpen{
        top: 40px;
        width: 300px;
        height: 630px;
    }
    .rsvpForm{
        background-color: rgba(202, 215, 224, 0.7);
        width: 270px;
        height: 600px;
        padding: 15px;
    }
    .thanksContainer{
        width: 300px;
        height: 600px;
    }
}