html {
    margin: auto;
    max-width: 1400px;
    min-width: 400px;
    font-family: Sorts Mill Goudy;
    background-color: #F3F6E6;
    color: #012A47;
   }       
   .title {
    text-align: center;
   }
   .title img{
      width: 100%;
   }
   .title h1 {
    font-size: 3em;
    margin-block-end: 0;
   }
   .title h2{
    font-size: 1.5em;
    margin-block-start: 0;
   }
   .title p{
    font-size: 1.3em;
    font-weight: 300;
    padding-bottom: 30px;
   }
   .navbar{
    margin: auto;
    justify-items: center;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    height: 200px;

   }
   .link{        
    display: flex;
    flex-direction: column;
    text-align: center;  
    text-transform: uppercase;      
   }
   .link img{
    height: 100px;
   }
   .section{
     background-color: #E7EADE;
     margin-bottom: 40px;
    }
   .about{
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
    padding-bottom: 60px;
    border-radius: 10px;
   }
   .section_title{
    grid-row: 1;
    grid-column: 1/span 2;
    text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 30px;
   }
   #wemet{
    grid-row: 2;
    align-content: center;
    margin: auto 10% auto 10%;
    font-size: 1.5em;
   }
   #us{
    grid-row: 2;
    margin: auto;        
   }
   #us img{
    height: 400px;
   }
   #about_links{
    grid-row: 3;
    grid-column: 1/span 2;
    display: flex;
    justify-content: space-between;
    padding: 20px 10% 20px 10%;
   }
   #about_links a{
    text-transform: uppercase;
    color: #012A47;
    font-size: 1.25em;
   }       
   .location{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    text-align: center;
    border-radius: 10px;
   }
   #directions{
    grid-row: 2;
    grid-column: 1/span 2;
    align-self: center;
    margin: auto;
    text-align: center;
    font-size: 1.5em;
   }
   #directions img{
    padding: 20px;
   }
   #map{     
    display: flex;  
    justify-content: space-around; 
    grid-row:3;
    grid-column: 1/span 2;
   }
   #map img{
    width: 90%;
    justify-self: center;
    margin-bottom: -80px;
   }
   .gifts{
    height: 500px;
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    border-radius: 10px;
   }
   #thanks{
    grid-row: 1;
    grid-column: 1;
    margin: auto;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
   }
   #donate{
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   }
   #donate img{
    max-width: 50%;        
   }
   .rsvp{
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    margin:auto;
    text-align: center;
    border-radius: 10px;
   }
   .rsvp h1{
    margin-inline-start: unset;
    margin-block-start: unset;
    font-size: 1.5em;
   }
   .modalt, .modalj, .modalo, .modalp {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    }

    /* Modal Content */
    .modal-content {
    background-color: lightblue;
    opacity: 70%;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    height: fit-content;
    }

    /* The Close Button */
    .close {
    color: black;
    float: right;
    font-size: 36px;
    font-weight: bold;
    }

    .close:hover,
    .close:focus {
    color: #000;
    font-weight: bolder;
    text-decoration: none;
    cursor: pointer;
    }

    .mySlides{
        max-height: 400px;
    }

    #name, #email, #number{
        width: 80%;
        height: 1.5em;
        border-radius: 5px;
        border-width: 2px;
        border-color: #000;
    }

    #comments{
        width: 80%;
        height: 60px;        
        border-radius: 5px;
        border-width: 2px;
        border-color: #000;
    }
    .form_label{
        width: 80%;
        display: inline-flex;
    }
    #radio_container{
        width: 80%;
        display: inline-flex;
    }
    label{
        padding: 0 30px;
    }

    @media (max-width: 900px) {
        .navbar{
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            height: unset;
            padding-bottom: 40px;
        }
        .about{
            grid-template-columns: 1fr;
            grid-template-rows: auto;
        }
        #us {
            grid-row: 2;            
        }     
        #wemet{
            grid-row: 3;
        }   
        #about_links{
            grid-row: 4;
            /* grid-column: 1/span 2; */
            display: flex;
            padding: 20px 10% 20px 10%;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
        }
        #about_links a{
            padding: 10px 0 10px 0;
        }
        #map img{
            margin-bottom: -15%;
        }
        .gifts{
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            height: unset;
            text-align: center;
        }
        #thanks{
            grid-row:2;
            grid-column: unset;                                
        }
        #donate{
            grid-row: 3;
            grid-column: unset;
        }
    }    
    @media (max-width: 360px){
        #us img {
            width: 100%;
            height: unset;
        }
    }