@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

:root{
    --orange:#f9ba60;
    --pink:#e9768f;
    --black: #1d1c1c;
    --white: #fff;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
}

*{
  font-family: 'Poppins', sans-serif;
  margin: 0; padding: 0;
  box-sizing: border-box;
  outline: none; border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section{
  padding: 3rem 10%;
}

.heading{
  font-size: 4rem;
  color: var(--black);
  text-align: center;
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 6rem;
}

.heading span{
  color: var(--orange);
  text-transform: uppercase;
}
/* header */

.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 145px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 7%;
  padding-bottom: 0px;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.header .logo{
  padding: 1rem;
  font-size: 2.5rem;
  color: black;
  font-weight: bold;
}
.header p{
  font-size: 3rem;
  display: inline;
  position: relative;
  left: -100px;
}
nav li{
  list-style: none;
  font-size: 3rem;
}
.header .navbar a:hover,
.header .icons div:hover{
  color: var(--orange);
}

.header .icons div,button{
  font-size: 2.5rem;
  margin-left: 1.7rem;
  color: var(--black);
  cursor: pointer;
}

/* header ends */

/* home */

.home{
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

.home .content{
  flex: 1 1 40rem;
  padding-top: 12rem;
}

.home .content h3{
  font-size: 4rem;
  color: var(--black);
}

.home .content h3 span{
  color: var(--orange);
}

.home .content p{
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0;
}

.home .image{
  display: flex;
  flex: 1 1 60rem;
  padding-top: 8rem;
}

.home .image img{
  width: 100%;
  padding: 7rem;
}

/* teacher */

.teacher{
  background: url(../Images/teacher-bg.png) no-repeat;
  background-position: center;
  background-size: cover;
}

.container {
	width: 150vmin;
	position: relative;
  top:-30px;
  left:120px;  
	overflow: hidden;
	border: 20px solid transparent;
	border-radius: 10px;
	box-shadow: 0px 0px 15px;
}
.wrapper {
	width: 100%;
	display: flex;
	animation: slide 16s infinite;
}
@keyframes slide {
		0% {transform: translateX(0);}
		50% {transform: translateX(-100%);}
		75% {transform: translateX(-200%);}
		100% {transform: translateX(-300%);}
}
.wrapper img{
	width: 100%;
}
/* end */

/* footer */

.footer{
  background: var(--orange);
}

.footer .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
  gap: 1.5rem;
}

.footer .box-container .box h3{
  font-size: 2.2rem;
  color: black;
  padding: 1rem 0;
}

.footer .box-container .box p{
  font-size: 1.5rem;
  color: var(--white);
  padding: 1rem 0;
  line-height: 2;
}

.footer .box-container .box a{
  display: block;
  font-size: 1.4rem;
  color: var(--white);
  padding: 1rem 0;
}

.footer .box-container .box a:hover{
  color: var(--orange);
}
.footer .box-container .box a img{
  padding-right: .5rem;
  color: var(--orange);
  filter: invert(1.5);
}
.footer .box-container .box a i{
  padding-right: .5rem;
  color: var(--orange);
}

.footer .credit{
  margin-top: 2.5rem;
  padding: 1rem;
  padding-top: 2rem;
  border-top: .1rem solid rgba(0,0,0,.3);
  text-align: center;
  color: var(--white);
  font-size: 2rem;
}

.footer .credit span{
  color: var(--orange);
}

.footer .certificates {
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 20px;
}

/* end */

/* media query */

 @media screen and (max-width: 1200px) {
  html{
    font-size: 55%;
  }

  .header{
    padding: 1rem 8%;
  }

  section{
    padding: 9rem 9%;
  }

}

@media screen and (max-width: 768px)
{
.teacher {
 width:30px;
}
}
