@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");
:root {
  --color-1: #0f1016; /* Dark background color */
  --text-color:  #f0f0f0; /* Light text color */
  --accent-color: #faa31b; /* Accent color */
  --link-color: #ba2026; /* Link color */
}
* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 12pt;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
a {
  text-decoration: none;
  color: var(--link-color);
}
h, h1, h2, h3 {
    font-family: 'Poiret One', sans-serif;
    font-weight: 800;
}
nav {
  height: 60px;
  background-color: var(--color-1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: Poiret One, sans-serif;
  font-weight: 800;
}
.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    .logo {
        display: block;
        width: 32px;
        height: 32px;
        margin-left: 20px;
    }
}
nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}
nav a:hover {
    background-color: var(--accent-color);
}
nav .home-link {
    margin-right: auto;
}
nav svg {
    fill: var(--text-color);  
}
#sidebar-active {
    display: none;
}
.open-sidebar-button, .close-sidebar-button {
    display: none;
}
main {
    padding-left: 0px;
}
img.background {
    max-width: 100%;
    overflow: hidden;
    height: 1101px;
    object-fit: cover;
    object-position: bottom;
    align-self: center;
} 
img.showcase {
    width: 950px;
    max-width: 100%; 
    height: auto;
    object-fit: cover;
    object-position: center;
    position: relative;
}
.box-contact {
    width: 100%; /* Optional: Sets a width for the container */
    text-align: center; /* Centers the content horizontally */
    position: absolute; /* Positions the box absolutely */
    top: 50%; /* Positions the box in the middle of the page */
    transform: translateY(-50%); /* Centers the box vertically */
    font-family: "Poiret One", sans-serif; /* Sets the font family */
    font-size: 32px;
    a {
        text-decoration: none;
        color: var(--link-color);
        font-weight: 800;
    }
}
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: center;
    color: white;
    font-family: "Poiret One", sans-serif;
    font-weight: bold;
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
    padding: 25px;
    background-color: #ba2026;
    opacity: 0.8;
}
.quote {
    text-align: center;
    color: white;
    font-family: "Poiret One", sans-serif;
    font-weight: bold;
    font-size: calc(12px + 6 * ((100vw - 320px) / 680));
    padding: 10px;
    background-color: #ba2026;
    opacity: 0.8;
}
.container {
    padding-left: 20px;
}
.container2 {
    width: 47.5%;
    display: flex;
    flex-direction: column;
    float: left;
    margin: 0 auto;
    padding: 10px;
    padding-left: 20px;
    border-radius: 5px;
    position: relative;
}
@media (max-width: 450px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;

        background-color: var(--color-1);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.5s ease-out;

        .logo {
            display: none;
        } 
    }
    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar-button, .close-sidebar-button {
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container {
        right: 0;
    }
    #sidebar-active:checked ~ #overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    img.background {
        display: none; 
    }
    .container2 {
        width: 90%;
        display: flex;
        flex-direction: column;
        float: left;
        margin: 0 auto;
        padding: 10px;
        padding-left: 20px;
        border-radius: 5px;
        position: relative;
        } 
}
@media (min-width: 1910px) {
    img.background {
        display: none;
    }
}
