/* Base Styles (Mobile First) */
@media only screen and (max-width: 767px){
    body {
      font-size: 16px;
      line-height: 1.5;
    }

    nav {
      display: none;
    }

    .home {
        background-color: rgb(0,0,0,0.4);
        background-blend-mode: multiply;
        color: #fff;
    }

    .home button {
        color: #fff;
    }

    .about-images {margin-top: 50px;}

    .apartment-flex,
    .location-cards,
    .architect-container,
    .overview-gallery,
    .footer {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: center;
      text-align: center;
    }

    .apartment-images {flex-direction: column;}
    .apartment-images img {width: 100%;}
    .apartment-flex {align-items: flex-start;}
    .apartment-details {
        flex-direction: column;
        row-gap: 20px;
        width: 100%;
    }
    .architect-content {
        flex-direction: column;
    }


    /* Headlines Scroller */
    .slideshow-texts {
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
    }

    /* Gallery */
    .overview-gallery img {
      width: 90%;
      max-width: 350px;
    }

    /* Footer Form */
    .footer-form input,
    .footer-form textarea {
      width: 100%;
      padding: 0.5rem;
      margin-bottom: 0.8rem;
    }
}

/* Tablets (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body {
      font-size: 16px;
      line-height: 1.5;
    }

    nav {
      display: none;
    }

    .about-images {margin-top: 50px;}

    .apartment-flex,
    .location-cards,
    .architect-container,
    .overview-gallery,
    .footer {
      text-align: left;
    }

    .apartment-text,
    .apartment-details,
    .architect-info,
    .footer-links,
    .footer-contact {
      width: 90%;
    }

    .overview-gallery img {
      width: 70%;
      width: 200px;
    }

    .footer-form input,
    .footer-form textarea {
      width: 90%;
    }
}

/* Mini Laptops (1025px - 1280px) */
@media only screen and (min-width: 1025px) and (max-width: 1280px) {

    .apartment-flex {
      flex-direction: row;
      justify-content: space-between;
      padding: 2rem;
    }

    .apartment-text,
    .apartment-details {
      width: 45%;
      text-align: left;
    }

    .features-list {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .location-cards {
      flex-direction: row;
      justify-content: space-around;
      flex-wrap: wrap;
    }

    .architect-container {
      flex-direction: row;
      align-items: center;
    }

    .architect-image {
      width: 40%;
    }

    .architect-info {
      width: 50%;
    }

    .overview-gallery {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
    }

    .overview-gallery img {
      width: 30%;
    }

    .footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      padding: 2rem;
    }

    .footer-form input,
    .footer-form textarea {
      width: 90%;
    }
}