:root {
  --Blue: hsl(233, 26%, 24%);
  --Green: hsl(136, 64%, 51%);
  --Cyan: hsl(192, 69%, 51%);
  --Gray: hsl(233, 8%, 62%);
  --Gray-100: hsl(220, 16%, 96%);
  --Gray-50: hsl(0, 0%, 98%);
  --White: hsl(0, 100%, 100%);
}

body {
  font-size: 15px;
  font-family: Public Sans;
}
p,a {
   color: var(--Gray);
   text-wrap: balance;
   transition: .3s;
}
button,h4{
   transition: .3s;
}
button:hover{
   opacity: 75%;
}
a{
   text-decoration: none;
}
.bg-green {
  background-image: linear-gradient(200deg, var(--Green), var(--Cyan));
}
.nav-item{
   position: relative;
}

.nav-link:hover::after{
   transform: scaleX(1);
}
.nav-link::after{
   content: "";
   width: 100%;
   transform: scaleX(0);
   border-bottom: 2px solid var(--Green) ;
   bottom: 0;
   left: 0;
   transition: .3s;

   position: absolute;
}
.card h4:hover{
 color: var(--Green);
}

h1 {
  font-size: 2.5rem;
  text-wrap: balance;

}

.me-10 {
  margin-left: 17rem;
}
.box {
 
   clip-path: inset(50px 0px 0 0);
  transform: translateY(-50px) ;
   width: 100%;
}
.bg-img {
  /* background-image: url("/images/bg-intro-mobile.svg") */
  background-repeat: no-repeat;
  background-size: cover;
  
}
.bg-gray-50 {
  background-color: var(--Gray-50);

}
.bg-gray-100{
   background-color: var(--Gray-100);
}
.hero{
    background-image: url("../images/bg-intro-desktop.svg");
   background-repeat: no-repeat;
   background-position-y: -15rem;
   background-position-x:-8rem ;
   background-size:cover;
}
.text-blue {
  color: var(--Blue);
}
.nav-item a {
  color: var(--Gray);
}
.nav-btn {
  width: 12rem;
  font-weight: 700;
}
.attribution {
  font-size: 0.6875rem;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
.bg-blue{
   background-color: var(--Blue);
}
.flex-1{
   flex: 1;
}
.card-img-top{
   height: 250px;
}
footer a:hover{
   color: var(--Green);
}
@media (min-width: 768px) {
  h1{
   font-size: 2rem;
  }
  h4{
   font-size: 1rem;
  }
   .box {
  clip-path: inset(0px 0px 0 0);
  transform: translateY(0px) ;
  /* position:absolute; */
  width: 100%;
  
}

.margin-left{
   margin-left: auto;
   margin-right: auto
}
.w-md-50{
   width: 50%;
}


.hero{
    background-image: url("../images/bg-intro-desktop.svg");
   background-repeat: no-repeat;
   background-position-x: 20rem ;
   background-position-y:center ;
   background-size:cover;
}
}
@media (min-width: 62rem) {
  body{
   font-size: 18px;
  }
   .bg-img {
    background-image: none
  }
  h1{
    font-size: 2.4rem;
 }
 /* section {
  height: clamp(20rem , 40rem,40rem);
} */
 

.hero{
    background-image: url("../images/bg-intro-desktop.svg");
   background-repeat: no-repeat;
   background-position-x: 30rem;
   background-position-y:-15rem ;
   background-size:cover;
}
.box {
  clip-path: inset(0 0px 0 0);
  transform: translateY(0px) ;
  /* position:absolute; */
  width: 100%;
  
}
}

@media (min-width:1200px) {
   section {
  height: clamp(20rem , 38rem,40rem);
}
h1{
    font-size: 3rem;
 }
.box {
  clip-path: inset(50px 0px 0 0);
  transform: translateY(-50px) ;
  /* position:absolute; */
  
  
}
}
@media (min-width:1400px) {
   section {
  height:38rem;
}
.box {
  clip-path: inset(20px 0px 0 0);
  transform: translateY(-20px) ;
  /* position:absolute; */
  /* width: 100%; */
  
}
.hero{
   background-position-x: 40rem;
   background-position-y:-15rem ;
   
}
}
@media (min-width:1600px) {
   section {
  height:40rem;
}
.hero{
   background-position-x: 50rem;
   background-position-y:-25rem ;
   
}
.box {
  clip-path: inset(150px 0px 0 0);
  transform: translateY(-150px) ;
  /* position:absolute; */
  /* width: 100%; */
  
}

}
