/*** GENERAL ***/

body {
  margin: 0;
	overflow:hidden;
}

section {
  background: url('./assets/background.png');
  width: 100%;
  height: 100%;
  max-width: 1080px;
  margin: 0 auto;
	background-color: #1a1a1a;
	 background-size: cover;
	padding-bottom: 240px;
}

.first-row,
.third-row {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.second-row {
  display: flex;
  justify-content: center;
  margin: 50px 0;
  gap: 50px;
}

#marques-container {
  margin-top: 30px;
}

.marque {
  display: flex;
  gap: 20px;

  * {
    color: #ffffff;
    margin: 0;
    font-family: 'Montserrat';
    font-weight: 300;
  }

  .marque-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
      width: 100%;
      max-width: 200px;
      margin: 0 auto;
    }

    h5 {
      margin-top: 5px;
      margin-bottom: 10px;
    }

    button {
      background: none;
      padding: 0;
      margin: 0;
      border: none;
    }

    .likez {
      width: 100px;
      height: 90px;
      margin: 10px 0;
    }

    .likes {
      display: flex;
      align-items: center;
      gap: 8px;

      span {
        font-weight: 600;
      }

      svg {
        fill: #ffcc02;
        width: 20px;
        height: 20px;
      }
    }
  }

  .loupe {
    margin-top: 150px;
    width: 50px;
    height: 50px;
  }
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1080px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Modal image */
.modal-content {
  display: block;
  margin: auto;
  max-width: 70%;
  max-height: 70%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  border-radius: 10px;
}

/* Close button */
.modal .close {
  position: absolute;
  top: 10%;
  right: 15%;
  /* Adjusted for smaller space from edges */
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}