*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    @font-face {
        font-family: 'Poppins';
        src: url(../fonts/Poppins-Regular.ttf);
    }
a{
    text-decoration: none;
    color: inherit; }
}
body{
    background: #F5F1E6;
     font-family: 'Poppins', sans-serif; 
}    

.container{
   
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: auto;
    
}
.main{
     display: flex;
    justify-content: center;
     align-items: center;   
    background-image: url(../images/bg.png);
    position: relative; 
    width: 100%;
    height:60vh;
    background-size: cover;
    background-position: center;
}
.logo{
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 24px;
    
}   
.logo img{
    width: 250px;
    vertical-align: middle;
    margin-right: 5px;
}
.content{
   width: 100%  ;

    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center ;
    align-items: center;
    text-align: center;

    color: #333;
        max-width: 750px;
}   
.content h1{
    
    width: 100%;
    font-size: 40px;
    margin-bottom: 20px;
}
.content p{
    width: 100%;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}
/* ----------------------------------------------- */

.cards{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}   

/* ------------------------------- */

.card1 {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, #b6ff6e, #b6ff6e00), url(../images/image-1.png);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  z-index: 1;
}

.card1:hover::before {
  opacity: 1;

}
.card1:hover::before {
  opacity: 1;

}

.card2 {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, #b6ff6e, #b6ff6e00), url(../images/image-2.png);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  z-index: 1;
}

.card2:hover::before {
  opacity: 1;

}
.card2:hover::before {
  opacity: 1;

}

.text-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 20px;
 text-align: center;
    width: 90%;
}
.text-content h3 {
    
     opacity: 0;
}
.card1:hover .text-content h3 {
    opacity: 1;
    transition: opacity 0.3s ease;
    
 
}
.card2:hover .text-content h3 {
    opacity: 1;
    transition: opacity 0.3s ease;
    
 
}
.text-content p {
    
    margin-top: 30px;
    padding:    10px 0;
    background-color: #333333b0;
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 300;
}
.text-content p:hover{
    background-color: #f5f1e623;
    border: #333 solid 1px;
    color: #333;
    cursor: pointer;
}
.footer{
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #333;
    font-size: 14px;
}

/* -------------------------------------------------------------- */
@media (max-width: 768px) {
  .logo{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    
}   
.logo img{
    width: 200px;
    vertical-align: middle;
    margin-right: 5px;
}  
    
}

/* ----------------------------------------------------------------------- */
@media (max-width: 480px) {
  .logo{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    
}
.logo img{
    width: 200px;
    vertical-align: middle;
    margin-right: 5px;
}
.content h1{
    
    width: 100%;
    font-size: 28px;
    margin-bottom: 15px;
}
.content p{
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.text-content p {
    font-size: 16px;
}
.cards{
    padding: 10px 2px;  
}
.card1, .card2 {
   padding: 0;
   width: 80%;
}
.card1 img, .card2 img{
    width: 100%;
    border-radius: 10px;
}
.text-content {
    width: 100%;
    padding: 10px;
}
.text-content h3 {
    font-size: 20px;
}
.text-content p {
    font-size: 16px;
    margin-top: 15px;
    padding: 8px 0;
}

}


