:root{
--primary-color: rgb(10, 10, 31);
--btn-color: rgb(10, 10, 31);
-sec-btn-color: rgb(238, 70, 70);
--secondary-color: rgb(10, 10, 31);
--secondary-font-color: rgb(39, 31, 31);
--font-color: #fff;

}
body{
margin: 0;
padding: 0;
min-height: 100vh;
text-rendering: optimizeSpeed;
box-sizing: border-box;
font-family: Poppins, Arial;
}
.container{
--max-width: 1110px;
  --padding: 1.5rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2      )   );
margin-inline: auto;
}

html:focus-within{
  scroll-behavior: smooth;
}

/*Header*/
header{
  height: 55px;
  display: flex;
  align-items: center;
  position: relative;
}
.logo{
font-size: 24px;
font-weight: 700;
}
.logo span{
  color: orangered;
font-family: Kodchasan;
font-style: italic;

}
.nav-column{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-list{
  display: flex;
  gap: 28px;
}
.nav-item{
  list-style: none;
}
.nav-link{
  text-decoration: none;
  color: black;
  font-size: 18px;
  font-weight: 600;
}
.nav-link:hover{
color: red;
}


.btn{
  padding: 8px 13px;
  background-color: red;
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 8px;
    font-weight: 600;
}
.btn:hover{
  transform: scale(1.05);

}


.toggle{
  background: none;
  border: none;
  display: none;
}

@media screen and (max-width: 1024px) {
.nav-list{
  gap: 18px;
}
}

@media screen and (max-width: 767px) {
header{
  height: 40px;
 
}

.nav-list{
  display: none;
}
.nav-active{
  display: block;
  position: absolute;
  background-color: var(--secondary-color);
  left: 0px;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;

}
.nav-item{
  display: block;
  border-bottom: 1px grey solid;
  display: grid;
  align-items: center;
  justify-items: center;
  height: 80px;
  width: 100%;
  text-align: center;
  padding: 0;

}
.nav-item a{
  color: var(--font-color);
  
}

.toggle{
  display: block;
}
}

/*BODY*/
.contact-details{
  margin-top: 40px;
}
.row{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-details h2{
  font-size: 1.7rem;
}
.contact-details > div{

  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: grey solid 1px;
  padding: 10px;
}
.contact-details > div > span{
  font-size: 1.2rem;
  font-weight: 500;
  color: rgb(37, 15, 15);
  padding-left: 2px;
  display: block;
}
.subscribe{
  padding-top: 30px;
}
.sub-heading{
  color: var(--secondary-color);
    margin-bottom: 0;

}
.main-heading{
    font-size: 1.4rem;
  margin-top: 10px;
margin-bottom: 0px;
text-align: center;
}
.subscribe p{
  margin-top: 18px;
  text-align: center;
}
form{
position: relative;
  z-index: 1;

}
.email{
  height: 40px;
  width: 250px;
  border-radius: 8px;
  border: grey 1px solid;
  font-family: Kodchasan;
}
.submit{
  height: 38px;
  position: absolute;
  color: white;
  background-color: orangered;
  border: none;
  font-size: 12px;
  top: 3px;
  right: 3px;
    border-radius: 8px;
  font-family: Kodchasan;

}


/*FOOTER*/

 footer{
  background-color: var(--primary-color);
  margin-top: 50px;
}

.footer-columns{
  display: flex;
  flex-direction: column;
}

.left-footer{
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
}
.footer-nav-list{
  display: flex;
  gap: 13px;
  padding: 0;
}

  .left-footer h2{
  font-size: 15px;
  font-weight: 600;
  padding-top: 4px;
  color: var(--font-color);
}
.left-footer li{
  list-style: none;
}
.left-footer li a{
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-color);
}
.left-footer li a:hover{
  color: red;
}


.right-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--font-color);
}
.right-footer h2{
font-size: 19px;
  font-weight: 600;
}
.right-footer p{
   font-size: 14px;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.5;
  text-align: center;
}
.copyright{
  font-size: 12px;
  font-weight: 500;
  color: var(--font-color);
  display: flex;
  align-self: center;
}
@media screen and (min-width: 50rem) {
.footer-columns{
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
}
.footer-nav-list{
  display: flex;
  flex-direction: column;
}
.left-footer li a{
  font-size: 18px;
  
}
.right-footer p{
  margin-top: 10px;
}
}









