/* ==========================================================
   WYRLIGHT PORTFOLIO
   Style Sheet
   Revision 1.0
========================================================== */


/* ==========================================================
   RESET
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================================
   GLOBAL
========================================================== */

html,
body {

    background: #F5F5F5;
    color: #2A4960;

    font-family: system-ui, sans-serif;
    line-height: 1.6;

}

img {

    display: block;
    max-width: 100%;
    height: auto;

}

a {

    color: #2A4960;
    text-decoration: none;

}

a:hover {

    opacity: .80;

}


/* ==========================================================
   FULL WIDTH SEPARATORS
========================================================== */

.full-separator {

    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    border: none;
    border-top: 1px solid #E5E5E5;

}


/* ==========================================================
   PAGE WRAPPER
========================================================== */

.page-wrapper {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

}


/* ==========================================================
   HEADER
========================================================== */

header {

    background: #F5F5F5;

}

.header-inner {

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 24px 0;

}


/* ==========================================================
   LOGO
========================================================== */

.logo img {

    width: 90px;
    height: 90px;

}


/* ==========================================================
   NAVIGATION
========================================================== */

nav {

    display: flex;
    gap: 28px;

}

nav a {

    font-size: 24px;
    font-weight: 600;

}


/* ==========================================================
   MAIN
========================================================== */

main {

    padding: 36px 0 60px;

}


/* ==========================================================
   PAGE TITLE
========================================================== */

.page-title {

    text-align: center;

    font-size: 40px;
    font-weight: 600;

    margin-bottom: 20px;

}


/* ==========================================================
   INTRO
========================================================== */

.intro {

    max-width: 860px;

    margin: 0 auto 36px;

    text-align: center;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;

}


/* ==========================================================
   HERO
========================================================== */

.hero {

    margin: 24px 0 40px;

}

.hero img {

    width: 280px;

    margin: 0 auto;

}


/* ==========================================================
   CONTENT SECTIONS
========================================================== */

section {

    padding: 42px 0;

}


/* ==========================================================
   SECTION TITLES
========================================================== */

.section-title {

    text-align: center;

    font-size: 28px;
    font-weight: 600;

    margin-bottom: 30px;

}


/* ==========================================================
   COLLECTION TITLES
========================================================== */

.collection-title {

    font-size: 22px;
    font-weight: 600;

    margin-bottom: 20px;
    margin-top: 24px;

}

/* ==========================================================
   GALLERY GRID
========================================================== */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-bottom: 36px;

}

.gallery-grid img {

    width: 100%;

    border-radius: 6px;

    transition: opacity .20s ease;

}

.gallery-grid img:hover {

    opacity: .90;

}


/* ==========================================================
   BUTTONS
========================================================== */

.portfolio-block {

    text-align: center;

    margin: 28px 0 12px;

}

.portfolio-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 36px;

    background: #2A4960;
    color: #FFFFFF;

    text-decoration: none;

    font-size: 18px;
    font-weight: 600;

    line-height: 1;

    height: 48px;

    border-radius: 999px;

    transition: opacity .20s ease;

}

.portfolio-button:hover {

    opacity: .85;

}


/* ==========================================================
   FOOTER
========================================================== */

footer {

    position: relative;

    text-align: center;

    padding: 28px 0 18px;

}

footer::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    border-top: 1px solid #E5E5E5;

}


/* ==========================================================
   FOOTER NAVIGATION
========================================================== */

.footer-nav-block {

    position: relative;

    padding-bottom: 14px;

    margin-bottom: 14px;

}

.footer-nav-block::after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 50%;

    width: 100vw;

    margin-left: -50vw;

    border-bottom: 1px solid #E5E5E5;

}

.footer-nav-block a {

    margin: 0 10px;

    font-size: 16px;
    font-weight: 600;

}


/* ==========================================================
   FOOTER SOCIAL
========================================================== */

.footer-social {

    margin-top: 10px;

    font-size: 18px;      /* enne 14px */
    font-weight: 600;

}

.footer-social a {

    text-decoration: none;

    color: #2A4960;

    margin: 0 8px;

}


/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copy {

    margin-top: 8px;

    font-size: 17px;      /* enne 13px */

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {


/* ---------- PAGE ---------- */

.page-wrapper {

    padding: 0 16px;

}


/* ---------- HEADER ---------- */

.header-inner {

    flex-direction: column;

    gap: 12px;

    padding: 18px 0;

}

.logo img {

    width: 72px;
    height: 72px;

}

nav {

    gap: 14px;

}

nav a {

    font-size: 14px;

}


/* ---------- MAIN ---------- */

main {

    padding: 26px 0 36px;

}

.page-title {

    font-size: 24px;

}

.intro {

    font-size: 16px;

    margin-bottom: 24px;

}

.hero {

    margin: 18px 0 30px;

}

.hero img {

    width: 220px;

}


/* ---------- SECTIONS ---------- */

section {

    padding: 32px 0;

}

.section-title {

    font-size: 22px;

    margin-bottom: 24px;

}

.collection-title {

    font-size: 18px;

    margin-bottom: 14px;

}


/* ---------- GALLERY ---------- */

.gallery-grid {

    grid-template-columns: repeat(2,1fr);

    gap: 16px;

    margin-bottom: 24px;

}


/* ---------- FOOTER ---------- */

.footer-nav-block a {

    display: inline-block;

    margin: 4px 8px;

}

.footer-social {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    line-height: 1.5;

}

.footer-social a[href^="mailto"] {

    flex-basis: 100%;

}

.footer-copy {

    margin-top: 12px;

    font-size: 12px;

}

}

/* ==========================================================
   END OF FILE

   Wyrlight Portfolio
   Style Sheet

   Revision 1.0

========================================================== */
