:root{
  --red:#f53b57;
}

*{
  margin:0; padding:0;
  box-sizing: border-box;
  font-family: 'Patrick Hand', cursive;
  text-decoration: none;
  outline:none; border:none;
  transition: all .2s ease-out;
}

*::selection{
  background:var(--red);
  color:#fff;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section{
  min-height: 100vh;
  padding:0 7%;
  padding-top: 11rem;
  padding-bottom: 9rem;
}
.doc-img{
  width:100%;
  border-radius:1rem;
  margin-bottom:2rem;
}
.background{
  background:url(./images/background.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.btn{
  display: inline-block;
  margin-top: 1rem;
  padding:.7rem 3rem;
  border-radius: 5rem;
  background:var(--red);
  color:#fff;
  font-size: 2rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

.btn:hover{
  background:#333;
}

.up-and-down::before,
.up-and-down::after{
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 10rem;
  width:100%;
  background-size: cover;
}

.up-and-down::before{
  background:url(./images/img-top.png) no-repeat;
  top:-6rem;
}

.up-and-down::after{
  background:url(./images/img-down.png) no-repeat;
  bottom:-6rem;
}

.heading{
  text-align: center;
  color:var(--red);
  padding:1rem;
  font-size: 3.5rem;
}

header{
  position: fixed;
  top:0; left: 0; right: 0;
  background:url(./images/header-bg.png) no-repeat;
  background-size: cover;
  background-position: bottom;
  z-index: 10000;
  padding:1.5rem 7%;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo{
  font-size: 2.5rem;
  color:#333;
}

header .logo i{
  padding-right: .5rem;
  color:var(--red);
}
header .navbar {
  display: flex;
  list-style: none;
  align-items: center;
}
header .navbar a{
  font-size: 2rem;
  margin-left: 2rem;
  color:#333;
}

header .navbar a:hover{
  color:var(--red);
}

/* ===== DROPDOWN DESPRE NOI ===== */

header .navbar .dropdown {
  position: relative;
  display: inline-block;
}

header .navbar .dropdown > a {
  display: inline-block;
  margin-left: 2rem;
  font-size: 2rem;
  color:#333;
}

/* submeniu */
header .navbar .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 20rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
  border-radius: .5rem;
  overflow: hidden;
}

/* linkuri din dropdown */
header .navbar .dropdown-content a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.7rem;
  color: #333;
  margin: 0; /* override la margin-left */
}

/* hover pe elemente */
header .navbar .dropdown-content a:hover {
  background: var(--red);
  color: #fff;
}

/* afisare la hover */
header .navbar .dropdown:hover .dropdown-content {
  display: block;
}

#menu-bars{
  font-size: 3rem;
  border:.1rem solid #333;
  color:#333;
  padding:.5rem 1.5rem;
  cursor: pointer;
  border-radius: .5rem;
  display: none;
}

.home{
  display: flex;
  align-items: center;
}

.home .content h1{
  font-size: 4rem;
  color:var(--red);
}

.home .content h3{
  font-size: 2rem;
  color:#333;
}

.home .content p{
  font-size: 1.7rem;
  color:#666;
  padding:1rem 0;
}

.home .image img{
  width:36vw;
  position: relative;
  top:-9rem;
}

.features{
  display: flex;
  position: relative;
}

.features .stick{
  padding:0 2rem;
}

.features .box-container .title{
  font-size: 3rem;
  color:var(--red);
  padding:2rem;
}

.features .box-container .box{
  display: flex;
  align-items: center;
  padding:1rem 0;
}

.features .box-container .box img{
  height: 6rem;
  width:6rem;
  margin:2.5rem;
}

.features .box-container .box .info h3{
  font-size: 2.5rem;
  color:#333;
}

.features .box-container .box .info p{
  font-size: 1.7rem;
  color:#666;
}

.features .box-container:first-child .box{
  flex-flow:row-reverse;
}

.features .box-container:first-child{
  text-align: right;
}

.about{
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .image img{
  width:32vw;
  height: 44vw;
}
.about-content{
  flex:0 0 75%;
}
.about .content h3{
  font-size: 4rem;
  color:var(--red);
}

.about .content p{
  font-size: 1.7rem;
  color:#666;
  padding:1rem 0;
}
.about-container{
  display:flex;
  gap:2rem;
  align-items:flex-start;
}
.about-pdf iframe{
  width:100%;
  height:600px;
  border:none;
  border-radius:1rem;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}
.about-image1{
  flex:0 0 25%;
  }
.about-image1 img{
	width:100%;
  height:auto;
  display:block;
  border-radius:1rem;
  
}
.about-pdf{
  flex: 3;
}

.services{
  position: relative;
}

.services .box-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tabel{
display:grid;
grid-template-columns:5fr 1fr;
}
.tabel div{
font-size: 1vw;
padding: 0.5em;
text-align: left;
border-bottom: 1px solid red;
}
.tabel a:hover{
color: orange;
font-weight: 600;
}

.teacher .box-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.teacher .box-container .box{
  flex:1 1 27rem;
  padding:2rem 3rem;
  margin:1rem;
  box-shadow:  0 .5rem 1rem rgba(0,0,0,.1);
  border:.1rem solid rgba(0,0,0,.3);
  border-radius: 1rem;
  text-align: center;
  background:url(./images/card-bg1.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.teacher .box-container .box img{
  height:12rem;
  width:12rem;
  padding:1rem;
  border-radius: 50%;
  object-fit: cover;
}

.teacher .box-container .box h3{
  font-size: 2.5rem;
  color:#333;
}

.teacher .box-container .box span{
  font-size: 1.7rem;
  color:var(--red);
}

.teacher .box-container .box .share{
  padding: 1rem 0;
}

.teacher .box-container .box .share a{
  height: 4.5rem;
  width:4.5rem;
  line-height: 4.5rem;
  border-radius: 50%;
  border:.1rem solid #333;
  color:#333;
  font-size: 1.7rem;
  margin:.2rem;
}

.teacher .box-container .box .share a:hover{
  background:var(--red);
  color:#fff;
  border-color: var(--red);
}

.teacher .box-container .box p{
  color:#666;
  font-size: 1.4rem;
}

.pricing{
  position: relative;
}

.pricing .box-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing .box-container .box{
  flex:1 1 35rem;
  margin:1rem;
  padding:1% 1rem;
  border-radius: 1rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
  border:.1rem solid rgba(0,0,0,.3);
  text-align: center;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
  }
  .pricing .box-container .box img{
	  width:100%;
	  height:auto;
	  display:block;
	  border-radius:1rem;
  }

.pricing .box-container .box h3{
  font-size: 4rem;
  color:#333;
}

.pricing .box-container .box .price{
  font-size: 5.5rem;
  color:var(--red);
}

.pricing .box-container .box .price span{
  font-size: 2.5rem;
}

.pricing .box-container .box p{
  font-size:1.7rem;
  padding:1rem 0;
  color:#666;
}

.pricing .box-container .box .choise{
  position: absolute;
  top:0; right:-5rem;
  background:var(--red);
  color:#fff;
  font-size: 2rem;
  padding:.6rem 5.5rem;
  transform: rotate(45deg);
}

.contact{
  display: flex;
  align-items: center;
}

.contact .image img{
  width:25vw;
}

.contact .row{
  display: flex;
  align-items: flex-end;
}

.contact .row .contact-info{
  padding:2rem;
}

.contact .row .contact-form{
  padding:2rem;
}

.contact .row .btn{
  cursor: pointer;
}

.contact .row .contact-info .box{
  padding: 1rem 0;
}

.contact .row .contact-info .box .title{
  padding:1rem 0;
  font-size: 3rem;
  color:#333;
}

.contact .row .contact-info .box p{
  font-size: 1.7rem;
  padding:.5rem 0;
  color:#666;
}

.contact .row .contact-info .box p i{
  padding-right: .5rem;
  color:var(--red);
}

.contact .row .contact-info .box a{
  height: 4.5rem;
  width:4.5rem;
  line-height: 4.5rem;
  border-radius: 50%;
  border:.1rem solid #333;
  color:#333;
  font-size: 1.7rem;
  margin:.2rem;
  text-align: center;
}

.contact .row .contact-info .box a:hover{
  background:var(--red);
  border-color: var(--red);
  color:#fff;
}

.contact .row .contact-info .box form input[type="email"]{
  padding:1rem 1.5rem;
  font-size: 1.5rem;
  color:#666;
  text-transform: none;
  border-radius: 5rem;
  border:.1rem solid rgba(0,0,0,.3);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

.contact .row .contact-form h3{
  font-size: 3rem;
  color:#333;
  padding-bottom: 1rem;
}

.contact .row .contact-form .box{
  width:100%;
  border-radius: 5rem;
  padding:1rem 1.5rem;
  font-size: 1.7rem;
  color:#666;
  margin:1rem 0;
  border:.1rem solid rgba(0,0,0,.3);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
  text-transform: none;
}

.contact .row .contact-form .message{
  border-radius: 2rem;
  height: 15rem;
  resize: none;
}

.footer{
  position: relative;
  text-align: center;
  padding:2.5rem 1.5rem;
  font-size: 2rem;
  color:#666;
}

.footer span{
  color:var(--red);
}

.footer::before{
  content:'';
  position: absolute;
  top:-8rem; left: 50%;
  transform: translateX(-50%);
  background:url(./images/img-top.png) no-repeat;
  background-size: cover;
  height: 8rem;
  width:100%;
}

@media (max-width:1200px){

  html{
    font-size: 55%;
  }

  header{
    padding:1.5rem 3%;
    padding-bottom: 6rem;
  }

  section{
    padding:0 3%;
    padding-top: 11rem;
    padding-bottom: 9rem;
  }
	.about .image img{
	 display: none; 
}
	.about-image1 img{
	display: none;
}
	.about .content h3{
	  font-size: 3rem;
	  }

	.about .content p{
	  font-size: 2rem;
	 }
	 .about-image1 {
    flex: -1 0 25%;
}
 .pricing .box-container .box{
  flex: 50%;
    }
	.tabel div{
font-size: 2vw;
	}

}

@media (max-width:768px){
	.tabel div{
font-size: 3vw;
	}
	.about-image1 img{
	display: none;
}
	
	.about-container{
    flex-direction:column;
  }

  .about-image{
    max-width:100%;
  }
  .about .image img{
	 display: none; 
  }

  .about-pdf iframe{
    height:400px;
  }
	
	.dropdown-content{
    position: static;
    display: none;
    width:100%;
    background:#f9f9f9;
  }

  .dropdown.active {
    display: block;
  }

	header .navbar  a {
	font-size: 2.2rem;
	padding: 1rem 0;
}

  #menu-bars{
    display: block;
  }

  header .navbar{
    
    position: absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;

    display:flex;
    flex-direction:column;
    align-items:center;

    max-height:0;
    overflow:hidden;

    transition: max-height 0.4s ease;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
  }

  header .navbar.nav-toggle{
    max-height: 60vh;
    padding:2rem 0;
  }

  header .navbar a{
    font-size: 2.5rem;
    margin:2rem 0;
    display: block;
    text-align: center;
  }

  .home .image img{
    display: none;
  }

  .home .content{
    text-align: center;
  }

  .home .content h1{
    font-size: 3.5rem;
  }

  .home .content h3{
    font-size: 2.5rem;
  }

  .home .content p{
    font-size: 1.5rem;
  }

  .features{
    flex-flow: column;
  }

  .features .stick{
    display: none;
  }

  .about .image img{
    display: none;
  }

  .about .content{
    text-align: center;
  }
	.about .content p{
    tfont-size: 2.5rem;
  }
  .contact .image img{
    display: none;
  }

  .contact .row{
    flex-flow:column;
    align-items: flex-start;
  }

}

@media (max-width:450px){

  html{
    font-size: 50%;
  }

  .features .box-container,
  .features .box-container:first-child{
    text-align: center;
  }

  .features .box-container .box,
  .features .box-container:first-child .box{
    flex-flow: column;
  }

}