.hero {
  background-image: url(../img/Cybersecurity.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 2;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.col-img {
  background-image: url(../img/cover2.jpg);
  background-position: center;
  background-size: cover;
  min-height: 500px;
}

.project {
  position: relative;
  /* overflow: hidden; */
}

/* Image button */

.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
  opacity: 1;
}

.project img {
  position: relative;
  transition: all 0.4s ease;
}

.project:hover .overlay {
  transform: scale(1.1);
  /*background-color: rgba(21, 20, 51, 0.8);*/
  z-index: 1;
}

/*.button-column {
  background-color: green;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: end;
}*/

.overlay::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    
    content: "";

    border-radius: 0%;
    
    width: 100%;
    height: 100%;
    line-height: 10em;
    
    transition: box-shadow 0.4s ease-out;
    z-index: 2;
}

.project:hover .overlay::before {
  box-shadow: #202F57 0px 0px 0px 10em inset;
}

.project:hover img {
  transform: scale(1.1);
  z-index: 1;
}

.growing-text-box {
  position: absolute;
  top: 95%;
  left: 50%;
  width: 80%;
  height: 3em;
  
  transform: translate(-50%, -95%);
  
  display: flex;
  justify-content: center;
  

  z-index: 3;
  transition: all 0.2s ease-out;

  background-color: rgba(32, 47, 87, 0.5);
  border: 1px solid rgba(255, 255, 255);
  border-radius: 10px;
}

.project:hover .growing-text-box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  border-color: transparent;
}


/* Cards */

.stats-container {
  background-color: #283578;
  text-align: center;
}

.cards {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border-color: white;
  justify-content: center;
  align-items: center;
  border-style: solid;
  border-width: 1px;
  width: 200px;
  color: white;
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 30px;
  padding: 7px;
}

.img1 {
  background-image: url(../img/About.png);
  /* clip-path: polygon(0% 0%, 100% 40%, 100% 100%, 0% 100%); */
  margin-top: 150px;
  background-color: red;
  position: relative;
  display: flex;
  width: 50%;
  flex-direction: column;
}

.shape {
  clip-path: polygon(0% 0%, 100% 40%, 100% 100%, 0% 100%);
  border: #283578;
  border-style: solid;
}

.polygone {
  /* clip-path: polygon(0% 0%, 100% 40%, 100% 100%, 0% 100%);
    margin-top: 150px; */
  background-color: #202F57;
  height: 300px;
}

.wrapper {
  display: flex;
}

.left {
  flex-basis: calc(50%);
  position: relative;
  background-color: white;
  display: flex;
  color: #283578;
  padding-left: 30px;
  padding-top: 5px;
}

/* .left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    height: 0;
    width: 0;
    border-bottom: 300px solid white;
    border-right: 100px solid transparent;
  } */

.right {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 30% 100%);
  flex-basis: calc(50%);
  background: url(../img/Bilel.png) left center no-repeat;
  background-size: cover;
}

.right1 {
  flex-basis: calc(50%);
  position: relative;
  background-color: white;
  display: flex;
  color: #283578;
}

.left1 {
  clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 0% 100%);
  flex-basis: calc(50%);
  background: url(../img/DGSE_TRACS.png) left center no-repeat;
  background-size: cover;
}

.shape-img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 60%);
  background: url(../img/blocA.png) center center;
  height: 300px;
  background-size: cover;
}

.video-container {
  position: relative;
  aspect-ratio: 16/9;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: default;
}

.recall {
    clip-path: polygon(50px 0%, 100% 0%, 100% 100%, 0% 100%);
    background-color: white;
}

.recall-border {
    clip-path: polygon(53px 0%, 100% 0%, 100% 100%, 0% 100%);
    background-color: #202F55;
    padding: 4px 0px 4px 6px;
}