.nav{
    height: 100px;
}

.carousel {
    width:640px;
    height:360px;
    background-size: cover;
    display: flex;
    padding-top: 20px;
    margin-left: 25%;
}

.cards{
    display: flex;
    justify-content:space-around;
    padding-top: 20px;
}

.card {
    padding: 15px; 
    border: 1px solid #eee; 
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px;
    transition: all .3s ease-in-out;
  }
  
  .card:hover {
    box-shadow: rgba(0, 0, 0, 0.22) 0px 19px 43px;
    transform: translate3d(0px, -1px, 0px);
  }

.cardText{
    text-align: center;
}

.phone{
    display:flex;
    justify-content: center;
}

.contactHeading{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.email{
    display: flex;
    justify-content: center;
}

.emailid, .phonenumber{
    margin-left: 30px;
    font-size: 30px;
}

.addressblock{
    display: flex;
    justify-content: center;
}

.address{
    font-size: 30px;
}

.companyname{
    display: flex;
    justify-content: center;
    font-size: 50px;
}

.companynamehomepage{
    display: flex;
    justify-content: center;
    font-size: 80px;
}

/* .contacts{
    margin-top: 50px;
    background-image: url(/static/wheat-whole.jpg);
    background-repeat: no-repeat;
    color: #eee;
} */

.homepage{
    display: flex;
    justify-content:space-evenly;
    margin-top: 50px;
}

.homepagecontent{
    font-size: 20px;
    text-align: justify;
}

.homepageimage{
    border: 2px solid black;
    margin-right: 20px;
    margin-left: 20px;
}

.phonenumberhome{
    margin-left: 1000px;
    font-size: 20px;
}
.emailidhome{
    margin-left: 1020px;
    margin-top: -10px;
    font-size: 20px;
}

.aboutimage{
    display: flex;
    justify-content: center;
}

.aboutimg{
    margin-right: 20px;
}

.aboutcontent{
    margin-top: 70px;
    font-size: 25px;
    text-align: justify;
    margin-right: 20px;
}

.aboutheading{
    text-align: center;
}


.allcards {
    /* Your styles for larger screens */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cards {
    /* Your styles for larger screens */
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .card {
    /* Your styles for larger screens */
    margin-bottom: 20px;
  }


@media ((max-width: 768px)) {
    .title {
      /* Adjustments for smaller screens */
      text-align: center; /* Center align the title */
    }

    .companynamehomepage{
        font-size: 50px;
    }
  
    .homepage {
      /* Adjustments for smaller screens */
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .homepageimage {
      /* Adjustments for smaller screens */
      width: 100%; /* Make the image take full width of the screen */
      height: auto; /* Ensure the image maintains its aspect ratio */
    }
  
    .homepagecontent {
      /* Adjustments for smaller screens */
      padding: 20px; /* Add some padding around the content */
      font-size: 16px; /* Decrease font size for better readability */
      line-height: 1.5; /* Increase line height for better readability */
      text-align: justify; /* Justify the text for better readability */
    }
  
    .companynamehomepage {
      margin-bottom: 20px; /* Add some space below the company name */
    }
  
    .phonenumberhome,
    .emailidhome {
      margin-top: 10px; /* Add some space above phone number and email */
      margin-right: 1000px;
    }


    .aboutimage {
        /* Adjustments for smaller screens */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .aboutimg {
        /* Adjustments for smaller screens */
        width: 100%; /* Make the image take full width of the screen */
        height: auto; /* Ensure the image maintains its aspect ratio */
      }
    
      .aboutcontent {
        /* Adjustments for smaller screens */
        padding: 20px; /* Add some padding around the content */
        font-size: 16px; /* Decrease font size for better readability */
        line-height: 1.5; /* Increase line height for better readability */
      }
    
      .aboutheading {
        /* Adjustments for smaller screens */
        margin-top: 20px; /* Add some margin above the heading */
        margin-bottom: 10px; /* Add some margin below the heading */
      }

      .contacts {
        /* Adjustments for smaller screens */
        text-align: center; /* Center align the contact information */
      }
    
      .contactHeading {
        /* Adjustments for smaller screens */
        margin-top: 20px; /* Add margin to the top for spacing */
        margin-bottom: 20px; /* Add margin to the bottom for spacing */
      }
    
      .addressblock {
        /* Adjustments for smaller screens */
        margin-bottom: 20px; /* Add margin to the bottom for spacing */
        font-size: 30px;
        margin-left: 10px;
      }
    
      .phonenumber,
      .emailid {
        /* Adjustments for smaller screens */
        margin-top: 10px; /* Add margin to the top for spacing */
      }

      .emailid{
        font-size: 20px;
        margin-right: 10px;
      }

      .allcards {
        /* Adjustments for smaller screens */
        flex-direction: column;
        align-items: center;
      }
    
      .cards {
        /* Adjustments for smaller screens */
        margin-top: 10px;
      }
    
      .card {
        /* Adjustments for smaller screens */
        width: calc(50% - 20px); /* Adjust card width to fit two cards per row */
      }
    
      .card-img-top {
        /* Adjustments for smaller screens */
        height: 200px; /* Reduce image height */
      }
  }

.nav-item{
  font-size: 20px;
}