/* Define CSS custom properties */
:root {
    --primary-color: #dadada;
    --secondary-color: #fff;
    --highlight-color: 201, 201, 201;
    --text-color: #000;
    --background-color: darkgray;
    --border-color: #c9c9c9;
    --border-width: 2px;
    --border-radius: 5px;
    --margin-small: 10px;
    --margin-medium: 25px;
    --margin-large: 50px;
    --padding-small: 5px;
    --padding-medium: 10px;
    --padding-large: 20px;
    --font-size-small: 0.8rem;
    --font-size-medium: 1rem;
    --font-size-large: 1.5rem;
    --font-family-base: 'Arial', Helvetica, sans-serif;
    --font-family-heading: 'Arial', Helvetica, sans-serif;
    --font-family-subheading: 'Arial', Helvetica, sans-serif;
    --font-family-paragraph: 'Arial', Helvetica, sans-serif;
    --font-family-button: 'Arial', Helvetica, sans-serif;
    --font-family-a: 'Arial', Helvetica, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-base);
    max-width: 100vw;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
}

h2 {
    font-family: var(--font-family-subheading);
}

p {
    font-family: var(--font-family-paragraph);
}

button,
.button {
    font-family: var(--font-family-button);
}

a {
    color: var(--text-color);
    font-family: var(--font-family-a);
}

nav .menubar .buttons>ul>li>a {
    font-family: var(--font-family-button);
}

/* Add specific overrides for links that should be dark */
.posts article a,
.links a,
.mainMenubar a,
nav .menubar .buttons > ul > li > a,
.containerAbout .about .bottomSection a {
    color: var(--text-color);
}

/* Media queries */
@media screen and (max-width: 768px) {
    .container {
        padding: var(--padding-small);
        margin-left: 0; /* Remove left margin */
        width: 95%;
        margin: 0 auto;
    }

    .containerFooter {
        >.rows {
            && li {
                width: max-content;
            }
        }
    }

    .containerAbout {
        flex-direction: column;
        align-items: center;
        padding: var(--padding-small);

        .images {
            height: 200px;
        }

        .about {
            max-width: 100%;
            padding: var(--padding-small);
            height: auto;
        }
    }

    .mainMenubar .buttons ul {
        flex-direction: column;
        align-items: center;
    }

    .containerAbout {
        flex-direction: column;
        align-items: center;
        padding: var(--padding-small);

        .images {
            height: 200px;
        }

        .about {
            max-width: 100%;
            padding: 0;
        }
    }

    .posts article {
        width: 100%;
        margin: var(--margin-small) 0;
        width: 45%;
    }

    .links ul {
        flex-direction: column;
        align-items: center;
    }

    .containerFooter {
        flex-direction: column;
        align-items: center;
        padding: var(--padding-small);
        .rows {
            flex-direction: column;
            align-items: center;
            gap: var(--margin-small);
        }
    }

    button,
    .button {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }

    .mainMenubar .buttons ul li,
    nav .menubar .buttons>ul>li {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }
}

@media screen and (max-width: 600px) {
    * {
        font-size: calc(var(--font-size-small) - 0.1rem);
    }

    nav {
        .info {
            ul {
                li {
                    a{
                        font-size: 1.5rem !important;
                    }
                }
            }
        }
    }

    main {
        * {
            font-size: var(--font-size-large);
            line-height: 2rem;
        }
    }

    .mainMenubar .buttons ul li {
        font-size: var(--font-size-medium);
    }

    .containerAbout .about .title h1 {
        font-size: var(--font-size-large);
    }

    .containerAbout .about .textSection li {
        font-size: var(--font-size-medium);
    }

    .containerAbout .about .bottomSection h2,
    .containerAbout .about .bottomSection p,
    .containerAbout .about .bottomSection h3,
    .containerAbout .about .bottomSection a {
        font-size: var(--font-size-medium);
    }

    .containerAbout .about {
        max-width: 100%;
        padding: var(--padding-small);
        height: auto;
    }

    .posts article .textSection h2 {
        font-size: var(--font-size-medium);
    }

    .posts article .textSection p {
        font-size: var(--font-size-small);
    }

    .posts article a {
        font-size: var(--font-size-medium);
    }

    .links ul li a {
        font-size: var(--font-size-medium);
    }

    .containerFooter .rows li,
    .containerFooter .rows a {
        font-size: var(--font-size-medium);
    }

    .containerFooter {
        flex-direction: column;
        align-items: center;
        padding: var(--padding-small);
        .rows {
            flex-direction: column;
            align-items: center;
            gap: var(--margin-small);
        }
    }

    button,
    .button {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }

    .mainMenubar .buttons ul li,
    nav .menubar .buttons>ul>li {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }

    .container {
        max-width: 100%;
        padding: var(--padding-small);
        margin-left: 0; /* Remove left margin */
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: var(--padding-small);
    }

    .about {
        .title {
            h1 {
                font-size: 1.3rem; /* Further adjusted font size */
            }
        }

        .bottomSection {
            h2 {
                font-size: 1.2rem; /* Adjusted font size */
            }
            h3,
            a {
                font-size: 0.85rem !important; /* Further adjusted font size */
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .active {
        overflow: hidden;
    }

    .container {
        padding: 0;
        min-width: 100vw !important;
    }

    .menubar {
        max-width: 100% !important;
        >.title, .info {
            z-index: 2;
        }

        >.buttons {
            display: none;
        }

        >.active {
            position: fixed;
            left: 0;
            top: 0;
            width: 100vw !important;
            min-width: 100vw !important;
            height: 100vh !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-color);
            z-index: 1;
            
            >ul {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 0;
                
                >li {
                    width: auto; /* Remove full width from buttons */
                    min-width: 200px; /* Set minimum width */
                    max-width: 80%; /* Limit maximum width */
                    margin: var(--margin-small) 0;
                    padding: var(--padding-medium) var(--padding-large) !important;
                    text-align: center;
                }
            }
        }

        >#hamburgerIcon {
            background-color: rgb(var(--highlight-color));
            color: var(--text-color);
            display: block !important;
            list-style: none;
            padding: var(--padding-medium);
            border-radius: 5px;
            font-weight: 700;
            font-size: var(--font-size-medium);
            z-index: 1;
            margin: var(--margin-medium);
        }
    }

    .mainMenubar {
        justify-content: center !important;

        >.buttons {
            ul {
                flex-direction: unset !important;
            }
            && li {
                padding: var(--padding-small) var(--padding-medium);
                text-align: center;
                font-size: 12.5px;
            }
        }
    }

    .containerAbout {
        flex-direction: column;
        align-items: center;
        position: relative;
        max-height: 100vh !important;
        padding: 0;

        && .images {
            align-self: center;
            background-position: center;
            height: 300px;
            width: 100%;
            position: relative;
            
            >.image {
                height: 100%;
                width: 100%;
            }
        }

        >.about {
            min-width: 100% !important;

            >.title,
            h1 {
                font-size: var(--font-size-large);
            }

            >.title,
            p {
                font-size: var(--font-size-medium);
            }

            >.title,
            li {
                font-size: 1.25rem;
            }

            >.bottomSection,
            h2 {
                font-size: var(--font-size-large);
            }

            >.bottomSection,
            p {
                font-size: 1.25rem;
            }

            && .bottomSection a {
                color: var(--text-color);
                font-size: var(--font-size-large) !important;
            }
        }
    }

    button {
        min-width: 75%;
    }

    .posts {
        >article {
            min-width: 45%;

            h2 {
                font-size: var(--font-size-large);
            }

            p {
                font-size: var(--font-size-medium);
            }

            a {
                font-size: var(--font-size-large) !important;
            }
        }
    }

    .links {
        flex-wrap: wrap;

        && ul {
            margin: var(--margin-large);

            >li {
                margin: var(--margin-medium) 0;
            }

            >li a {
                font-size: var(--font-size-medium);
            }
        }
    }

    .containerFooter {
        flex-direction: column;
        align-items: center;
        max-width: 100%;

        .rowSection {
            display: flex !important;
            flex-direction: column !important;
            align-items: center;
            gap: var(--margin-medium);
        }

        .row1 {
            margin: auto;
            margin: var(--margin-large) 0;
            width: fit-content !important;
        }

        .rows {
            gap: var(--margin-large) !important;
            padding-right: 0 !important;
            margin: auto;
            max-width: 100%;
            display: flex;
            flex-direction: column !important;
            align-items: center;
            text-align: center;

            && ul {
                margin: 0.25rem 0;
            }
        }

        && h2 {
            font-size: 2rem;
        }

        && li,
        a {
            font-size: 1.25rem;
        }
    }
    .copyright {
        font-size: 1rem;
    }

    .menubar {
        >.active {
            width: 100vw !important; /* Force full viewport width */
            min-width: 100vw !important;
            left: 0;
            right: 0;
            margin: 0;
            padding: 0;
            
            >ul {
                width: 100%;
                min-width: 100%;
                padding: 0;
                margin: 0;
                
                >li {
                    width: 100%;
                    margin: var(--margin-small) 0;
                    padding: 12.5% !important;
                    text-align: center;
                }
            }
        }
    }

    .brandSliderContainer {
        overflow: hidden;

        .brandSlider {
            display: flex;
            gap: 5%;
            margin: var(--margin-medium) 0;
            max-width: 100vw;
            will-change: transform;

            a, img {
                height: 100px !important;
                width: auto;
            }
        }
    }
}

@media screen and (max-width: 480px) {
    * {
        font-size: var(--font-size-small);
    }

    body {
        flex-direction: column;
        padding: 0;
    }

    nav {
        .menubar { 
            .title {
                img {
                    height: 50px !important;
                }
            }

            .info {
                ul {
                    * {
                        font-size: calc(var(--font-size-small)) !important;
                    }
                }
            }

            .buttons {
                padding: var(--padding-small);
                margin: 0 var(--margin-small);

                >ul {
                    display: flex;
                    gap: 5px;

                    >li {
                        padding: 3px 6px;
                        font-size: 0.65rem;
                        margin: 0;
                        height: fit-content;
                    }
                }
            }
        }
    }

    nav .menubar .buttons {
        display: none;
    }

    nav .menubar .title img {
        height: 75px;
    }

    .container {
        max-width: 100%;
        padding: 0;
        margin-left: 0; /* Remove left margin */
    }

    .containerAbout {
        flex-direction: column;
        align-items: center;
        padding: 0;

        .images {
            height: 200px;
        }

        .about {
            max-width: 100%;
            padding: var(--padding-small);
            height: auto;

            .bottomSection {
                margin: -5px;

                .contact {
                    display: flex;
                    flex-direction: column;

                    .phoneContainer, .emailContainer {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                    }

                    .phoneContainer {
                        gap: 20px;
                    }
                }
            }
        }
    }

    .posts article {
        width: 100%;
        margin: var(--margin-small) 0;
    }

    .links ul {
        flex-direction: column;
        align-items: center;
    }

    .containerFooter {
        flex-direction: column;
        align-items: center;
        padding: var(--padding-small);
        .rows {
            flex-direction: column;
            align-items: center;
            gap: var(--margin-small);
        }
    }

    button,
    .button {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }

    .mainMenubar .buttons ul li,
    nav .menubar .buttons>ul>li {
        font-size: var(--font-size-small);
        padding: var(--padding-small);
    }
}

@media screen and (min-width: 900px) and (max-width: 1000px) {
    nav {
        .title {
            img {
                height: 35px !important; /* Reduced from 50px */
            }
        }

        .buttons {
            padding: var(--padding-small) !important;
            margin: 0 1%; /* Reduced from 2% */

            >ul {
                display: flex;
                gap: 5px; /* Reduced from 10px */

                >li {
                    padding: 3px 6px !important; /* Reduced from 4px 8px */
                    font-size: 0.65rem; /* Reduced from 0.7rem */
                    margin: 0;
                    height: fit-content;
                }
            }
        }
    }
}

@media screen and (min-width: 1020px) and (max-width: 1100px) {
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    nav .menubar {
        padding: 0;
        margin: 0;
    }

    main {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mainMenubar,
    .containerAbout,
    .posts,
    .links {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .posts article {
        margin: 2% 0;
    }
}

@media screen and (min-width: 1020px) {
    nav {
        .title {
            img {
                height: 135px !important; /* Set to full size for desktop */
            }
        }
        .buttons {
            padding: var(--padding-small) !important;
            margin: 0 2%;

            >ul {
                display: flex;
                gap: 10px;

                >li {
                    padding: 4px 8px !important;
                    font-size: 0.7rem;
                    margin: 0;
                    height: fit-content;
                }
            }
        }
    }
    .containerAbout {
        position: relative;
        height: 57.5vh;
        
        >.about {
            position: absolute;
            top: 0;
            right: 0;
            height: 57.5vh;
            width: 25%;
            z-index: 2;
            background-color: rgba(0, 0, 0, 0.75);
            color: var(--secondary-color);
            display: flex;
            flex-direction: column;
            font-size: 0.9em;
        }
        >.images {
            width: 75%;
            height: 57.5vh;
            z-index: 1;
            
            >.image {
                height: 100%;
            }
        }
    }

    footer .containerFooter {
        flex-direction: row; /* Set flex-direction to row */
        justify-content: space-between; /* Distribute space between items */
        align-items: center; /* Align items to the center */
    }
}

@media screen and (max-width: 1300px) {
    .mainMenubar .buttons ul li,
    nav .menubar .buttons>ul>li {
        font-size: var(--font-size-medium);
        padding: var(--padding-small) var(--padding-small) !important;
    }

    nav {
        .info {
            ul {
                li {
                    font-size: var(--font-size-medium) !important;
                }
            }
        }
    }

    .containerAbout {
        max-width: 100% !important;
    }

    .containerAbout > .about {
        max-height: 100% !important;
        overflow: hidden !important;

        .textSection, .title {
            font-size: var(--font-size-small) !important;
            padding: var(--padding-medium) !important;
        }

        .bottomSection {
            max-height: 31.25% !important;
            padding: var(--padding-small) !important;
            h2 {
                font-size: var(--font-size-medium);
            }

            p {
                font-size: var(--font-size-small);
            }

            h3,
            a {
                font-size: var(--font-size-small);
            }
        }
    }
}

@media screen and (min-width: 1600px) {
    .containerAbout .images {
        height: 400px; /* Increase height */
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    nav .menubar .buttons > ul > li {
        padding: 5px !important;  /* Reduced padding */
        font-size: 1rem !important;      /* Smaller font size */
        margin: 2px;             /* Added small margin */
    }
    
    .containerAbout {
        margin: 0;
        padding: 0;
        max-height: 85vh;        /* Limit maximum height */
        
        > .about {
            height: auto;
            max-height: 55vh;    /* Reduced max height */
            overflow-y: auto;     /* Add scroll if content overflows */
        }

        .bottomSection {
            max-height: 25%;
        }
    }

    .container {
        margin: 0;
        padding: 0;
    }
}

@media screen and (min-width: 900px) and (max-width: 1020px) {
    nav .menubar .buttons {
        padding: var(--padding-small) !important;
        
        > ul > li {
            padding: 4px 8px !important;
            font-size: 0.7rem;
            margin: 0;
            height: fit-content;
        }
    }
    nav {
        .info {
            ul {
                li {
                    font-size: 0.75rem !important;
                }
            }
        }
    }
    
    .containerAbout {
        margin: 0;
        padding: 0;
        height: 65vh !important;
        
        > .about {
            height: 65vh !important;
            max-height: none;
            overflow-y: visible;
        }

        > .images {
            height: 65vh !important;
            
            > .image {
                height: 65vh !important;
            }
        }

        .bottomSection {
            height: auto;
            max-height: none;
        }
    }

    .container {
        margin: 0;
        padding: 0;
    }
}

@media screen and (min-width: 900px) and (max-width: 935px) {
    nav {
        .menubar {
            .title {
                img {
                    height: 30px !important; /* Even smaller for this specific range */
                }
            }
            
            .buttons {
                padding: var(--padding-small) !important;
                margin: 0 0.5%; /* Reduced margin */
                
                > ul {
                    gap: 4px; /* Smaller gap */
                    
                    > li {
                        padding: 2px 5px !important; /* Smaller padding */
                        font-size: 0.6rem; /* Smaller font */
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 1100px) and (max-width: 1300px) {
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    nav .menubar {
        padding: 0;
        margin: 0;
    }

    main {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mainMenubar,
    .containerAbout,
    .posts,
    .links {
        padding: 0;
        margin: 0;
        width: 100%;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1800px) {
    .containerAbout > .about {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Ensures no large gaps */
        max-height: 55.75vh !important; /* Limit height */

        .title {
            padding: var(--padding-medium) !important;

            h1 {
                font-size: 1.5rem; /* Increase font size */
            }
        }
        
        .textSection {
            font-size: 0.9em !important;
            padding: 0 !important;
        }

        .bottomSection {
            max-height: 16.5vh !important;
            padding: var(--padding-medium) !important;
            h2, h3, p, a {
                font-size: 0.8em !important;
            }
        }
    }
}

/* General styles */
.container {
    margin: 0 auto;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

nav {
    .menubar {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: fit-content;
        box-shadow: var(--shadow-sm);
        
        .title {
            margin-left: 1.5%;

            img {
                height: 135px; /* Reset to original 100px for desktop */
                width: auto;
            }
        }

        .info {
            width: fit-content;
            ul {
                display: flex;
                flex-direction: row;
                gap: var(--margin-large);

                li {
                    list-style-type: none;
                    font-size: var(--font-size-large);

                    i {
                        color: var(--text-color);
                    }

                    a {
                        color: var(--text-color);
                        text-decoration: none;
                        transition: all var(--transition-speed) ease-in-out;

                        &:hover {
                            opacity: 0.8;
                            color: rgb(var(--highlight-color)) !important;
                        }
                    }
                }
            }
        }

        >#hamburgerIcon {
            display: none;
        }

        >.buttons {
            padding: var(--padding-large);
            margin: 0 var(--margin-large);

            >ul {
                display: flex;
                gap: 10px;

                >li {
                    background-color: rgb(var(--highlight-color));
                    color: var(--text-color);
                    list-style: none;
                    padding: var(--padding-medium);
                    font-weight: 700;
                    font-size: 1.25rem;
                    transition: transform var(--transition-speed), background-color var(--transition-speed);
                    border-radius: 4px;
                    border: 2px solid black;

                    >a {
                        color: var(--text-color);
                        text-decoration: none;
                    }

                    &&:hover {
                        filter: brightness(80%);
                        transition: 0.3s ease-in-out;
                        transform: translateY(-2px);
                    }
                }
            }
        }
    }
}

main {
    flex: 1;
    .mainMenubar {
        background-color: var(--background-color);
        padding: var(--padding-medium);
        display: flex;
        justify-content: center;
        overflow-y: hidden;

        >.buttons {
            >ul {
                display: flex;
                gap: 10px;
                user-select: none;

                >li {
                    background-color: rgba(var(--highlight-color), 0);
                    color: var (--text-color);
                    list-style: none;
                    padding: var(--padding-medium);
                    font-weight: 700;
                    font-size: 1.25rem;

                    >a {
                        color: var(--text-color);
                        text-decoration: none;
                    }

                    &&:hover {
                        background-color: rgba(var(--highlight-color), 0.75);
                        transition: 0.3s ease-in-out;
                    }
                }
            }
        }
    }

    button,
    .button {
        background-color: rgb(var(--highlight-color));
        color: var (--text-color);
        list-style: none;
        padding: var(--padding-small);
        font-weight: 700;
        cursor: pointer;
        max-width: 25%;
        user-select: none;
        border: 2px solid var(--primary-color);
        font-size: var(--font-size-medium);

        color: var(--text-color);
        text-decoration: none;
    }

    button:hover {
        filter: brightness(80%);
        transition: 0.3s ease-in-out;
    }

    .containerAbout {
        display: flex;
        margin: var(--margin-medium) 0;
        max-height: 55.75vh;

        >.images {
            min-width: 75%;
            height: auto;

            >.image {
                background-size: cover;
                background-position: center;
                max-height: 55.75vh;
                width: 100%;
            }
        }

        >.about {
            background-color: rgba(0, 0, 0, 0.75); /* Add transparency */
            color: var(--secondary-color);
            display: flex;
            flex-direction: column;
            max-width: 25%;;
            max-height: 100%;
            font-size: 0.9em; /* Reduce base font size */
            left: 72%;
            backdrop-filter: blur(8px);
            transition: opacity var(--transition-speed);

            &:hover {
                opacity: 0.95;
            }

            >.title {
                margin-bottom: var(--margin-small);
                text-transform: uppercase;
                padding: var(--padding-large);
                font-size: 15px;
                flex: 1; /* Occupies 25% */
            }

            >.textSection {
                font-size: 1.5rem;
                margin: 10px;
                height: auto;
                padding: var(--padding-medium);
                flex: 2; /* Occupies 50% */

                >ul {
                    padding: 0 var(--padding-medium) var(--padding-medium);
                    margin-left: 10px;
                }

                && li {
                    padding: var(--padding-small);
                }
            }

            >.bottomSection {
                background-color: rgba(var(--highlight-color), 0.90);
                color: var(--text-color);
                max-height: 100%;
                padding: var(--padding-medium);
                flex: 1;
                border-top: 1px solid rgba(255,255,255,0.1);
                padding: 7px !important;


                h2 {
                    padding: var(--padding-small);
                }

                p {
                    padding: 0 var(--padding-small);
                }

                .contact {
                    h3,
                    a {
                        color: var(--text-color);
                        padding: 7.5px;
                        font-size: var(--font-size-large);
    
                        &&:hover {
                            text-decoration: none;
                        }
                    }

                    .phoneContainer, .emailContainer {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        font-size: var(--font-size-large);
                    }

                    .phoneContainer {
                        gap: 20px;
                    }
                }
            }
        }
    }

    .posts {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4.75%;
        margin: 25px 0;

        >article {
            width: 20%;
            height: 75vh;
            margin: 2.5% 0;
            border: var(--border-width) solid var(--border-color);
            transition: none; /* Remove transition */
            box-shadow: var(--shadow-md);
            border-radius: 8px;
            overflow: hidden;

            &:hover {
                transform: none; /* Remove transform on hover */
                box-shadow: var(--shadow-md); /* Keep original shadow */
            }

            >img {
                width: 100%;
                height: 40%;
                transition: none; /* Remove transition */

                &:hover {
                    transform: none; /* Remove transform on hover */
                }
            }

            >.textSection {
                padding: var(--padding-small);
                height: 35%;
                padding: 0 25px;
                padding: var(--padding-medium);

                && h2 {
                    padding-top: 10px;
                }

                >.date {
                    opacity: 0.75;
                }

                >.text {
                    margin: 10px 0;
                }

            }

            >a {
                border: 1px solid var(--text-color);
                border-radius: 5px;
                width: max-content;
                margin: 10% auto;
                padding: 5px;
                color: var(--text-color);

                text-decoration: none;
                font-size: 1.15rem;
                display: flex;
                justify-content: center;

                &&:hover {
                    background-color: gray;
                    transition: 0.3s ease-in-out;
                }
            }
        }
    }

    .links {
        background-color: var(--background-color);
        display: flex;
        justify-content: space-around;
        padding: 0 var(--padding-large);
        user-select: none;
        text-align: center;
        font-size: 1.25rem;
    
        li {
            padding: var(--padding-medium);
            list-style-type: none;
    
            a {
                text-decoration: none;
                color: var(--text-color);
            }
        }
    }    

    .brandSliderContainer {
        overflow: hidden;

        .brandSlider {
            display: flex;
            gap: 5%;
            margin: var(--margin-medium) 0;
            max-width: 100vw;
            will-change: transform;

            a, img {
                height: 200px;
                width: auto;
            }
        }
    } 
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;

    .containerFooter {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        display: flex;
        padding: var(--padding-small);
        height: fit-content;
        align-items: center;
        flex-direction: column;
        justify-content: center;

        a {
            color: var(--text-color) !important;
            text-decoration: none;
            transition: opacity var(--transition-speed);

            &:hover {
                opacity: 0.8;
                color: rgb(var(--highlight-color)) !important;
            }
        }

        && a {
            color: var(--text-color);
            text-decoration: none;
            transition: color var(--transition-speed);

            &:hover {
                color: rgb(var(--highlight-color));
            }
        }

        .rowSection {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: row;
            width: 100%;
            margin-bottom: var(--margin-medium);
        }

        .row1 {
            height: fit-content;
            margin: 0 var(--margin-medium);
            width: fit-content;
            width: 10vw;

            >img {
                height: auto;
                width: 135px;
            }
        }

        .rows {
            display: flex;
            justify-content: center;
            flex-direction: row;
            align-items: center;
            width: 90vw;
            gap: 10%;
            font-size: 1rem;

            && li {
                list-style: none;
                padding: var(--padding-small);
                color: var(--text-color);
                margin: auto;
            }

            && i {
                padding-right: 20px;
                max-width: 5px;
            }
        }

        .copyright {
            font-style: italic;
            color: var(--text-color);
        }
    }
}

.slide {
    position: absolute;
}

@media screen and (min-width: 1025px) {
    .containerAbout {
        position: relative;
        height: 75vh !important;
        
        >.about {
            position: absolute;
            top: 0;
            right: 0;
            height: 75vh;
            width: 25%;
            z-index: 2;
            background-color: rgba(0, 0, 0, 0.75);
            color: var(--secondary-color);
            display: flex;
            flex-direction: column;
            font-size: 0.9em;
        }
        .bottomSection {
            max-height: 21vh !important;
            padding: var(--padding-small) !important;
            h2 {
                font-size: 1.25rem;
            }
            p {
                font-size: 1rem;
            }
            h3,
            a {
                font-size: 0.85rem;
            }
        }

        >.images {
            width: 75%;
            height: 75vh !important;
            z-index: 1;
            
            >.image {
                height: 100%;
                height: 75vh !important;
            }
        }
    }
}