/* Pentru tot documentul se pune "*" */
* {
  box-sizing: border-box;
  margin: 0;
  padding-bottom: 0px;
  padding-right: 0px;
  padding-left: 0px;
  padding-top: 0px;
}

body {
  background-color: #f8f8db;
}

h1 {
  color: rgb(233 71 71);
  text-align: center;
}

h2 {
  padding-left: 3vw;
}

h3 {
  padding-left: 2vw;
}

p {
  font-family: 'Times New Roman', Times, serif;
  color: rgb(28 26 26);
  text-indent: 25px;
  text-align: justify;
  padding: 0.4vw 1.5vw;
}

/* *************** Head ************* */
header {
  position: relative;
  top: 0;
  background-color: rgb(32, 35, 50);
  text-align: center;
  height: 51px;
  width: 100%;
  padding: 0px 1vw; /*Primu numar e prentru sus si jos, celelalt e prentru parti */
  z-index: 1000;
}

.nav_top_btn {
  padding: 0.27vw 1vw;
  background-color: rgb(202, 4, 83);
  border: 2px solid rgb(202, 4, 83);
  font-size: 17px;
  border-radius: 27px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  color: azure;
}

.nav_top_btn:hover {
  background-color: rgba(202, 4, 83);
  transform: scale(1.05);
}
/* end *************** Head ************* */


.main {
  display: flex;
  flex-direction: column;
  text-align: justify;
  margin-top: 51px;
  scroll-margin-top: 51px;
}

.container {
  display: flex;
  flex-direction: column;
  user-select: none;
  cursor: default;
}

.grid {
  width: 100%;
  margin-top: 15px;
  display: flex;
  user-select: none;
  cursor: default;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.slot {
  flex-direction: column;
  display: flex;
  position: relative;
  border: 1.5px solid #aeaaaa;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 10, 10, 0.4);
  aspect-ratio: 3/4;
  margin-inline: 15px;
  margin-block: 7px;
  background-color: #538ea9d2;
}

.img_place {
  margin: 15px;
  display: flex;
  position: relative;
  border: 1px solid rgb(103, 99, 99);
  height: 200px;
  aspect-ratio: 3/4;
  border-radius: 5px 5px 5px 5px;
  z-index: 3;
  overflow: hidden;
}

.img_place img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 1;
}

.img_title {
  flex-direction: column;
  width: 100%;
  display: flex;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 18px;
  color: azure;
}

.slot:hover {
  transition: all 0.3s ease 0s;
  transform: scale(1.05);
  background-color: #7acdf7;
}



/* ************** Footer ************ */
footer {
  position: relative;
  bottom: 0px;
  margin-bottom: 0px;
  background-color: rgb(102, 10, 20);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  height: 180px;
  user-select: none;
  cursor: default;
}

.foot-title {
  color: azure;
  text-decoration: underline;
  text-decoration-style: solid;
  text-align: center;
}

.footer_link {
  display: flex;
  flex-direction: column;
  padding: 4px;
  text-align: left;
  bottom: 0px;
  width: fit-content;
}
/* end *************** Footer ************* */

/* Daca ecranul are o latime de maxim 750px, atunci 
section si article vor avea latimea de 100% si inaltimea auto */
@media (max-width: 750px) {
  .content {
    width: 100%;
    height: auto;
  }

  .main {
    flex-direction: column;
  }
}