html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: Century Gothic, Verdana, Geneva, Tahoma, sans-serif;
}

header {
  border: solid 1px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  /* padding: 10px 0; */
}

/* Footer styles */
footer {
  width: 100%;
  border: solid 1px;
  padding: 20px 0; /* Vertical padding */
  margin: 0; /* Remove margin */
  position: relative;
  background-color: #f8f8f8;
}

.fa-brands {
  margin-right: 5px;
}

/* Flexbox container inside footer */
.flex-container-row {
  display: flex;
  justify-content: space-between; /* Space out the items evenly */
  width: 100%;
  padding: 0 20px;
  flex-wrap: wrap;
}

/* Flex items styling */
.flex-item {
  flex: 1; /* Makes each item take equal width */
  margin-left: 80px;
  margin-right: 80px;
}

#contact-address p {
  display: flex;
}

.social,
.legal {
  list-style-type: none;
  padding: 0;
}

.social li,
.legal li {
  margin-bottom: 10px;
}

/* .footer-copyright {
  display: block;
} */

hr {
  width: 100%; /* Ensure the horizontal rule spans full width */
  margin-top: 20px;
  border-top: 1px solid #ccc;
}

footer p {
  text-align: center; /* Center align footer text */
  margin-top: 20px;
}

.hero-section {
  position: relative;
  border: solid 1px;
  overflow: hidden;
  width: 100%;
  height: 70vh;
  margin-top: 80px;
}

.hero-img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%s);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2em;
  border-radius: 8px;
}

/**/
/* .category-news-container {
 
} */

.category-news {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.category-news a {
  text-decoration: none;
}

.loadNews {
  display: none;
}

.jobs-flex-container.loadJobs {
  display: block;
}

/**/

.hero-btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.75em 1.5em;
  background-color: #fdd835;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.hero-btn-learn:hover,
.hero-btn-explore:hover {
  background-color: white;
  color: E67817;
}

.hero-btn-learn,
.hero-btn-explore {
  background-color: E67817;
  color: white;
  text-decoration: none;
  margin-right: 15px;
  box-shadow: #000;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  min-width: 150px;
  white-space: nowrap;
}

/* Nav Links*/
.nav-ul {
  padding: 0;
  display: flex;
  column-gap: 2em;
  list-style: none;
  text-transform: uppercase;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-right: -100px;
  margin-left: -100px;
}

.nav-ul li a {
  color: white;
  text-decoration: none;
}

.nav-ul .current a {
  font-weight: bold;
  color: E67817;
}

.nav-ul .current a:hover {
  color: white;
  padding: 3px;
}

.nav-ul li a:hover {
  background-color: E67817;
  padding: 3px;
}

/* Footer Links*/
.social li a,
.legal li a {
  text-decoration: none;
  color: black;
  text-decoration: underline;
}

.social li a:hover,
.legal li a:hover {
  color: E67817;
}

.navbar-container #main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: solid 4px orange;
  width: 100%;
  height: 80px;
  background-color: #000;
}

/* Logo container styling */
.logo-container {
  display: flex;
  max-width: 100%;
  height: auto;
  margin-left: 100px;
}

/* Logo styling */
.logo {
  max-width: 70px;
  height: auto;
  display: block;
}

.mobile-menu,
.mobile-menu-close {
  display: none;
}

.contact-cta {
  border-radius: 5px;
  background-color: E67817;
  color: white;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  width: 10%;
  align-items: center;
  justify-content: center;
  margin-right: 100px;
  min-width: 150px;
  white-space: nowrap;
}

.contact-cta:hover {
  background-color: white;
  color: E67817;
}

.showJob-cta {
  border-radius: 5px;
  background-color: E67817;
  color: white;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  width: 10%;
  align-items: center;
  justify-content: center;
  margin-right: 100px;
  min-width: 150px;
  white-space: nowrap;
}

.showJob-cta:hover {
  background-color: white;
  color: E67817;
}

.closeJob-btn {
  display: none;
}

.closeJob-cta {
  border-radius: 5px;
  background-color: E67817;
  color: white;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  width: 10%;
  align-items: center;
  justify-content: center;
  /* margin-right: 100px; */
  min-width: 150px;
  white-space: nowrap;
}

.closeJob-cta:hover {
  background-color: white;
  color: E67817;
  border: solid 2px orange;
}

.load-news-cta {
  border-radius: 5px;
  background-color: E67817;
  color: white;
  padding-top: 12px;
  padding-bottom: 12px;
  /* display: flex; */
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  /* width: 10%; */
  /* margin-right: 100px; */
  /* min-width: 150px; */
  white-space: nowrap;
  margin: 0;
  /* padding: 0;  */
}

.load-news-cta:hover {
  background-color: black;
  color: white;
}

.load-news-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 50px;
}

main {
  /* border: solid 1px; */
  padding: 0;
  margin-left: 100px;
  margin-right: 100px;
}

.about-preview p {
  /* display: flex; */
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  /* justify-content: center; */
}

.about-preview h2 {
  display: flex;
  /* border-left: solid 5px rgb(247, 138, 4); */
  /* padding-left: 5px; */
  text-align: center;
  justify-content: center;
  padding-top: 170px;
  padding-bottom: 50px;
}

.contact-preview h2 {
  display: flex;
  /* border-left: solid 5px rgb(247, 138, 4); */
  /* padding-left: 5px; */
  text-align: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-preview .about-heading-text {
  margin-top: -100px;
  margin-bottom: -30px;
}

.about-preview a {
  font-size: 18px;
  display: flex;
  color: E67817;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  margin-bottom: 40px;
}

.about-preview > a:hover {
  text-decoration: underline;
}

.grid-brands-container {
  display: grid;
  /* border: solid 1px orange; */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  margin-bottom: 50px;
  gap: 30px;
}

.visit-brand a {
  color: E67817;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.visit-brand a:hover {
  text-decoration: underline;
}

/**/
.yin-yang-brand .brand-photo {
  border: solid 1px orange;
  margin: 10px;
  border-radius: 50px;
  overflow: hidden;
}

.ice-cream-brand .brand-photo {
  border: solid 1px orange;
  margin: 10px;
  border-radius: 50px;
  overflow: hidden;
}

.yin-yang-brand,
.ice-cream-brand {
  /* background-color: E67817; */
  /* color: white; */
  border-radius: 50px;
}

.yin-yang-brand .brand-photo img {
  width: 100%;
  /* height: auto; */
  object-fit: cover;
  display: block;
  height: 250px;
}

.ice-cream-brand .brand-photo img {
  width: 100%;
  /* height: auto; */
  object-fit: cover;
  display: block;
  height: 250px;
}

/**/

.team-container {
  display: grid;
  /* border: solid 1px orange; */
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 30px;
}

.team-card p {
  margin-top: 140px;
  margin-bottom: -90px;
  padding: 5px;
}

.team-card .team-name {
  font-style: italic;
  padding-bottom: 10px;
}

.about-section .about-container .about-card .about-text {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.about-section .about-container p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

.brand-card {
  position: relative;
  border: solid 1px orange;
}

.brand-card .about-mission {
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-image {
  width: 150px;
  height: 150px;
  border: solid 2px orange;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}

.circle-image .about-testimonial-img {
  top: -70;
}

.yin-yang-express-img,
.ice-cream-factory-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-card .circle-image {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-card h3,
.visit-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-card h3 {
  margin-top: 130px;
}

.visit-page {
  color: E67817;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.visit-page:hover {
  text-decoration: underline;
}

.brand-card p {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.our-brands h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.news-preview h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 15px;
}

.news-grid {
  /* border: solid 1px orange; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 60px 30px;
  padding: 1rem;
  margin-bottom: 50px;
}

.news-grid-comment {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 60px 30px;
  padding: 1rem;
  margin-bottom: 50px;
}

.news-card-comment {
  grid-column: span 2;
}

/**/
.comment-form-card {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.comment-form-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-form-card label {
  font-weight: 600;
  margin-bottom: 4px;
}

.comment-form-card input,
.comment-form-card textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.comment-form-card textarea {
  min-height: 200px;
  resize: vertical;
}

.comment-form-card button {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: E67817;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding-top: 12px;
  padding-bottom: 12px;
}

.comment-form-card button:hover {
  background-color: black;
  color: white;
}

/**/

.news-image-card img {
  display: block;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

.news-image-card {
  border: solid 1px orange;
  border-radius: 10px;
  display: grid;
  gap: 30px;
}

.news-date {
  margin-bottom: 10px;
}

.news-time {
  margin-left: 7px;
}

.fa-calendar-days,
.fa-clock {
  margin-right: 5px;
}

#comment-counter,
#comment-link {
  display: flex;
  float: right;
  margin-right: 5px;
  text-decoration: none;
}

/* .news-card,
h3,
p,
a,
time,
span.news-time,
span.news-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px orange;
} */

.career h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 10px;
}

.career-container-home {
  border: solid 1px E67817;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 50px;
  transform: translate(-50%, -50%s);
  color: E67817;

  background-color: rgb(247, 239, 223);
  border-radius: 8px;
}

.career-container-home p {
  font-size: large;
}

/**/

.career-container {
  border: solid 1px E67817;
  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: center;
  padding: 0;
  margin-bottom: 50px;

  transform: translate(-50%, -50%s);
  color: E67817;

  background-color: rgb(247, 239, 223);
  border-radius: 8px;
}

.career-container-h1 {
  margin-bottom: 20px;
}

.news-preview h2 {
  margin-bottom: 50px;
}

.search-form input,
select,
button {
  height: 40px;
  width: 250px;
  border: solid 2px orange;
}

button {
  background-color: E67817;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
}
/**/

.jobs-flex-container {
  display: flex;
}

.job-card {
  border: solid 2px orange;
  border-left: none;
  border-top: none;

  /* background-color: rgb(247, 239, 223); */
  width: 100%;
  height: 150px;
  flex: 2;
  margin-bottom: 50px;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}
.job-card p {
  margin: 0 0 10px;
}

.job-card .job-description {
  font-size: large;
  border-left: solid 5px black;
  padding-left: 10px;
}

.job-card-description {
  display: none;
  border: solid 1px orange;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 50px;
  margin-top: -50px;
  border-top: none;
  padding-top: 15px;
}

.job-card .location-text {
  font-weight: small;
  color: #3d3a3a;
}

.news-date .fa-heart {
  float: right;
  font-size: large;
  color: E67817;
  cursor: pointer;
}

.job-card-apply {
  border: solid 2px orange;
  border-left: none;
  width: 100%;
  height: 150px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-container {
  border: solid 1px E67817;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 50px;
  transform: translate(-50%, -50%s);
  color: E67817;
  /* background-color: E67817; */
  background-color: rgb(247, 239, 223);
  border-radius: 8px;
}

.apply-now-cta {
  margin: 0;
}

.apply-now-cta:hover {
  border: solid 2px orange;
}

.news-container p {
  font-size: large;
}

.preview-details {
  font-size: 18px;
  display: flex;
  color: E67817;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  margin-bottom: 40px;
  cursor: pointer;
}

.career-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: E67817;
  color: white;
  text-decoration: none;
  /* margin-right: 15px; */
  box-shadow: #000;
  border-radius: 5px;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 15px;
}

.career-btn:hover {
  background-color: white;
  color: E67817;
}

.brands {
  margin-top: 100px;
  margin-bottom: -20px;
}

.readmore-news {
  color: E67817;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.readmore-news:hover {
  text-decoration: underline;
}

#iframe-container iframe {
  width: 100%;
  height: 100%;
  z-index: 10;
  object-fit: cover;
}

.contact-container {
  /* border: solid 1px orange; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.contact-container #contact-email p a {
  color: E67817;
  font-size: 20px;
  text-decoration: none;
}

.team-container {
  background-color: rgb(247, 239, 223);
  padding: 100px;
}

.team-card {
  background-color: E67817;
  color: white;
  padding: 5px;
}

/* Media Querry tablet*/
@media (max-width: 991px) {
  .grid-brands-container {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }

  .grid-brands-container .yang-express {
    margin-bottom: 90px;
  }

  main {
    width: 100%;
    padding: auto 0;
    margin: 0;
  }
  .hero-text {
    position: absolute;
    top: 20%;
    width: 50%;
    height: auto;
  }

  .hero-btn-learn,
  .hero-btn-explore {
    display: block;
    margin: 5px;
    background-color: E67817;
    font-size: small;
    color: white;
    text-decoration: none;
    box-shadow: #000;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    min-width: 150px;
    white-space: nowrap;
  }
  .brand-card {
    margin: 20px;
  }

  .news-card {
    margin: 20px;
  }

  .career-container p {
    font-size: medium;
    padding-left: 10px;
  }

  .career-container {
    margin-left: 10px;
    margin-right: 10px;
  }

  .brands {
    margin-top: 100px;
    margin-bottom: -20px;
  }

  .career-container .career-btn {
    font-size: small;
    width: 50%;
    padding-left: 10px;
  }

  .flex-container-row p {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flex-container-row h3 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80%;
    background-color: white;
    gap: 10px;
    padding: 15px;
    border-bottom: solid 3px orange;
  }

  #nav-ul-show {
    display: none;
    text-align: right;
    gap: 10px;
    line-height: 30px;
  }

  .nav-ul li a {
    color: orange;
  }

  .nav-ul li a:hover {
    text-decoration: underline;
    color: orange;
    background-color: white;
  }

  .nav-ul .current a:hover {
    text-decoration: underline;
    color: orange;
    background-color: white;
  }

  .contact-cta {
    display: block;
    text-align: center;
  }

  .logo {
    position: absolute;
    left: 5%;
    top: 5%;
  }

  .navbar-container .fa-bars {
    display: block;
    position: absolute;
    right: 5%;
    top: 30%;
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  .navbar-container .fa-xmark {
    display: none;
    position: absolute;
    right: 5%;
    top: 30%;
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  .fa-brands {
    margin-right: 5px;
    position: absolute;
    left: 16%;
    padding-top: 4px;
  }

  #iframe-container iframe {
    width: 100%;
    height: 100%;
    z-index: 10;
    object-fit: cover;
  }

  .team-card {
    margin: 50px;
  }

  .ice-cream-brand {
    margin-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
  }

  .yin-yang-brand {
    margin-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
  }

  .search-form input,
  select,
  button {
    height: 35px;
    width: auto;
  }
}

/* Media Querry mobile*/
@media (max-width: 768px) {
  .grid-brands-container {
    grid-template-columns: 1fr;
  }

  .grid-brands-container .yang-express {
    margin-bottom: 90px;
  }

  .team-container {
    padding: 30px;
  }

  .our-brands h2 {
    margin-bottom: 50px;
  }

  .our-brands .our-team-text {
    margin-bottom: 1px;
  }

  .team-container .team-card {
    margin-top: 90px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  main {
    width: 100%;
    padding: auto 0;
    margin: 0;
  }

  .hero-section {
    height: 50vh;
  }

  .hero-text {
    position: absolute;
    top: 20%;
    width: 50%;
    height: auto;
    left: 240px;
  }

  .hero-img {
    height: auto;
  }

  .hero-btn-learn,
  .hero-btn-explore {
    display: block;
    margin: 5px;
    background-color: E67817;
    font-size: small;
    color: white;
    text-decoration: none;
    box-shadow: #000;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    min-width: 150px;
    white-space: nowrap;
  }
  .brand-card {
    /* margin: 20px; */
    margin-bottom: 100px;
  }

  .news-card {
    margin: 20px;
  }

  .career-container-home p {
    font-size: medium;
    padding-left: 10px;
  }

  .career-container-home {
    margin-left: 10px;
    margin-right: 10px;
  }

  .career-container-home .career-btn {
    font-size: small;
    width: 50%;
    padding-left: 10px;
  }

  .flex-container-row p {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flex-container-row h3 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80%;
    background-color: white;
    gap: 10px;
    padding: 15px;
    border-bottom: solid 3px orange;
  }

  #nav-ul-show {
    display: none;
    text-align: right;
    gap: 10px;
    line-height: 30px;
  }

  .nav-ul li a {
    color: orange;
  }

  .nav-ul li a:hover {
    text-decoration: underline;
    color: orange;
    background-color: white;
  }

  .nav-ul .current a:hover {
    text-decoration: underline;
    color: orange;
    background-color: white;
  }

  .contact-cta {
    display: none;
    text-align: center;
  }

  .logo {
    position: absolute;
    left: 5%;
    top: 5%;
  }

  .navbar-container .fa-bars {
    display: block;
    position: absolute;
    right: 5%;
    top: 30%;
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  .navbar-container .fa-xmark {
    display: none;
    position: absolute;
    right: 5%;
    top: 30%;
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  .fa-brands {
    margin-right: 5px;
    position: absolute;
    left: 16%;
    padding-top: 4px;
  }

  #iframe-container iframe {
    width: 100%;
    height: 100%;
    z-index: 10;
    object-fit: cover;
  }

  .ice-cream-brand {
    margin-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
  }

  .yin-yang-brand {
    margin-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
  }
  .search-form input,
  select,
  button {
    height: 35px;
    width: auto;
  }

  .job-card .job-description {
    font-size: 15px;
    margin-top: -15px;
  }

  .job-card h3 {
    margin-top: -3px;
  }
  .job-card-apply .showJob-cta,
  .closeJob-cta,
  .apply-now-cta {
    margin-left: 15px;
    margin-right: 15px;
  }

  .job-card-apply {
    margin-right: 15px;
  }

  .about-preview p {
    padding-left: 10px;
    padding-right: 10px;
  }
}
