@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #142d55;
}

.container {
  width: 100%;
  min-height: 10vh;
}

.sidebar {
  position: relative;
  width: 100%;
  height: auto;
  background-color: white;
  padding: 15px;
  border-radius: 0px;
  gap: 20px;
  transition: all 0.3s;
}



.sidebar .head {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #142d55;
  padding-bottom: 20px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}

.logo-img img {
  width: 100%;
  object-fit: cover;
}

.logo-details .title,
.menu .title {
  font-size: 10px;
  font-weight: 500;
  color: #142d55;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.logo-details .name {
  font-size: 14px;
  font-weight: 500;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: -20px;
}

.menu ul {
  display: flex;
  flex-direction: row;
  list-style: none;
}

.menu ul li {
  position: relative;
  margin-right: 20px;
}

.menu ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #142d55;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.menu ul li > a:hover,
.menu ul li.active > a {
  color: red;
  background-color: rgba(255, 255, 255, 0.1);
}


.menu ul li .icon {
  font-size: 20px;
}

.menu ul li .arrow {
  font-size: 14px;
}

.menu ul li.active .arrow {
  transform: rotate(180deg);
}

.menu ul li .text {
  flex: 1;
  list-style: none;
  margin-right: 10px;
}

.menu .sous-menu {
  display: none;
  margin-left: 20px;
  padding-left: 20px;
  padding-top: 5px;
  border-left: 1px solid #142d55;
}

.menu .sous-menu li a {
  padding: 10px 8px;
  font-size: 12px;
}

.menu:not(:last-child) {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #142d55;
}

.nav {
  flex: 0;
}

.menu-btn {
  display: none; /* Hide menu button for now */
}

.container2 {
  margin-top: 20px;
  top: 10%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centrer horizontalement */
  gap: 20px;
  padding: 0 15px;
}
.container2 .box .imgBx {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.container2 .box {
  border-radius: 20px;
  position: relative;
  width: 45%; /* Modifier la largeur en pourcentage */
  max-width: 600px; /* Ajouter une largeur maximale pour limiter la croissance */
  height: 300px; /* Ajuster la hauteur comme nécessaire */
  overflow: hidden;
  border-right: 10px solid #142d55;
  margin-bottom: 20px;
  box-shadow: 70px 70px 100px rgba(0, 0, 0, 0.5);
  transition: 0.5s ease-in-out;
}

@media screen and (max-width: 768px) {
  .container2 .box {
    width: 100%;
    border-right: none;
  }
}

.container2 .box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(20, 45, 85, 0.5), rgba(20, 45, 85, 1));
  z-index: 2;
  transition: 0.5s all;
  opacity: 0;
}

.container2 .box:hover:before {
  opacity: 1;
}

.container2 .box img {
  width: 100%;

  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  height: 100%;
}
@media screen and (min-width: 1024px) {
  .container2 .box img {
    width: 100%;
    height: 100%;
  }
}
.container2 .box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.container2 .box .info {
  position: absolute;
  z-index: 3;
  color: #fff;
  opacity: 0;
  transition: 0.5s all;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
@media screen and (max-width: 768px) {
  .container2 .box {
    width: 100%;
    border-right: none;
  }
}

.container2 .box:hover {
  transform: translateY(20px);
}

.container2 .box:hover .info {
  opacity: 1;
}

.container2 .box .info h1 {
  margin: 0;
}

.container2 .box .info p {
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 0;
}

.container2 .box .info .btn {
  text-decoration: none;
  padding: 8px 16px;
  color: black;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  background: white;
}

@media screen and (max-width: 768px) {
  .container2 .box {
    width: 100%;
    border-right: none;
  }

  .container2 .box .info {
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .container2 .box:hover {
    transform: translateY(10px);
  }
}
