/* Self-hosted Inter variable font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Global base styles ---- */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    list-style-type: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    color: #12161d;
    overflow-wrap: break-word;
    scroll-behavior: smooth;
    background-color: #222222;
}

::selection {
    background-color: #5194bf;
}

main {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
}

hr {
    margin: 0;
    border: none;
}

figure {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #363636;
}

button,
textarea,
input,
select,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

/* ---- Header & burger nav ---- */

#site-header {
    position: absolute;
    top: -1px;
    width: 100%;
    min-height: 61px;
    max-height: 61px;
    background-color: #222222;
    z-index: 10;
}

#site-logo span {
    position: absolute;
    top: 20px;
    left: 3%;
    font-size: 20px;
    color: rgb(255, 255, 255);
}

#burger-btn-container {
    position: fixed;
    top: 6px;
    right: 6px;
    width: 41px;
    height: 41px;
    background: none;
    border: none;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: #22222277;
}

#burger-btn-container:hover {
    background-color: #222222c2;
}

#burger-btn {
    position: absolute;
    top: calc(50% - 1.5px);
    left: calc(50% - 10px);
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
}

#burger-btn::before,
#burger-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
}

#burger-btn::before { transform: translateY(-7px); }
#burger-btn::after  { transform: translateY(7px); }

#burger-btn-container.open #burger-btn {
    width: 0px;
    background: transparent;
    box-shadow: none;
}

#burger-btn-container.open #burger-btn::before {
    transform: rotate(45deg) translate(0px, 0px);
}

#burger-btn-container.open #burger-btn::after {
    transform: rotate(-45deg) translate(0px, 0px);
}

#scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background-color: #22222277;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}
#scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#scroll-top-btn:hover {
    background-color: #222222c2;
}

#site-nav {
    position: fixed;
    right: -100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 9;
    transition: 0.3s;
}

#site-nav.open {
    right: 0%;
}

#nav-menu {
    padding: 59px 0 0 0;
    margin: 0;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: #222222aa;
}

#nav-primary-menu a {
    margin: 10px 10% 20px 10%;
    padding: 20px 0 10px 2%;
    display: block;
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.46);
    text-decoration: none;
    letter-spacing: 2px;
}

#nav-primary-menu a:hover {
    animation: bounce 0.2s ease;
    border-bottom: 2px solid rgb(255, 255, 255);
}

@keyframes bounce {
    0% {
        padding: 20px 0 10px 2%;
    }
    50% {
        padding: 20px 0 10px 3%;
    }
    100% {
        padding: 20px 0 10px 2%;
    }
}

#nav-footer {
    padding: 40px 0;
    border-top: solid white 2px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

#nav-footer a {
    margin: 20px;
    display: inline-block;
    line-height: 0;
}

#nav-facebook-icon,
#nav-twitter-icon,
#nav-pinterest-icon,
#nav-instagram-icon,
#nav-linked-icon {
    width: 20px;
    height: 20px;
    color: rgb(255, 255, 255);
}

#nav-facebook-icon:hover {
    color: #4267b2;
}

#nav-twitter-icon:hover {
    color: #1da1f2;
}

#nav-pinterest-icon:hover {
    color: #E60023;
}

#nav-instagram-icon:hover {
    color: #f765c9;
}

#nav-linked-icon:hover {
    color: #0a66c2;
}

#you-may-also-like-section {
    padding: 40px 5%;
    background-color: #f5f5f5;
}

#you-may-also-like {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

#you-may-also-like a {
    margin: 20px 0;
    text-decoration: none;
    color: grey;
    transition: 0.3s;
}

#you-may-also-like a:hover {
    color: #222222;
    translate: -8px -8px;
}

.minimal-card {
    max-width: 500px;
    padding: 15px 15px 0 15px;
    white-space: wrap;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.2);
}

.minimal-card img {
    width: 100%;
    border-radius: 15px;
}

.minimal-card-textbox {
    padding: 15px 3px 15px 3px;
    min-height: 50px;
    display: flex;
}

.minimal-card-textbox h4 {
    margin: 0;
    font-size: 15px;
}

#see-all-button-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

#see-all-button-section button {
    margin: 0;
    font-size: 16px;
    width: 60px;
    border: none;
    border-radius: 30px;
    height: 60px;
    background-color: #ffffff;
    color: #222222;
    box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: 0.5s;
}

#see-all-button-section a {
    color: #4caf6a;
    text-decoration: none;
}

#see-all-button-section button:hover {
    background-color: #4caf6a;
    color: #ffffff;
}

footer {
    margin: 0;
    padding: 100px 0;
    color: white;
    background-color: #222222;
    font-size: 16px;
    text-align: center;
    border: none;
}

footer a {
    color: white;
}

footer a:hover {
    color: #94ffb4;
}

@media only screen and (min-width: 1200px) {
    #site-nav {
        width: 35%;
        right: -35%;
    }

    #you-may-also-like-section {
        padding: 20px 25% 0 25%;
    }

    #see-all-button-section {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 150px;
    }

    #you-may-also-like-heading {
        padding: 0 0 40px 0;
    }

    #you-may-also-like {
        flex-direction: row;
        justify-content: center;
    }

    .minimal-card {
        width: 16vw;
    }

    #you-may-also-like a {
        margin: 0 20px;
    }
}

a {
    color: #12161d;
}

a:hover {
    color: #4caf6a;
}

a:focus,
button:focus {
    outline: 2px solid #4caf6a;
    outline-offset: 2px;
}

h1 {
    font-size: 32px;
    line-height: 1.4;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}
/* 
@media print {
    body {
        color: #000;
        background: none;
    }

    nav,
    footer,
    button {
        display: none;
    }
}*/