@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

a {
  color: #333;
  text-decoration: underline;
}

.container::before {
  content: '';
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: url(assets/bg.jpg);
  background-size: cover;
  background-clip: initial;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: center;
  overflow-y: scroll;
  padding: 50px;
}

.glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.box {
  max-width: 90%;
  width: 1200px;
  display: grid;
  align-content: space-between;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'logo logo'
    'content map'
    'footer footer';
  grid-gap: 35px;
  padding: 35px;
  position: relative;
}

.logo {
  grid-area: logo;
}

.content {
  grid-area: content;
}

.map {
  width: 100%;
  grid-area: map;
}

.footer {
  grid-area: footer;
}

header {
  background: #fff url(assets/bg-m.jpg) repeat-x;
  margin: 0px;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #eaeaea;
}

main {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 28px;
}

.infos {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-links {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.links {
  gap: 20px;
  display: flex;
}

.link > img {
  width: 35px;
  height: 35px;
}

.screws {
  position: absolute;
  width: 16px;
  height: 16px;
  color: #33333390;
  border-radius: 50%;
  background-color: #7c7c7c50;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screws.left-top {
  top: 15px;
  left: 15px;
}

.screws.left-bottom {
  bottom: 15px;
  left: 15px;
}

.screws.right-top {
  top: 15px;
  right: 15px;
}

.screws.right-bottom {
  bottom: 15px;
  right: 15px;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .container {
    padding: 30px;
  }
  .infos {
    gap: 15px;
  }
  .map {
    width: 400px;
  }
}

@media screen and (max-width: 991px) {
  .container {
    padding: 20px;
  }
  .box {
    grid-template-areas:
      'logo'
      'content'
      'map'
      'footer';
    grid-template-columns: 100%;
  }
  .infos {
    gap: 15px;
  }
  .map {
    width: 100% !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
  header {
    padding: 10px 0;
  }
  .box {
    padding: 25px;
  }
  h1 {
    font-size: 26px;
  }
  .contact-links {
    gap: 10px;
  }
  .map {
    max-height: 300px;
  }
  footer {
    font-size: 14px;
  }
  .screws.left-top {
    top: 10px;
    left: 10px;
  }

  .screws.left-bottom {
    bottom: 10px;
    left: 10px;
  }

  .screws.right-top {
    top: 10px;
    right: 10px;
  }

  .screws.right-bottom {
    bottom: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
    word-wrap: break-word;
  }
  header {
    padding: 0;
  }
  header > img {
    width: -webkit-fill-available;
  }
  .box {
    padding: 15px;
  }
  h1 {
    font-size: 22px;
  }
  .map {
    max-height: 300px;
  }
  .screws {
    display: none;
  }
}
