/*
Theme Name: My Custom Theme
Theme URI: https://atevacars.lt/
Author: Ateva
Description:car rental
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
*{
  margin: 0;
  padding: 0;
  scroll-padding-top: 1rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* Variables*/
:root {
  --main-color:#AEB5BF;
  --text-color:#E9EDF2;
  --bg-color:black;
}

section{
  padding: 4rem 0 2rem;
}

img{
  width: 100%;
}

body{
  color: var(--text-color);
  background-color: black;
}

.container{
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}

.header{
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
}

#menu-icon{
  font-size: 24px;
  cursor: pointer;
  color:black;
  display: none;
}

.logo{
  font-size: 1.2rem;
  font-weight: 700;
  color: #8e8d8a;
  font-family: 'Poppins', sans-serif;
}

.logo span{
  color: black;
}

.navbar{
  display: flex;
  column-gap: 5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.navbar a {
  color: #DCDCDC;
  font-size: 1rem;
  text-transform: uppercase;
}

.navbar a:hover,
.navbar .active {
  color: #696969;
  border-bottom: 3px solid var(--main-color);
}

.home{
  max-width: 1300px;
  margin: auto;
  padding: 0px;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url(../car_rental_site/references/samuele-errico-piccarini-FMbWFDiVRPs-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

.home-text{
  padding-left: 10px;
  font-family: 'Poppins', sans-serif;
}

.home-text h1{
  font-size: 4rem;
  font-family: 'Poppins', sans-serif;
  color: #dcdcdc;
}

.home-text p{
  font-size: 1rem;
  font-weight: 400;
  margin: 0.5rem 0 1.2rem;
  font-family: 'Poppins', sans-serif;
}

.about{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.about-img{
  flex:  1 1 21rem;
  width: 70%;
}

.about-text{
  flex: 1 1 21rem;
}

.about-text span{
  font-weight: 400;
  color: #bfbfbf;
  font-family: 'Poppins', sans-serif;
}

.about-text h2{
  font-size: 1.7rem;
  font-family: 'Poppins', sans-serif;
  color: #dcdcdc;
}

.about-text p{
  margin: 0.5rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.about-text a{
  color: #bfbfbf;;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.btn{
  padding: 10px 22px;
  background-color: #262626;
  font-weight: 400;
  border-radius: 0.5rem;
}

.btn:hover{
  background: #262626;
}

.service{
  background: black;
  width: 100%;
}

.tittle h2{
  width: 1130px;
  font-size: 2rem;
  margin: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.tittle h3{
  width: 1130px;
  font-size: 1.4rem;
  font-weight: 400;
  margin: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}


.pack{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.card{
  height: 300px;
  width: 335px;
  padding: 20px 35px;
  background: #262626;
  border-radius: 20px;
  margin: 15px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card i{
  font-size: 50px;
  text-align: center;
  display: block;
  margin: 25px 0px;
  color:#034001;

}

h5{
  color: #dcdcdc;
  font-size: 23px;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.pra p{
  color: #dcdcdc;
  font-size: 16px;
  line-height: 27px;
  margin-bottom: 25px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.heading{
  text-align: center;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;

}

.cars-container{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.cars-container .box{
  flex: 1 1 17rem;
  position: relative;
  height: 200px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.cars-container .box img{
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.cars-container .box img:hover{
  transform: scale(1.1);
  transition: 0.5s;
}

.cars-container .box h2{
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-weight: 700;
  font-size: 1rem;
  background: black;
  padding: 8px;
  border-radius: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.cars-container .box:hover h2{
  background: grey;
  color: black;
}

.footer{
  background: black;
  color: #dcdcdc;
  border-top: 2px solid var(--bg-color);
  padding: 50px 0px 0px;
}

.footer-container{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-container .logo{
  color: #dcdcdc;
  margin-bottom: 1rem;
}

.footer-container .footer-box{
  display: flex;
  flex-direction: column;
}

.social{
  display: flex;
  align-items: center;
}

.social a{
  font-size: 24px;
  color: #dcdcdc;
  margin-right: 1rem;
}

.social a:hover{
  color: #AEB5BF;
}

.footer-box h3{
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-box a{
  color: #E9EDF2;
  font-size: 0.8rem;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.footer-box a:hover{
  color: #AEB5BF;
}