/* Nataly Rivera
FINAL PROJECT*/




/* CSS Reset*/
body, header, nav, main, footer, h1, div, img, ul, section, aside, figure, figcaption, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}
/* Style rules for body and images*/
body {
 background-color: #d2f9fb;
}

img, video {
    max-width: 100%;
    display: block;
}
video {
    margin: 0 auto 4%;
}
/* Style rule for box sizing applies to all elements*/
* {
    box-sizing: border-box;
}

/* Style rules for mobile viewport*/

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #d2f9fb;
}

header img {
    margin: 0 auto;
}

/* Style rule for header*/
/*
header {
    width: 25%;
    float: left;
} */
/* Style for rules for navigation area*/
nav {
    padding: 1%;
    margin-bottom: 1%;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li {
    font-size: 1.5em;
    font-family: 'Pacifico', sans-serif;
    font-weight: bold;
    border-top: 1px solid #3025a7;
}

nav li:first-child {
    border-top: none;
}

nav li a {
    display: block;
    color: #3025a7;
    text-align: center;
    padding: 0.5em 1em;
    text-decoration: none;
}

/* Show mobile class, hide tablet-desktop class*/
.mobile {
    display: block;
}

h3 {
    padding: 2%;
    text-align: center;
    color: #3025a7;
    font-weight: bold;
    font-style: italic;
}

.tablet-desktop {
    display: none;
}

/* Style rules for main content*/
main {
    background-color: #fff;
    padding: 2%;
    font-size: 1.15em;
    font-family: "Roboto", sans-serif;

}

.tel-link {
    background-color: #3025a7;
    padding: 2%;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    border-radius: 5px;
}

.tel-link a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    display: block;
}

.hours {
    margin-left: 10%;
}

.action {
    font-size: 1.15em;
    color: #3025a7;
    font-weight: bold;
}

#phatcat, #nati {
    margin: 0 10%;
}
.round {
    border-radius: 12px;
}
aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #3025a7;
    text-shadow: 3px 3px 10px #d2f9fb;
}
figure {
    position: relative;
    max-width: 275px;
    margin: 2% auto;
    border: 8px solid #3025a7;
}
figcaption {
    position: absolute;
    bottom: 0;
    background: rgba(55, 54, 132, 0.7);
    color: #fff;
    width: 100%;
    padding: 5% 0;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
}


/* Media Query for Tablet Viewport*/
@media screen and (min-width: 630px), print {
    /*Tablet Viewport: Show tablet-desktop class, hide mobile class */
    .tablet-desktop {
        display: block;
    }
    .mobile {
        display: none;
    }
    /* Tablet Viewport: Style rule for header*/
    header {
        position: static;
        padding-bottom: 2%;
    }
    /* Tablet Viewport: Style rules for nav area*/
    nav li {
        border-top: none;
        display: inline-block;
        border-right: 1px solid #3025a7;
    }
    nav li:last-child {
        border-right: none;
    }
    nav li a {
        padding: 0.1em 0.75em;
    }
    /* Tablet Viewport: Style rules for main content area*/
    main ul {
        margin: 0 0 4% 10%;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    aside {
        grid-column: 1/ span 2;
    }

#favorite {
    clear: left;
    border-top: 1px solid #d2f9fb;
    border-bottom: 1px solid #d2f9fb;
    background-color: #fffdbb;
    padding: 1% 2%;
}

#favorite dt {
    font-weight: bold;
}

#favorite dd {
    padding: 0.5% 1% 2% 0;
}
    .tel-num {
        font-size: 1.25em;
    }
    .map {
        width: 600px;
        height: 450px;
    }
    form {
        width: 70%;
        margin: 0 auto;
    }
}

/* Media Query for Desktop Viewport*/
@media screen and (min-width: 1015px), print {
    /*Desktop Viewport: Style rule for header*/
    header {
        width: 25%;
        float: left;
        padding-bottom: 0;
    }
    /*Fesktop Viewport: Style rules for nav area */
    nav {
        float: right;
        width: 70%;
        margin: 4em 1em 0 0;
    }
    nav ul {
        text-align: right;
    }
    nav li {
        border: none;
    }
    nav li a {
        padding: 0.5em 1em;
    }
    nav li a:hover {
        color: #fff;
        background-color: #3025a7;
    }
    /* Desktop Viewport: Style Rules for main content*/
    main {
        clear: left;
    }
    main h1 {
        font-size: 1.8em;
    }
    #phatcat, #nati {
    width: 29%;
    float: left;
    margin: 0 10%;
    }
    #favorite {
        clear: left;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    figcaption {
        font-size: 1em;
    }
    aside {
        grid-column: 1/ span 4;
    }
    /* Desktop. Viewport: Style rules for table*/
    table {
        width: 70%;
    }
    .form-grid {
        display: grid;
        grid-template-columns: auto auto;
        gap: 20px;
    }
    .btn {
        grid-column: 1 / span 2;
    }
}

/* Media Query for large Desktop Viewports*/
@media screen and (min-width: 1921px) {
    #container {
        width: 1920px;
        margin: 0 auto;
    }
}
/* Media Query for Print*/
@media print {
    body {
        background-color: #fff;
        color: #3025a7;
    }
}


.external-link {
    color: #3025a7;
    font-weight: bold;
    text-decoration: none;
}

#contact
#rental h2 {
    text-align: center;
}

#contact .contact-email-link {
    color: #3025a7;
    text-decoration: none;
}

.map {
    border: 2px solid #3025a7;
    width: 95%;
    height: 50%;
} 
/* Style rules for table*/
table {
    border: 1px solid #3025a7;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
}
caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
}
th, td {
    border: 1px solid #d2f9fb;
    padding: 2%;
}
th {
    background-color: #3025a7;
    color: #fff;
    font-size: 1.15em;
}
tr:nth-child(odd) {
    background-color: #d2f9fb;
}
/* Mobile Viewport: Styles for form elements*/
fieldset, input {
    margin-bottom: 2%;
}
fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}
label {
    display: block;
    padding-top: 3%;
}
form #submit {
    margin: 0 auto;
    display: block;
    padding: 3%;
    background-color: #fffdbb;
    font-size: 1em;
}
/* Style rules for footer content*/
footer p {
    font-size: 0.75em;
    text-align: center;
    color: #3025a7;
    padding: 0 1em;
}

footer p a {
    color: #3025a7;
    text-decoration: none;
}