body {
    font-family: 'brandon-grotesque', sans-serif;
    background-color: #fcfcfc;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

.title-font {
    font-family: nove, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.subtitle-font {
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 500;
    font-style: normal;
}

#header {
    display: flex;
    justify-content: space-between;
    /* Space the two navs evenly */
    align-items: center;
    /* Vertically center the navs */
    margin: 0;
    padding: 10px 0;
    background: #fcfcfc;
    position: relative;
    /* Position relative to handle any overflow */
    z-index: 10;
    /* Ensure it stays on top */
}

.top-nav-left,
.top-nav-right {
    display: flex;
    /* Flexbox for each nav container */
    align-items: center;
    /* Center items vertically */
    line-height: 1;
    /* Set consistent line height */
    min-width: 30%;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.top-nav-left li,
.top-nav-right li {
    list-style-type: none;
    /* Remove bullets from list items */
    margin: 0;
    padding: 0;
}

.top-nav-left li {
    float: right;
}

.top-nav-right li {
    float: left;
}

.top-nav-right .button {
    margin-left: 10%;
    width: 100%;
}

li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    line-height: 1;
}

li a:hover {
    color: #E74B3D;
}

#landing-page {
    width: 100%;
    align-items: center;
    text-align: left;
    display: flex;
    padding: 20px;
}

h1,
h2 {
    font-family: "nove", sans-serif;
    color: #2c3e50;
    margin: 0;
}

h1 {
    font-size: 4.5em;
    padding-top: 5%;
    z-index: 5;
}



h2 {
    font-size: 3em;
    width: 100%;
}

h3 {
    font-size: 2em;
    width: 100%;
    margin-bottom: 0;
}


h4, p,
label,
input {
    font-size: 1.5em;
    width: 100%
}

.logo {
    width: 20%;
    max-width: 400px;
    margin-bottom: 20px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.right-container {
    display: flex;
    justify-content: flex-end;
}

a {
    color: inherit;
}

a:hover,
a:active {
    color: #E74B3D;
}

a.button {
    text-decoration: none;
}

a.button:hover,
a.button:active {
    color: #fcfcfc;
}

.highlighed-link {
    color: #E74B3D;
}

.highlighed-link:hover,
.highlighed-link:active {
    color: #2c3e50;
}

.right-text {
    width: 50%;
    text-align: right;
}

.newsletter {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.newsletter p,
.list-main {
    font-size: 1.5em;
}

#hh-title {
    text-align: center;
    width: 100%;
}

.hh-middle-text {
    width: 70%;
    text-align: justify;
}

.responsive-iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.iframe-image{
    padding-bottom: 0%;
    /* 16:9 aspect ratio */
    height: auto
}

.button {
    width: 25%;
    max-width: 200px;
    background-color: #E74B3D;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1em;
    letter-spacing: 1px;
}

.button:hover,
.button:active {
    background-color: #2c3e50;
    transform: scale(1.2);
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover,
.social-links a:active {
    transform: scale(1.2);
}

.social-links img {
    width: 40px;
}

.left-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    /*    align-items: left;*/
    text-align: left;
}

.left-text {
    width: 50%;
    text-align: left;
}

.middle-text {
    width: 100%;
    text-align: center;
}

.game-container {
    position: relative;
    color: #fcfcfc;
    width: auto;
    height: 50vh;
    background-image: url('icons/long-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    /* Cover the entire section */
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 5%;
}

.game-container h2 {
    color: #fcfcfc;
}

.game-container .button {
    text-align: center;
    margin: 0;
}

#footer {
    padding: 25px 0;
    text-align: center;
}

#footer li {
    display: inline-block;
}

.legal {
    font-size: 12px;
    margin: 10px 0 30px 0;
    display: inline-block;
}

.legal a {
    color: #2C3F50;
}

/* Override Mailchimp default styles with your site's styles */
#mc_embed_signup {
    background-color: #fcfcfc;
    color: #2c3e50;
    clear: left;
    font: 14px 'brandon-grotesque', sans-serif;
    width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.checkbox {
    display: flex;
}

#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline;
    width: auto;
    margin-right: 10px;
}

#mc-embedded-subscribe-form input[type="checkbox"]:checked {
    background-color: #E74B3D;
    border-color: #E74B3D;
}

input[type="checkbox"]:checked {
    background-color: #E74B3D !important;
    border-color: #E74B3D;
}

#mergeRow-gdpr {
    margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
    font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
    border: none;
    min-height: 0px;
    padding-bottom: 0px;
}


#mc_embed_signup .mc-field-group input {
    font-family: 'brandon-grotesque', sans-serif;
    padding: 10px;
    width: 100%;
    border: 1px solid #2c3e50;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.checkbox {
    display: flex;
    width: 20%;
}

#mc_embed_signup .button {
    width: 100%;
    max-width: 200px;
    background-color: #E74B3D;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1em;
    letter-spacing: 1px;
    display: block;
    margin: 20px auto 0;
    text-align: center;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 600;
}

#mc_embed_signup .button:hover,
#mc_embed_signup .button:active {
    background-color: #E74B3D;
    transform: scale(1.1);
}

#mc_embed_signup .indicates-required {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 0.9em;
    color: #2c3e50;
    margin-bottom: 15px;
}

#mc_embed_signup .asterisk {
    color: #E74B3D;
    font-size: inherit;
}



#mc_embed_signup .content__gdpr p,
#mc_embed_signup .content__gdprLegal p {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 0.9em;
    color: #2c3e50;
}

#mc_embed_signup .content__gdpr a {
    color: #E74B3D;
    text-decoration: none;
}

#mc_embed_signup .mc-field-group label {
    margin-bottom: 0px;
    display: flex;
}

#mc_embed_signup .content__gdpr a:hover {
    text-decoration: underline;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    grid-template-columns: auto;
    width: 100%;
}

input:focus-visible {
    outline: 1px solid #E74B3D;
    outline: -webkit-focus-ring-color #E74B3D 1px;
}

/* Additional custom styles specific to the Links template */
.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.links-header {
    text-align: center;
    margin-bottom: 20px;
}

.links-header img {
    width: 75%;
}

.links-links {
    width: 80%;
    max-width: 600px;
}

.links-links a {
    display: block;

    padding: 15px;
    margin: 10px 0;
    background-color: #E74B3D;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.links-links a:hover {
    background-color: #2c3e50;
    transform: scale(1.05);
}

.links-links .demo-highlight{
    background-color: #2c3e50;
}

/* Background Section */
#hh-landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full height section */
    background-image: url('images/bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    /* Cover the entire section */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
}

.wishlist-section {
    position: relative;
    width: 100%;
    height: 50vh;
    background-image: url('images/long-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    /* Cover the entire section */
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wishlist-section h2 {
    width: 100%;
    color: #fcfcfc;
}

.wishlist-section p {
    width: 100%;
    color: #fcfcfc;
}

/* Logo Container */
.logo-container {
    position: relative;
    width: 100%;
    /* Adjust as needed */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    /* Ensure no extra margin added */
    padding: 0;
    /* Ensure no extra padding added */
}

/* Logo */
.logo-hh {
    width: 40%;
    /* Adjust size */
    height: auto;
    z-index: 2;
    /* Ensure it stays on top of other images */
}

/* Hover Images */
.hover-image {
    position: absolute;
    width: 500px;
    /* Adjust size */
    height: auto;
    z-index: 1;
    /* Behind the logo */
    transition: transform 0.3s ease;
    /* Add hover effect transition */
    animation: hoverMove 3s infinite alternate;
    /* Infinite animation loop */
}

.hover-image2 {
    position: absolute;
    width: 500px;
    /* Adjust size */
    height: auto;
    z-index: 1;
    /* Behind the logo */
    transition: transform 0.3s ease;
    /* Add hover effect transition */
    animation: hoverMove2 3s infinite alternate;
    /* Infinite animation loop */
}

/* Keyframe Animation for Hover Effect */
@keyframes hoverMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, -10px);
        /* Move slightly towards the center */
    }

    100% {
        transform: translate(0, 0);
        /* Return to original position */
    }
}

@keyframes hoverMove2 {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
        /* Move slightly towards the center */
    }

    100% {
        transform: translate(0, 0);
        /* Return to original position */
    }
}

/* Position each hover image */
.image1 {
    right: 65%;
    transform: translateX(-50%);
    width: 30%;
}

.image2 {
    left: 60%;
    transform: translateX(-50%);
    width: 40%;
}

.image3 {
    left: 80%;
    top: 80%;
    transform: translateY(-50%);
    width: 22%;
}

.image4 {
    right: 20%;
    /* Slightly to the right of the logo */
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    width: 15%;
}

.image5 {
    right: -10%;
    /* Slightly to the right of the logo */
    top: 20%;
    /* Center vertically */
    transform: translateY(-50%);
    width: 20%;
}

.gif-break {
    margin-bottom: 5%;
    max-width: 100%;
}

.image-break {
    max-width: 20vh;
    margin-top: 3%;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    position: relative;
    /* Make sure it's positioned relatively if needed */
}

.screenshot-gallery {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: auto;
    /* Allow natural height based on content */
    overflow: hidden;
    margin: 20px 0;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url('images/bg.jpg');
    background-attachment: fixed;
    background-size: cover;*/
    /* Cover the entire section */
    background-position: right;
    background-repeat: no-repeat;
}

/* Gallery Container for Maintaining Aspect Ratio */
.slides {
    width: 100%;
    height: 400px;
    /* Set a fixed height to ensure visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Gallery Images */

}

/* Gallery Images */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Maintain aspect ratio without cropping */
    opacity: 0;
    /* Start as hidden */
    transition: opacity 1s ease-in-out;
    position: absolute;
    /* Position images on top of each other */
}

/* Active Image */
.gallery-image.active {
    opacity: 1;
    /* Make visible */
    z-index: 1;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    margin: 40px 0;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.blog-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    background-color: #fcfcfc;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: scale(1.05);
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.post-content {
    padding: 0 15px;
}

.blog-post h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.blog-post p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .blog-posts {
        flex-direction: column;
        align-items: center;
    }

    .blog-post {
        width: 90%;
    }
}

/* Blog Post Page Styles */
.blog-post-page {
    margin-top: 40px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-header h1 {
    margin-bottom: 10px;
}

.post-meta {

    color: #7f8c8d;
}

.post-content {
    max-width: 80%;
    margin: 0 auto;
    /* Matches the paragraph font size in the rest of the document */
}

.post-image {
    width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 10px;
}

.post-cta {
    text-align: center;
    background-color: #2c3e50;
    color: white;
    padding: 20px 20px 40px 20px;
    margin-top: 60px;
    border-radius: 10px;
}

.post-cta h3 {
    margin-bottom: 20px;
    margin-top: 0px;
}

.post-cta p {
    margin-bottom: 30px;
}

.post-cta .button {
    background-color: #E74B3D;
    color: white;
    padding: 15px 30px;
    font-size: 1em;
    /* Keeping button text size the same */
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.post-cta .button:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

.small-image {
    max-width: 600px;
}


/* Standard Menu Display for Larger Screens */
.menu-items {
    display: flex;
    /* Normal menu visible by default on larger screens */
    flex-direction: row;
    justify-content: space-around;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    /* Hidden on large screens */
    background-color: transparent;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #2c3e50;
    /* Set this to match the site's color scheme */
    right: 20px;
    /* Align the burger icon to the right */
    z-index: 1001;
    /* Ensure it stays on top */
}

.itch-widget {
    display: none;
  }

/* Mobile Menu Styling */
@media (max-width: 768px) {}

/* Style for when the menu is active */
.menu-active {
    display: flex !important;
}

@media screen and (min-width: 2050px) {
    #hh-landing-page {
        height: 100vh;
    }

    .button {
        max-width: 400px;
        padding: 20px 20px;
        font-size: 2em;
    }
}

@media screen and (min-width: 1601px) {
    #hh-landing-page {
        height: 90vh;
    }
}

@media screen and (max-width: 1600px) {
    #hh-landing-page {
        height: 80vh;
    }

}

@media screen and (min-width: 1290px) {
    .button {
        max-width: 300px;
        padding: 15px 20px;
        font-size: 1.5em;
    }
}

@media screen and (max-width: 1290px) {
    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 2em;
        width: 100%;
    }

    #hh-landing-page {
        height: 70vh;
    }

    .logo {
        width: 25%;
    }

    .right-text,
    .left-text {
        width: 70%;
    }

    .button {
        width: 35%;
    }

    nav .button {

        max-width: 300px;
        padding: 15px 20px;
        font-size: 1.5em;

    }

    .social-links {
        margin-bottom: 10px;
    }

    .social-links img {
        width: 30px;
    }
}

@media screen and (max-width: 1150px) {

    #hh-landing-page {
        height: 60vh;
    }

    .top-nav-left {
        width: 64%;
        display: inline-block;
    }

    .top-nav-right {
        width: 35%;
        display: inline-block;
    }

    li a {
        padding: 10px 12px;
        font-size: 1.1em;
    }
}

@media screen and (max-width: 992px) {
    #hh-landing-page {
        height: 50vh;
    }

    h1 {
        font-size: 3em;

    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
        width: 100%;
    }

    .logo {
        width: 30%;
    }

    /*li {
        float: none;
    }
*/
    /*#header ul {
        display: flex;
        justify-content: flex-end;
    }*/

    .top-nav-left,
    .top-nav-right {
        min-width: 20%;
    }

    .top-nav-left {
        width: 79%;
        display: inline-block;
    }

    .top-nav-right {
        width: 20%;
        display: inline-block;
    }

    li a {
        padding: 10px 12px;
        font-size: 1em;
    }

    .button {
        width: 50%;
    }

    nav .button {
        max-width: 200px;
        padding: 10px 10px;
        font-size: 1em;
    }

    .top-nav-right .button {
        width: auto;
    }

}


@media screen and (max-width: 768px) {
    #hh-landing-page {
        height: 40vh;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
        width: 100%;
    }

    li a {
        font-size: 1em;
        padding: 10px 12px;
    }

    #header ul {
        justify-content: space-evenly;
    }

    #footer ul {
        display: flex;
        justify-content: space-evenly;
    }


    .right-text,
    .left-text {
        width: 90%;
    }


    .button {
        width: 60%;
    }

    nav .button {
        max-width: 200px;
        padding: 10px 10px;
        font-size: 1em;
    }

    li a {
        padding: 9px 8px;
        font-size: 1em;
    }

    #hh-landing-page {
        background-attachment: scroll;
        /* Disable parallax on smaller screens */
    }

    .wishlist-section {
        background-attachment: scroll;
        background-position: right;
        /* Disable parallax on smaller screens */
    }

    .screenshot-gallery {
        max-width: 100%;
        /* Make sure gallery takes full width on smaller screens */
        height: auto;
        /* Allow height to adjust naturally */
    }

    .gallery-image {
        width: 100%;
        max-width: 1024px;
        /* Ensure images remain fully responsive */
        height: auto;
        /* Maintain aspect ratio */
    }

    .top-nav-left {
        width: auto;
        display: inline-block;
    }

    .top-nav-left,
    .top-nav-right {
        min-width: auto;
    }


    ul {
        display: inline-grid;
    }

    .menu-items {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fcfcfc;
        /* Match background color */
        width: 100%;
        text-align: right;
        padding: 10px;
        z-index: 1000;
    }

    .menu-items ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-items li {
        padding: 15px;
    }

    .menu-items a {
        color: #2c3e50;
        text-decoration: none;
        font-size: 1em;
    }

    /* Show the burger button on smaller screens */
    .burger-menu {
        display: block;
        padding: 0px 20px 0px 20px;
    }

    /* When the menu is active (burger clicked), show the menu */
    .menu-active {
        display: flex !important;
        flex-direction: column;
        /* Make it a vertical menu */
    }


    ul {
        display: inline-grid;
    }

    .menu-items {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fcfcfc;
        /* Match background color */
        width: 100%;
        text-align: right;
        padding: 10px;
        z-index: 1000;
    }

    .menu-items ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-items li {
        padding: 15px;
    }

    .menu-items a {
        color: #2c3e50;
        text-decoration: none;
        font-size: 1em;
    }

    /* Show the burger button on smaller screens */
    .burger-menu {
        display: block;
    }

    /* When the menu is active (burger clicked), show the menu */
    .menu-active {
        display: flex !important;
        flex-direction: column;
        /* Make it a vertical menu */
    }
    .highlighed-link {
        color: #E74B3D !important;
    }
}

@media screen and (max-width: 690px) {
    h1 {
        font-size: 2.3em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1em;
        width: 100%;
    }

    li a {
        font-size: 0.9em;
        padding: 8px 7px;
    }


    #hh-landing-page {
        height: 30vh;
    }

    .button {
        width: 50%;
    }

    .social-links {
        margin-bottom: 10px;
    }

    .social-links img {
        width: 20px;
    }

    #mc_embed_signup {

        width: 400px;

    }

    .hh-middle-text {
        width: 85%;
    }
}

/* Show the desktop version on larger screens */
  @media screen and (min-width: 600px) {
    .itch-widget.desktop {
      display: block;
    }
  }

  /* Show the mobile version on smaller screens */
  @media screen and (max-width: 599px) {
    .itch-widget.mobile {
      display: block;
    }
  }

@media screen and (max-width: 576px) {

    body, h4,
    p,
    label,
    input {
        font-size: 1.1em;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1.1em;
    }

    #hh-landing-page {
        height: 20vh;
    }

    li a {
        font-size: 0.8em;
        padding: 6px 6px;
    }

    .newsletter p,
    .list-main {
        font-size: 1.2em;
    }

    .button {
        width: 50%;
    }

    nav .button {
        max-width: 150px;
        padding: 8px 8px;
        font-size: 0.8em;
    }

    .legal {
        font-size: 10px;
    }

    #footer {
        padding: 5px 5px;
        font-size: 0.7em;
    }

    #mc_embed_signup {

        width: 280px;

    }

}

@media (max-width: 480px) {
    .screenshot-gallery {
        padding: 0 10px;
        /* Add some padding for smaller screens */
    }

    li a {
        font-size: 0.7em;
        padding: 5px 5px;
    }

    nav .button {
        max-width: 120px;
        padding: 5px 5px;
        font-size: 0.7em;
    }
}

@media screen and (max-width: 430px) {

    body, h4, 
    p,
    h3,
    label,
    input {
        font-size: 1em;
    }

    h1 {
        font-size: 1.9em;
    }

    h2 {
        font-size: 1.1em;
    }


    .newsletter p,
    .list-main {
        font-size: 1.1em;
    }

    .legal {
        font-size: 8px;
        margin-bottom: 10px;
    }

}

@media screen and (max-width: 360px) {

    body, h4,
    p,
    label {
        font-size: 1em;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }

    li a {
        font-size: 0.6em;
        padding: 4px 4px;
    }

    nav .button {
        max-width: 120px;
        padding: 4px 4px;
        font-size: 0.6em;
    }

    .newsletter p,
    .list-main {
        font-size: 1.1em;
    }

    .social-links img {
        width: 15px;
    }

}

/* Responsive design */
@media screen and (max-width: 768px) {
    .links-links a {
        padding: 12px;
        font-size: 1em;
    }
}

@media screen and (max-width: 576px) {


    .links-links a {
        padding: 10px;
        font-size: 1em;
    }
}

@media screen and (max-width: 430px) {
    .links-header img {


        .links-header h1 {
            font-size: 1.5em;
        }

        .links-header p,
        .list-main {
            font-size: 1em;
        }

        .links-links a {
            padding: 8px;
            font-size: 1em;
            margin: 5px 0;
        }
    }