@font-face{
font-family: 'Marcellus-regular';
src: url(/fonts/Marcellus-Regular.ttf);
}
h1{
    font-family: Marcellus-regular;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background-color: #E0E0E0;
}
h2{
    text-align: center;
    font-size: 25px;
}
.topnav {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    display: flex; 
    justify-content: flex-end; 
    overflow: hidden; 
    background-color: #1f1f20; 
    z-index: 1000; 
}
.nav-text{
    font-size: 20px;
    color: white; 
    margin-right: auto; 
    padding-top: 17px;
    padding-left: 20px;
}
.topnav a {
    color: #f2f2f2;
    text-align: center;
    padding: 20px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav a:hover {
    background-color: #E0E0E0;
    color: black;
}
.topnav a.active {
    background-color: #115297;
    color: white;
}
@media screen and (max-width: 900px) { 
    .topnav {
      flex-direction: column; 
    }
    .nav-links {
      flex-direction: column; 
      display: none; 
    }
    .nav-links.show {
      display: flex; 
    }
    .toggle-button {
      font-size: 24px;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }
  }
  @media screen and (min-width: 900px) { /* show the navbar and hide the toggle button */
    .nav-links {
      display: flex; 
    }
    #toggleButton {
      display: none; /* Hide toggle button on larger screens */
    }
  }

/* Work page */
.grid-imag {
    display: grid;
    grid-template-columns: 2fr 2fr; /* Work on one side Text on other */
    max-width: 1500px; 
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
}
.grid-imag2 {
    display: grid;
    grid-template-columns: 2fr 2fr; 
    max-width: 1500px; 
    width: 100%;
    padding: 20px;
}
.image-section img { /* Responsive img */
    max-width: 100%; 
    height: auto; 
}
.text-section {
    display: flex;
    flex-direction: column;
    margin-right: 150px;
    justify-content: center; /* Center text vertically */
}

@media (max-width: 768px) {
    .text-section {
        margin-right: 0; 
    }
}

.text-section2 {
    text-align: right;
    margin-left: 150px;
}

@media (max-width: 768px) {
    .text-section2 {
        margin-left: 0; 
    }
}
.text-section h1 {
    font-size: 2em;
    margin-bottom: 5px;

}
.text-section p {
    font-size: 20px;
    margin-bottom: 100px;
    padding-right: 50px;
    line-height: 1.5; 
}
.text-section2 p {
    font-size: 20px;
    margin-bottom: 100px;
    line-height: 1.5; 
    padding-left: 50px;
}

.spa{
    margin-left: 50px;
}
.cen {
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center; 
    margin: 0 auto;   
    width: 50%;        
}
p {
    font-family: "Barlow", sans-serif;
}
#Paragraph {
    margin-left: 50px;
    line-height: 1.8em;
    padding-right: 700px;
}
.hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
    height: 60vh;
    overflow: hidden;
}
.hero-image {
    grid-column: 1 / -1;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(45%);
    z-index: 1;
}
.hero-text {
    font-size: 20px;
    grid-column: 1 / -1;
    position: relative;
    font-style: bold;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 120px;
}

#space{
    margin-top: 25px;
    margin-bottom: 100px;
}

#hspace{
    margin-top: 25px;
    margin-bottom: 100px; /* space below the text */
}

.spac{
    padding-left: 359px;
    padding-right: 359px;
}

@media (max-width: 1250px) { 
    .spac {
        padding-left: 250px; 
    }
}

@media (max-width: 980px) { 
    .spac {
        padding-left: 150px; 
        padding-right: 50px;
    }
}

@media (max-width: 880px) { 
    .spac {
        padding-left: 0px; 
        padding-right: 0px;
    }
}

/* Establish the grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    gap: 20px; 
    margin-bottom: 200px; 
}

/* Default styles for grid items */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px; 
    margin-bottom: 100px; 
}

/* Default styles for grid items (for larger screens) */
.grid-item {
    font-size: 20px;
    grid-column: span 8;
    margin-left: 150px; 
    line-height: 1.8em;
    padding-right: 250px; 
}

/* Responsive styles for medium screens */
@media (max-width: 1100px) {
    .grid-item {
        grid-column: span 6; 
        margin-left: 15px; 
        padding-right: 15px; 
    }
}

/* Responsive styles for small screens */
@media (max-width: 900px) {
    .grid-item {
        grid-column: span 12; 
        margin-left: 10px; 
        padding-right: 10px; 
    }
}

.black-bar {
    background-color: #333a40; 
    color: white;
    padding: 100px; 
    text-align: left; 
    line-height: 1.8em;
}

.black-bar-text {
    font-size: 20px; 
}
@media (max-width: 1250px) { 
    .black-bar {
        padding-right: 250px; 
    }
}
.image img {
    transition: transform 0.3s ease; 
}
.image:hover img {
    transform: scale(1.1);
}
.footer {
    position: relative; 
    left: 0;
    width: 100%;
    height: 100px; 
    background-color: #2a3031;
    color: white;
    text-align: center;
    line-height: 50px; 
}

  .container {
    display: flex;
    justify-content: center;
    padding: 30px 40px; 
}
    
iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

.main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0px; 
}
.image {
    grid-column: span 4; 
    display: flex; 
    justify-content: center;
    align-items: center;
}
.image img {
    max-width: 100%;
    height: auto; 
}
.container {
    text-align: center;
}
.centered-button {
    padding: 15px 30px;    
    color: white;
    background-color: #0056b3;
    border: none;
    cursor: pointer;
}
.centered-button:hover {
    background-color: #115297;
}
.yeah{
    padding-left: 155;
    padding-right: 150px;
    padding-top: 50px;
}
.object{
    padding-left: 40px;
}
@media (max-width: 1550px) { 
    .yeah {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        height: 90%;
        width: 90%;
    }
}

@media (max-width: 1250px) { 
    .aven {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 25px;
    }
}

@media (max-width: 1250px) { 
    .frut {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 25px;
    }
}
.low{
    margin-top: 100px;
}