@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background-color: #fff;
}

/* NAVBAR START */
header {
  position: relative;
  padding: 0;
}

.navbar {
  /* ff 3.6+ */
  background: -moz-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* safari 5.1+,chrome 10+ */
  background: -webkit-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* opera 11.10+ */
  background: -o-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* ie 6-9 */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#F0E9E9', GradientType=0 );

  /* ie 10+ */
  background: -ms-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* global 94%+ browsers support */
  background: linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );
  width: 100%;
  height: 60px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "oswald", sans-serif;
}

.navbar li {
  list-style: none;
}
.navbar a {
  text-decoration: none;
  font-size: 1rem;
  color: rgb(255, 255, 255);
}

.navbar A:hover {
  color: #e32626;
}

.navbar ul li::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #e32626;
  transition: width 0.4s;
  margin: auto;
}

.navbar ul li:hover::after {
  width: 100%;
  transition: width 0.4s;
}
.logo {
  background-image: url(/src/assets/images/logo.png);
  background-size: cover;
  background-position: center;
  width: 10rem;
  height: 10rem;
}
.navbar .logo a {
  font-size: 1.5rem;
}

.navbar .links {
  display: flex;
  gap: 2rem;
}
.navbar .toggle_btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.action_btn {
  background-color: #fff;
  color: red !important;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}
.action_btn:hover {
  scale: 1.05;
}
.action_btn:active {
  scale: 0.95;
}

/* DROPDOWN */
.dropdown_menu {
  display: none;
  position: absolute;
  width: 300px;
  height: 0;
  top: 60px;
  z-index: 9999;
  right: 2rem;
  background: rgba(240, 237, 237, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
  height: auto;
}
.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dropdown_menu a {
  text-decoration: none;
  color: #d30707;
  pointer-events: auto;
}

.dropdown_menu .action_btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* DROPDOWN END */

/* RESPONSIVE PART */

@media (max-width: 992px) {
  .navbar .links,
  .navbar .action_btn {
    display: none;
  }
  .navbar .toggle_btn {
    margin-right: 5px;
    display: block;
  }
  .dropdown_menu {
    display: block;
  }
  .dropdown_menu a {
    display: block;
  }
}

@media (max-width: 547px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
  .dropdown_menu a {
    display: block;
  }

  .text h2 {
    display: none;
  }
  .text li  {
    display: none;
  }
}

/* NAVBAR END */

/* HERO SECTION */

.heroMobile {
  display: none;
}
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "oswald", sans-serif;
  font-weight: bolder;
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-image: url(./src/assets/images/background1.jpg);
}


.text {
  width: 50vw;
  background-color: #ece6e6b8;
  text-align: justify;
  text-indent: 1rem;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin-left: 35rem;
  
}

.text h1 {
  text-align: center;
}

.text h5 {
  text-align: center;
}
.text ul {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text a {
  color: inherit;
  text-decoration: none;
}

.text li {
  font-size: 18px;
  color: #000000;
  margin: 0 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.text li:hover {
  color: #393939;
  transform: scale(1.1);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 760px) {
  #hero {
    flex-direction: column;
    align-items: center;
  justify-content: center;
    background-position: left center;
    background-repeat: no-repeat;
    background-size:cover;
  }

  .heroMobile {
    display: none;
  }

    .text {
    margin: 2rem 1rem;
    padding: 1rem;
    width: 100%;
  }

  h1 {
    font-size: 5vw;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: none;
  }

  p {
    font-size: 3vw;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: normal;
    text-shadow: none;
  }

  .text ul {
    margin-bottom: 2rem;
  }

  .text li {
    font-size: 2vw;
    margin: 0 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .text li:hover {
    color: #393939;
    transform: scale(1.1);
  }
}

@media (max-width: 469px) {
  
  #hero {
    flex-direction: column;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
   
    
  }
  .sigle img {
    width: 100%;
  }
  .text {
    margin: 0;
  }
}

@media (max-width: 420px) {
  #hero {
    display: none;
    
  }
  .heroMobile{
    display: flex;
    flex-direction: column;
  }
  .heroMobile img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  } 

  .heroMobile .text h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .heroMobile .text p {
    text-indent: 1vh;
    margin-left: 1vh;
  }
  
  
  .sigle img {
    width: 100%;
  }
  .text {
    margin: 0;
  }
}
/* Hero section END */

/* certificat section */
.formeStudiu {
 background-color: #ece6e6cc;
 padding: 2rem;
 margin: 0;
 font-family: Montserrat, sans-serif;
 
}
.formeStudiu h2 {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formeStudiu li {
  list-style: none;
  margin: 1rem 0;
  -webkit-box-shadow: -12px 2px 52px -14px rgba(79,10,20,0.73);
-moz-box-shadow: -12px 2px 52px -14px rgba(79,10,20,0.73);
box-shadow: -12px 2px 52px -14px rgba(79,10,20,0.73);
  border-radius: 1rem;
  padding: 1rem;
  background: rgb(200,161,161);
background: -moz-linear-gradient(0deg, rgba(200,161,161,1) 0%, rgba(239,240,231,1) 100%);
background: -webkit-linear-gradient(0deg, rgba(200,161,161,1) 0%, rgba(239,240,231,1) 100%);
background: linear-gradient(0deg, rgba(200,161,161,1) 0%, rgba(239,240,231,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8a1a1",endColorstr="#eff0e7",GradientType=1);
}

.formeStudiu a {
  text-decoration: none;
  color:inherit;
}

.formeStudiu p{
  text-indent: 1vh;
}

/* FOOTER */
.footer {
  position: relative;
  width: 100%;
  /* ff 3.6+ */
  background: -moz-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* safari 5.1+,chrome 10+ */
  background: -webkit-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* opera 11.10+ */
  background: -o-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* ie 6-9 */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#F0E9E9', GradientType=0 );

  /* ie 10+ */
  background: -ms-linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );

  /* global 94%+ browsers support */
  background: linear-gradient(
    90deg,
    rgba(240, 233, 233, 1) 0%,
    rgba(247, 222, 222, 1) 12%,
    rgba(255, 0, 0, 1) 100%
  );
  min-height: 75px;
  padding: 10px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 0.8rem;
  font-family: "oswald", sans-serif;
  font-weight: 300;
}
.sigle {
  display: flex;
  align-items: center;
}

.sigle img {
  height: 3rem;
  margin-right: 0.5rem;
}
/* Footer END */
