/* Top Nav css fom w3school */

:root {
  --bg-beige: #ffcc75;
  --bg-beige2: #ffbb47;
  --bg-blue: #013974;
}

* {
  box-sizing: border-box;
}

body {
  margin: auto;
  font-family: "Tajawal", sans-serif;
  direction: rtl;
  background-color: #ffbb47;
  /*#eae9ec;*/
  max-width: 100%;
}

p {
  font-size: 3.5vh;
}

/*** Top Nav ***/

.topnav {
  overflow: hidden;
  background-color: #ffbb47;
}

.topnav a {
  float: right;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  /*background-color: #287494;*/
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffbb47;
  /*#f9f9f9;*/
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: right;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #287494;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: right;
  }
}

/* End of Top Nav css fom w3school */

/* nad */

.website_title_logo {
  display: flex;
  justify-content: space-between;
  background-color: #34021f;
}

.website_title {
  font-family: "Tajawal", sans-serif;
  font-size: 7vh;
  font-weight: bold;
  color: #f3f3f5;
  text-align: center;
  text-shadow: -1px -1px 0 #570d4d, 1px -1px 0 #570d4d, -1px 1px 0 #570d4d, 1px 1px 0 #570d4d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.logo_outer_wrapper {
  display: inline-block;
  /*margin: 20px;*/
}

.logo_frame {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  text-align: center;
  display: table-cell;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

footer {
  background-color: #34021f;
  padding: 10px;
}

footer p {
  color: white;
  text-align: center;
}

.container_annexes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: #11000a;
  color: white;
}

/****************************/

/* Home page image Container*/

.homeImgContainer {
  display: flex;
  position: relative;
}

#homePageImg {
  max-width: 100%;
  z-index: -1;
}

/* The Buttons */

.btnWraper {
  position: absolute;
  top: 0px;
  bottom: 1px;
  left: 5%;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #013974;
  width: 100%;
  height: 15%;
  margin: 5px;
  border-radius: 6px;
  font-size: 2.5vw;
  color: rgb(235, 193, 8);
  box-shadow: 5px 5px 5px black;
}

.btn a {
  color: rgb(235, 193, 8);
  text-decoration: none;
}

.btn:hover {
  background-color: #34021f;
}

/* Counters */

.counterWraper {
  position: absolute;
  top: 0px;
  bottom: 1px;
  right: 1%;
  width: 20%;
  /* border: 1px solid green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.counter_container {
  display: flex;
  /* duplicate */
  flex-direction: column;
  justify-content: center;
  /* duplicate */
  align-items: center;
  width: 100%;
  height: fit-content;
  /* 15% */
  margin: 5px;
  padding-top: 2px;
  font-size: 2vw;
  color: rgb(235, 193, 8);
  background-color: rgba(34, 0, 32, 0.3);
  border: 1px solid rgb(235, 193, 8);
  border-radius: 6px;
}

.counter {
  margin-top: 5px;
  font-size: 3vw;
  font-weight: bold;
}

/************************/

.bar-separator {
  background-color: #2b031b;
  color: white;
  text-align: center;
  padding: 20px;
  min-height: 50px;
}

.bar {
  background-color: #63043a;
  color: white;
  text-align: center;
  padding: 10px;
  min-height: 50px;
}

section {
  background-color: var(--bg-beige);
  /*var(--bg-beige2);*/
  color: black;
  /*var(--bg-blue);*/
  padding: 20px;
  padding-right: 50px;
  padding-left: 50px;
}

.servicesContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: var(--bg-beige);
  /*#ffcc75; #ffbb47;*/
  padding: 20px;
  padding-right: 50px;
  padding-left: 50px;
}

.bplp_services {
  text-align: center;
  background-color: #013974;
  width: 400px;
  margin: 5px;
  padding: 2vw;
  border-radius: 6px;
  color: var(--bg-beige);
  box-shadow: 5px 5px 5px black;
}

.bplp_services h3 {
  color: white;
}

/*******/

.imgs_wrapper {
  background-color: var(--bg-beige);
  padding: 20px;
  padding-right: 50px;
  padding-left: 50px;
}

img {
  max-width: 100%;
}

/************************* Annexes*/

:root {
  /* Set fade in duration */
  --fade-time: 0.5s;
}

.containerAnx {
  max-width: 1000px;
  margin: auto;
  border: #fff solid 3px;
  background: #fff;
}

.mainImgAnx img, .imgsAnx img {
  width: 100%;
}

.imgsAnx {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
}

.imgsAnx img {
  cursor: pointer;
}

/* Fade in animation */

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn var(--fade-time) ease-in 1 forwards;
}

/* Media Queries */

@media (max-width: 600px) {
  .imgsAnx {
    grid-template-columns: repeat(2, 1fr);
  }
}

/************************* / Annexes*/

/************************* bplp - schema */

.schemaContainer {
  background-color: #013974;
  color: #ffbb47;
  padding: 15px;
}

.schemaContainer h1 {
  padding-top: 15px;
}

/************************* / bplp - schema */

/************************* Table ****** */

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

table {
  border-spacing: 5px;
  color: rgb(245, 245, 245);
}

th, td {
  padding: 15px;
}

table tr:nth-child(even) {
  background-color: #0463c9;
}

table tr:nth-child(odd) {
  background-color: #ff06f3;
}

table th {
  color: white;
  background-color: #34021f;
}

/**********/

/* Mobile */

@media screen and (max-width: 600px) {
  .website_title {
    font-size: 26px;
    font-weight: bold;
  }
  .btn {
    font-size: 3vw;
  }
  section {
    flex-direction: column;
  }
}