* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: serif;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  margin-top: 1rem;
  background-color: #f6f7f9;
}

.body-container {
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
  min-height: 100%;
  position: relative;
  width: 100%;
  /* max-width: 1500px; */
}

.language-button {
  border-radius: 0.3125rem;
}

.firm-logos {
  display: none;
  position: absolute;
  top: 0;
  left: 1rem;
}
.sidebar-container {
  display: none;
}
.nav-container {
  border-radius: 12px;
  margin-bottom: -60px;
  padding-top: 2rem;
  height: 72px;
  width: auto;
  max-width: 1500px;
}

.nav-link {
  padding-top: 0;
  margin-right: 1em;
}

.nav-logo {
  height: 2.5rem;
  width: auto;
}

.nav img {
  margin-left: 1rem;
}

.main-container {
  margin-top: 2rem;
}

.main-img-box {
  margin-top: 2rem;
}

.img-box {
  flex-direction: row;
  margin-top: 2rem;
  max-width: 1080px;
}

.img-box-column img {
  height: 99%;
  width: 99%;
  object-fit: contain;
  transition: 0.5s;
  margin-top: 0.5rem;
  border: 2px solid #f9dd94;
  border-radius: 6px;
}

.img-box-column img:hover {
  transform: scale(1.5);
  z-index: 3;
}

.footer-container {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 0.3125rem;
  font-weight: 800;
  font-size: 1rem;
}

.card-text {
  height: 17em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-line;
}

.card-img {
  width: 3rem;
  height: auto;
}

.center-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.top-logo {
  height: 5rem;
  width: auto;
}

.center-logo:before {
  margin-top: 4em;
  margin-left: 10rem;
  flex: 1;
  content: "";
  height: 0.1875rem;
  background: linear-gradient(to right, #f9dd94, #2c3140 50%);
}
.center-logo:after {
  margin-top: 4em;
  margin-right: 10rem;
  flex: 1;
  content: "";
  height: 3px;
  background: linear-gradient(to left, #f9dd94, rgba(33, 37, 41, 0.712) 50%);
}

.main-text-container {
  width: 68.5rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;

  border-top: 0px solid red;
  border-bottom: 4px solid red;
  border-left-width: 0;
  border-right-width: 0;
  border-image: linear-gradient(
      to right,
      #f9dd94,
      rgba(33, 37, 41, 0.712),
      #f9dd94
    )
    1 stretch;
  border-radius: 0.3125rem;
  flex-wrap: wrap;
  word-wrap: break-word;
  text-overflow: ellipsis;
}

.divider {
  display: flex;
  align-items: center;
  max-width: 75%;
  margin-bottom: 2em;
}

.divider-text {
  margin-left: 1rem;
  margin-right: 1rem;
}

.divider:before {
  flex: 1;
  width: 1rem 6rem;

  content: "";
  height: 3px;
  background: linear-gradient(to right, #f9dd94, rgba(33, 37, 41, 0.712) 0%);
}
.divider:after {
  flex: 1;
  width: 0 6rem;
  content: "";
  height: 3px;
  background: linear-gradient(to left, #f9dd94, rgba(33, 37, 41, 0.712) 0%);
}

.lang-buttons {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 12%;
  top: 6%;
  width: fit-content;
}

.lang-buttons a {
  text-decoration: none;
  color: black;
  font-size: 10.3125rem;
  font-weight: 400;
}

.contact-container {
  display: flex;
  margin-top: 3rem;
  margin-left: 0 auto;
  margin-right: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
  justify-content: center;
  gap: 4vw;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 25rem;
  /* height: 31rem; */
  border: 1px solid black;
  border-radius: 6px;
  padding: 2.5rem;
}

.contact-image {
  align-self: center;
}
.contact-text {
  align-self: center;
  text-align: center;
}
.contact-text h4 {
  justify-self: flex-end;
  height: 100%;
}

.contact-title {
  align-self: center;
  margin: 2rem 0 2rem 0;
  font-size: 2rem;
}

.contact-logo {
  width: 9.3rem;
  height: 9.3rem;
}

.map-container {
  justify-content: center;
  margin-top: 3rem;
}

iframe {
  border-radius: 15px;
}

.sidebar-collapse {
  display: none;
  width: fit-content;
  border: 1px solid black;
  border-radius: 6px;
}

.mobile-logos {
  display: none;
}

.mobile-contact {
  display: none;
}
/* from web 1 */

.sidebar-center {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.toggle-btn {
  display: none;
  border: 0;
  background-color: inherit;
  width: 3rem;
  height: auto;
}

.dummy-container {
  /* border: 1px solid black; */
  height: 36rem;
  width: 100%;
}
.btn-1,
.btn-2 {
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0.2rem 0.5rem 0.2rem 0.5rem;
}
footer a,
.btn-1 a,
.btn-2 a {
  text-decoration: none;
  border: 2px solid #010100;
  padding: 1rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

span {
  position: relative;
  z-index: 3;
}

/* Button 1 styles */

.btn-1 a::before {
  content: "";
  position: absolute;
  top: 0.3125rem;
  left: -2px;
  width: calc(100% + 6px);
  height: calc(100% - 0.625rem);
  background-color: #f6f7f9;
  transition: all 0.5s ease-in-out;
  transform: scaleY(1);
}

.btn-1 a:hover::before,
.btn-2 a:hover::before {
  transform: scaleY(0);
}

.btn-1 a::after {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: -0.3125rem;
  width: calc(100% - 0.625rem);
  height: calc(100% + 0.625rem);
  background-color: #f6f7f9;
  transition: all 0.5s ease-in-out;
  transform: scaleX(1);
}

.btn-1 a:hover::after,
.btn-2 a:hover::after {
  transform: scaleX(0);
}

/* from web 2 */
.container {
  padding: 0;
  margin-top: 3rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card {
  height: 25rem;
  max-width: 15.6rem;
  margin: 0 0.625rem;
  background: #ffffff;
  /* background: #f6f7f9; */
  transition: all 0.5s ease-in-out;
  box-shadow: 2px 2px 0.3125rem rgba(0, 0, 0, 0.2);
}

.card-container {
  align-items: center;
}
.card:hover {
  height: 31rem;
  box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.2);
}
.card .img {
  height: 12.5rem;
  width: auto;
}
.card .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card .top-text {
  padding: 0.3125rem;
  text-align: center;
}

.card .top-text .name {
  font-size: 2rem;
  font-weight: 400;
  color: #202020;
}
.card .top-text p {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e74c3c;
  line-height: 1.25rem;
}
.card .bottom-text {
  padding: 0 1.25rem 0.625rem 1.25rem;
  margin-top: 0.3125rem;
  background: f6f7f9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  text-align: center;
}
.card:hover .bottom-text {
  opacity: 1;
  visibility: visible;
}
.card .bottom-text .text {
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 0.375rem;
  text-align: start;
  font-size: 1.5rem;
}
.card .bottom-text .btn {
  margin: 0.625rem 0;
  text-align: left;
}
.card .bottom-text .btn a {
  text-decoration: none;
  background: #e74c3c;
  color: #f2f2f2;
  padding: 0.3125rem 8px;
  border-radius: 3px;
  display: inline-flex;
  transition: 0.2s;
}
.card .bottom-text .btn a:hover {
  transform: scale(0.9);
  border: 0px;
}

@media screen and (max-width: 992px) {
  * {
    margin: auto;
    padding: 2px;
  }
  body,
  * {
    font-size: 14px;
  }

  .body-container {
    padding: 0;
    text-align: center;
  }
  .container {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .card {
    width: 100%;
    max-width: 43.75rem;
    margin: 0.625rem 0;
    margin-top: 1rem;
    height: 31rem;
    box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.2);
  }

  .card-container {
    align-items: center;
  }

  .card .bottom-text {
    visibility: visible;
    opacity: 1;
  }

  .card .bottom-text .btn a:hover {
    transform: none;
  }
  .center {
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .sidebar-center {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .sidebar-collapse {
    display: flex;
  }
  .nav-container {
    display: none !important;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .dummy-container {
    height: auto;
  }

  .main-img-box {
    margin: 0;
    width: 100%;
  }
  .img-box {
    flex-direction: column;
  }

  .img-box-column {
    margin: 0;
    width: 100%;
  }
  .img-box-column img:hover {
    transform: none;
    z-index: 3;
  }

  .contact-container * {
    padding-left: 0;
    padding-right: 0;
    margin: 2rem;
  }

  .center-logo:after,
  .center-logo:before {
    display: none;
  }

  .toggle-btn {
    display: inline;
  }

  .mobile-container {
    display: flex;
    position: relative;
    height: 5rem;
    margin-bottom: 17rem;
  }
  .center-logo {
    width: fit-content;
  }

  .center-logo a {
    margin: 0;
  }
  .sidebar-container {
    display: inline;
    z-index: 9;

    text-align: end;
  }
  .mobile-logos {
    display: block;
    margin-left: 2rem;
    padding-top: 1rem;
  }

  .mobile-contact {
    display: block;
    padding-top: 1rem;
    margin-right: 2rem;
  }

  .height0 a::after {
    height: 0;
  }

  .sidebar-center .btn-1 a {
    border: none;
  }

  .bottom-text .btn-1 a::before,
  .bottom-text .btn-1 a::after {
    background-color: white;
  }
}

@media screen and (max-width: 768px) {
  body,
  * {
    font-size: 12px;
  }
}
@media screen and (max-width: 600px) {
  body,
  * {
    font-size: 10px;
  }
}
@media screen and (max-width: 375px) {
  body,
  * {
    font-size: 8px;
  }
}
