@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,600|Tulpen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Modern+Antiqua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: font5;
  src: url(../font/NotoMono/NotoMono-Regular.ttf);

}

body {
  font-family: Calibri;
  overflow-x: hidden;
}

hr {
  width: 50%;
  margin: 15px auto;
}

/* h1 {
  margin: 3em 0 1em 0;
} */

h1,
h2,
h3,
h5 {
  line-height: 1em;
  text-align: center;
  /* font-family: 'Modern Antiqua', cursive; */
}

a {
  word-break: break-word;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

button {
  text-align: center;
  margin: 25px auto;
  color: white;
  background-color: rgb(47, 0, 255);
  border: 1px solid black;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  display: block;
}

button:hover {
  color: #000000a8;
  background-color: whitesmoke;
}

.antigua a:hover {
  color: #0046FF;
}

.antigua {
  width: 70%;
  margin: 4% 15%;
  text-align: justify;
}

.antigua p {
  /* font-size: large; */
  text-indent: 30px;
  text-align: justify;
}

.albastru-link a {
  text-decoration: none;
  color: #2e38f3;
  font-weight: bold;
}

.rosu-link a {
  text-decoration: none;
  color: #D4292C;
  font-weight: bold;
  font-size: large;
  margin-left: 4rem;
}

.rosu-link a:hover {
  color: #57585f;
}

.div-class-center {
  width: 100%;
  text-align: justify;
  align-items: center;
  line-height: 1.5em;
}

.div-class-center p {
  text-indent: 30px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

/*BEGIN MENIU*/
div#meniu {
  width: 100%;
  height: 65px;
  position: fixed;
  z-index: 1;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/*imagini album orizontal*/

main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

}

#menu.scrolled {
  top: 100px;
}

.scrollable {
  will-change: transform;

}

/*begin buton oameni dizabilitati pus dreapta jos*/
#userwayAccessibilityIcon {
  top: 90vh;
  /*  bottom: 13px; */
  right: 0px;
  left: auto;
}

/*begin events*/
.events {
  color: #3C3D37;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cardev {
  display: grid;
  grid-template-rows: 210px 210px 80px;
  grid-template-areas: "image" "text" "stats";

  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
  font-family: roboto;
  text-align: center;


  transition: 0.5s ease;
  cursor: pointer;
  margin: 30px;
}

.cardev-image {
  grid-area: image;
  background: url("../img/eval.JPG");
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-size: cover;
}

.events a {
  text-decoration: none;
  color: inherit;
}

.cardev-text {
  grid-area: text;
  margin: 2px;
}

.cardev-text .dateev {
  color: rgb(42, 157, 143);
  font-size: 13px;
}

.cardev-text p {
  color: grey;
  font-size: 15px;
  font-weight: 300;
  text-align: justify;
  padding: 2%;
}

.cardev-text h2 {
  margin-top: 0.5em;
  font-size: 20px;
}

.cardev-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(42, 157, 143);
}

.cardev-stats .stat {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.cardev-stats .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats .value {
  font-size: 22px;
  font-weight: 500;
}

.cardev-stats .value sup {
  font-size: 12px;
}

.cardev-stats .type {
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
}

.cardev:hover {
  transform: scale(1.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}

.cardev-text.cardev2 .dateev {
  color: rgb(181, 131, 141);
}

.cardev-stats.cardev2 .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats.cardev2 {
  background: rgb(233, 196, 106);
}

/*cardev3*/

.cardev-text.cardev3 .dateev {
  color: rgb(229, 152, 155);
}

.cardev-stats.cardev3 .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats.cardev3 {
  background: rgb(244, 162, 97);
}

/*end events*/

/*begin tabel*/
.tabel-colorat {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 70%;
  margin: 2% 15% 0 15%;
}

.tabel-colorat td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.tabel-colorat th {
  background-color: #24A610;
  color: white;
}

.tabel-colorat .rosu-th {
  background-color: #D4292C;
  color: white;
}

.tabel-colorat .rosu-tr {
  background-color: #FFF5F5;
}

.tabel-colorat .albastru-th {
  background-color: #009BD4;
  color: white;
}

.tabel-colorat .albastru-tr {
  background-color: #EFF2F4;
}

.tabel-colorat tr:nth-child(even) {
  background-color: #F5FFF5;
}

.tabel-colorat td a {
  text-decoration: none;
  color: black;
}

/*end tabel*/

summary {
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(212, 41, 44, 0.5);
  background-image: linear-gradient(to right, rgba(0, 155, 212, 1), rgba(0, 155, 212, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

.faq__content summary {
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(252, 148, 7, 0.5);
  background-image: linear-gradient(to right, rgba(252, 148, 7, 1), rgba(252, 148, 7, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

p {
  text-align: left;
}

details[open] summary~* {
  animation: sweep .5s ease-in-out;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px
  }

  100% {
    opacity: 1;
    margin-top: 0px
  }
}

details>summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}

details[open]>summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}

details>summary::-webkit-details-marker {
  display: none;
}

.imagine-articol {
  width: 30%;
  margin: 0 35%;
  height: auto;
  position: relative;
  border-radius: 15px;
}

.design-liste :is(ul, ol) {
  list-style-position: inside;
}

.design-liste :is(ul>li) {
  list-style-type: disc;
  /* list-style-position: inside; */
  margin-left: 2em;
  text-align: justify;
}

.chenar_unu {
  width: 73%;
  margin: 0 13.5% 25px 13.5%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background-color: #F7F7F7;
}

.trimtext2 a {
  color: #000;
  text-decoration: none;
  font-weight: bolder;
}

.img-wrap {
  position: relative;
  /* float: left; */
  /* width: 16%; */
  margin: 0 0.2%;
}

.img-wrap p {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
}

.sase-imagini {
  justify-content: center;
  /* display: flex
; */
  /* width: 100%; */
  margin: 0 1%;
  display: flex;
  clear: both;
  gap: 5px;
  flex-wrap: wrap;
}

.sase-imagini img {
  width: 17em;
  min-height: 200px;
  border-radius: 7%;
  /* transition: transform 250ms; */
}

.img-description {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -2px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 7%;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}

.img-wrap:hover .img-description {
  visibility: visible;
  opacity: 1;
}

.fii-pregatit {
  bottom: -3em;
  position: relative;
  width: 170px;
  height: auto;
  border-radius: 10px;
}





























/* MEDIA QUERRY */

/* TOATE */
@media all {

  .content-footer {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100dvh;
    width: 100vw;
    /* margin-top: 6em; */
  }
}

/* TABLETA SI CALCULATOR */
@media (min-width: 641px) {

  .link-video {
    display: none;
  }
}

/* TELEFON SI TABLETA */
@media (max-width: 980px) {
  .contact {
    grid-template-columns: none;
    grid-template-rows: 700px 1fr;

  }

  /* .stanga-orar,
  .dreapta-orar {
    width: 100%;
  } */

  .events {
    flex-direction: column;
  }

  .design-liste :is(ul>li) {
    font-size: 1em;
  }
}

/* CALCULATOR */
@media (min-width: 981px) {

  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2.5em;
  }

  h3 {
    font-size: 2em;
  }

  .antigua p {
    font-size: large;
  }

  .albastru-link a {
    font-size: large;
  }

  .cardev {
    grid-template-columns: 22vw;
  }

  .div-class-center {
    margin: 6em auto 2em auto;

  }

  .design-liste :is(ul>li) {
    font-size: large;
  }

}

/* TABLETA */
@media (min-width: 641px) and (max-width:980px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.4em;
  }

  .content-footer {
    min-height: 70vh;
  }

  .albastru-link a {
    font-size: medium;
  }

  .antigua p {
    font-size: 1em;
  }

  .cardev {
    grid-template-columns: 40vw;
  }

  .cardev-text h2 {
    font-size: 1.4em;
  }

  .div-class-center {
    margin: 6em auto 2em auto;
  }

}

/* TELEFON */
@media (max-width: 640px) {
  h1 {
    font-size: 1.5em;
    /* margin-top: 3.5em; */
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1em;
  }

  .content-footer {
    min-height: 50vh;
  }

  .albastru-link a {
    font-size: small;
  }

  .link-video {
    display: block;
  }

  .cardev {
    grid-template-columns: 50vw;
  }

  .cardev-text h2 {
    font-size: 1em;
  }

  .div-class-center {
    margin: 6em auto 2em auto;
  }

  .tabel-de-ascuns {
    display: none;
  }

  .fii-pregatit {
    bottom: 0;
  }

}