/*#region general */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
    background-color: hsl(0, 50%, 20%);
    font-size: 20px;
}

.bg-overlay {
    height: 100%;
    width: 100%;
    background-image: url(http://skooltool.com/folio//images/template_images/hero.jpg);
    background-size: cover;
    mix-blend-mode: multiply;
    position: fixed;
    z-index: -1;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    height: 100%;
    background: transparent;
    color: #eee;
}

h1 {
    margin-top: 0;
    padding: 1rem;
    text-transform: capitalize;
}

header,
footer {
    background: hsl(30, 50%, 30%);
    color: antiquewhite;
    margin: 0;
    padding-bottom: 0;
}

.hero {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    background-image: url(http://skooltool.com/folio//images/template_images/hero.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    max-height: 700px;
    aspect-ratio: 16/9;
    margin-top: -2rem;
}

.hero h2,
.hero p {
    background-color: hsla(0, 50%, 20%, 0.9);
}

.hero h2 {
    font-size: 3.5rem;
    width: 75%;
    align-self: flex-start;
}

.hero p {
    font-size: 1.5rem;
    width: 50%;
    padding: 1em 1em 1em 5em;
    line-height: 1.3;
}

.home .home-lk,
.about .about-lk,
.portfolio .folio-lk,
.contact .contact-lk {
    color: rgb(178, 200, 255);
    font-weight: bold;
    text-decoration: underline;
}

.site-nav ul {
    background: hsl(30, 50%, 20%);
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 1rem;
    margin: 0;
}

.site-nav a {
    color: #eee;
    text-decoration: none;
    text-transform: uppercase;
}

a {
    color: rgb(178, 200, 255);
}

main {
    padding: 2rem 4rem;
}

.image-style-align-left {
    float: left;
}
.image-style-align-right {
    float: right;
}

/*#endregion */

/*#region project individual */
.project {
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr;
    margin: 1rem;
    border: 1px solid #777;
    padding: 1rem;
}

.project h2 {
    color: #d1c350;
}

.project img {
    width: 100%;
    height: auto;
    height: 250px;
    object-fit: cover;
}

.project-details h4 {
    color: rgb(178, 200, 255);
}
.project-details dl {
    width: 90%;
    margin: auto;
}
.project-details dt {
    font-weight: bold;
    padding-bottom: 0.5rem;
}
.project-details dd {
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

/*#endregion */

/* Specific Pages */

/*#region home */
/*#endregion */

/*#region about */

.about img {
    transform: scaleX(-100%);
}

.fluid-content {
    line-height: 1.35;
}

/*#endregion */

/*#region portfolio */

.works-meta {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

/*#endregion */

/*#region project */
/*#endregion */

/*#region contact */

.contact main {
    //max-width: 720px;
    margin: auto;
}

.contact article {
padding-left:0;
}

fieldset {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


label, input, textarea {
    font-size: 1.5rem;
    padding: .25em;
    display:block;
}

input, textarea {
	border: 2px solid white;
    background: transparent;
    border-radius: .5rem;
    color:white;
}

input[type="submit"] {
border:1px solid white;
background: #2435b0;
color: white;
}

/*#endregion */

/* for The single entry view */

.grd {
    display: grid;
    grid-template-columns: 15% 1fr 15%;
    grid-template-rows: auto 1fr auto;
}

.full-info {
    grid-row: 3;
    grid-column: 2;
    border: 1px solid #444;
    padding: 0 2rem 2rem;
    margin-top: 5rem;
}

.package {
    grid-column: 2;
    gap: 2rem;
    margin: 3rem 0;
    line-height: 1.4;
}

.description > img {
    width: 100%;
    display: block;
    margin: 1.5rem auto 0 auto;
}

.description > ul {
    padding-left: 1rem;
}

.package h2 {
    text-transform: capitalize;
}

.package h3 {
    margin-top: 5rem;
}

.package .thumbnails {
    //margin-top: 5rem;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.package .thumbnails figure {
    padding: 1rem;
    border: 1px solid #444;
    width: 100%;
    margin: 0;
}

.package .thumbnails h4 {
    width: 90%;
    margin: 0 auto.5em;
}

.package .thumbnails figure img {
    display: block;
    width: 90%;
    margin: auto;
}

.package .thumbnails figure figcaption {
    font-size: 0.85rem;
    width: 90%;
    margin: 0.5em auto 0;
    line-height: 1.2;
}

.project-cta {
    display: block;
    background: hsl(239, 48%, 15%);
    border: 2px solid #888;
    font-weight: 500;
    text-align: center;
    padding: 0.5em 1rem;
    border-radius: 1.25em;
    color: rgb(178, 200, 255);
    text-decoration: none;
    margin-top: 3rem;
}

.description .project-cta:hover {
    background: hsl(239, 48%, 45%);
}

.description .quick-view {
    margin-top: 3rem;
}

footer {
    padding: 2rem;
}

h1 {
    margin-top: 0;
    padding: 1rem;
    text-transform: capitalize;
}

header,
footer {
    background: hsla(30, 50%, 30%, 0.5);
    color: antiquewhite;
    margin: 0;
    padding-bottom: 0;
}

.vacations .vacation-lk {
    color: rgb(178, 200, 255);
    font-weight: bold;
    text-decoration: underline;
}

.site-nav ul {
    background: rgba(28, 38, 170, 0.4);
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 1rem;
    margin: 0;
}

.site-nav a {
    color: #eee;
    text-decoration: none;
    text-transform: uppercase;
}

.grid-container {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
    border: 3px solid black;
    border-radius: 0.5rem;
    background: #eee;
    color: #656565;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature {
    margin-top: 5rem;
}

/* All the CSS from here down is just making the cards themselves look pretty.
       All of the hard layout stuff is in the two commented style rules above 
    */

* {
    box-sizing: border-box;
    font-family: sans-serif;
}

.card h3 {
    text-align: center;
    text-transform: capitalize;
    font-size: 1.5rem;
    color: brown;
    line-height: 1.4;
}

.card h4 {
    text-align: center;
    font-size: 1.25rem;
    color: #cba328;
    line-height: 1.4;
}

.card img {
    width: 100%;
    aspect-ratio: 5/3;
    object-fit: cover;
    padding: 0.5rem;
    border: 1px solid #ccc;
    background: white;
    border-radius: 0.25rem;
}

.card p {
    hyphens: auto;
    padding: 0 1rem;
    line-height: 1.22;
}

.card a {
    display: block;
    background: hsl(239, 48%, 48%);
    font-weight: 500;
    text-align: center;
    padding: 1rem 1rem 1rem 2rem;
    margin-top: 1rem;
    border-radius: 0.3rem;
    color: white;
    text-decoration: none;
}

.card dl {
    width: 90%;
    margin: auto;
}
.card dt {
    font-weight: bold;
    color: black;
    padding-bottom: 0.5rem;
}
.card dd {
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}



.home-feature {
    display: block;
    padding-bottom: 0.5rem;
    color: #eee;
    text-decoration: none;
    border-top: 1px solid;
    background-size: 1rem 1rem;
    transition: all 0.3s ease;
}

.home-feature:hover {
    background: hsla(0, 50%, 30%, 0.8);
    background-size: cover;
}

/*#region Media Queries */
@media screen and (min-width: 60rem) {
    .about article {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .category-list {
        margin: 0 0 5rem;
    }

    .nav_categories {
        display: flex;
        list-style: none;
        padding: 0;
        margin-left: 5.125em;
        justify-content: space-evenly;
        align-items: center;
        width: 50%;
        line-height: 1.3;
    }

    .nav_categories a {
        display: block;
        border: 2px solid #888;
        font-weight: 500;
        text-align: center;
        padding: 0.5em 1rem;
        margin-right: 1em;
        border-radius: 1.25em;
        color: white;
        text-decoration: none;
    }

    .nav_categories > h3 {
        margin: 0;
        line-height: 0;
    }

    .nav_categories a:link {
        color: white;
    }

    .nav_categories a:visited {
        color: white;
    }

    .nav_categories a:hover {
        color: lightblue;
    }

    .nav_categories a:active {
        color: pink;
    }

    .current {
        background: hsl(239, 48%, 65%);
    }
}

@media screen and (max-width: 800px) {
    .grd {
        display: block;
        padding: 1rem 1.5rem 3rem;
    }

    .package {
        display: block;
    }

    main {
        padding: 2rem 0.5rem;
    }

    .home .hero h2 {
        font-size: 2.5rem;
        padding-left: 1rem;
    }
    .home .hero p {
        font-size: 1.3rem;
        padding-left: 1rem;
        width: 75%;
    }
}

/*#endregion */
.paginate {
    grid-column: 1/3;
}


