body{
    position: relative;
    margin: 0;
    background-image: url(rolling_bg.jpg);
    background-position: center;
    background-repeat: repeat-y;
    text-align: center;
    z-index: 1;
    top: 0;
    left: 0;
}

#block{
    position: absolute;
    padding: 0;
    margin: 0;
    z-index: 3;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background:rgba(255,255,255,1);

    display: inline-block;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    
    opacity: 100%;
}
p0{
    color:#645394;
    font-family: "Roboto Slab", sans-serif;
    font-style:italic;
    font-size: 35px;
    padding-bottom: 10%;
}
#invite{
    background-image: url(invitation.png);
    background-size: cover;
    justify-content: center;
    display: inline-block;
    width: 800px;
    height: 800px;
    margin-top: 30%;
    cursor: pointer;
}

h1{
    color:#856899;
    font-family: "Dancing Script", sans-serif;
    font-style: italic;
    font-size: 80px;

    animation-name: show;
    animation-timeline: view();
}

h2{
    color:#856899;
    font-family: "Dancing Script", sans-serif;
    font-style: bold;
    font-size: 65px;

    animation-name: show;
    animation-timeline: view();
}
h3{
    color:#856899;
    font-family: "Merriweather", serif;
    font-style: italic;
    font-size: 45px;
}

p1{
    color:#645394;
    font-family: "Roboto Slab", serif;
    font-style: italic;
    font-size: 35px;
    padding-bottom: 10%;
    animation-name: show;
    animation-timeline: view();
}
p2{
    color:#645394;
    font-family: "Roboto Slab", serif;
    font-style: italic;
    font-size: 30px;
    animation-name: show;
    animation-timeline: view();
}
p3{
    color:#645394;
    font-family: "Merriweather", serif;
    font-style: italic;
    font-size: 30px;
}
p4{
    color:#856899;
    font-family: "Roboto Slab", sans-serif;
    font-size: 40px;
    text-align: left;
}

.brdr{
    background-image: url(border.png);
    background-size: cover;
    width: 720px;
    height: 87px;
    justify-content: center;
    display: inline-block;

    opacity:0 ;
    animation-name: show;
    animation-timeline: view();
}
.brdrdwn{
    background-image: url(borderdwn.png);
    background-size: cover;
    width: 720px;
    height: 87px;
    justify-content: center;
    display: inline-block;

    opacity:0 ;
    animation-name: show;
    animation-timeline: view();
}

.photo0{
    background-image: url(isla1.jpg);
    background-size: cover;
    width: 720px;
    height: 720px;
    justify-content: center;
    display: inline-block;
    background-repeat: no-repeat;
    border: 20px solid #ffffff;
    border-radius: 50%;
    box-shadow: 5px 10px 25px;

    animation-name: show;
}
/*----------------------------------ANIMATION----------------------------------*/
@keyframes show{
    0%{opacity: 0;}
    50%{opacity: 100%};
    100%{opacity: 100%};
}
/*----------------------------------ANIMATION----------------------------------*/
.photo1{
    background-size: cover;
    width: 960px;
    height: 720px;
    justify-content: center;
    display: inline-block;
    background-repeat: no-repeat;
    border-radius: 12%;

    opacity:0 ;
    animation-name: show;
    animation-timeline: view();
}

#church{
    background-image: url(church.png);
    background-size: cover;
    width: 150px;
    height: 150px;
    justify-content: center;
    display: inline-block;
    background-repeat: no-repeat;
    transition: background-image 0.5s;   
}
#church:hover{
    background-image: url(churchshdw.png);
}
#recep{
    background-image: url(recep.png);
    background-size: cover;
    width: 150px;
    height: 150px;
    justify-content: center;
    display: inline-block;
    background-repeat: no-repeat;
    transition: background-image 0.5s;
}
#recep:hover{
    background-image: url(recepshdw.png);
}

.group1{
    justify-content: center;
    display: inline-grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: max-content max-content;
    column-count: 2;
    column-gap: 50px;
    row-gap: 50px;
    align-items: center;
    text-align: left;    
    opacity:0 ;
    animation-name: show;
    animation-timeline: view();

}

.godparents{
    justify-content: center;
    display: inline-block;
    text-align: center;
    border: #856899 solid 5px;
    width: 500px;
    padding-bottom: 50px;

    opacity:0 ;
    animation-name: show;
    animation-timeline: view();
}

#rsvp{
    background-image: url(rsvp.png);
    background-size: cover;
    width: 300px;
    height: 300px;
    justify-content: center;
    display: inline-block;
    background-repeat: no-repeat;
    cursor: pointer;

    opacity:0 ;
    animation-name: show;
    animation-timeline: view();
}