@import url(../../root.css);
/*================= Services Section ===================*/

.services-section {
  display: flex;
  justify-content: center;
  padding-top: 100px;
}

.services-section .card {
  width: 33%;
  height: 175px;
  box-shadow: 0 10px 8px 0 rgb(129 154 180 / 16%);
  border: solid 1px #e4e8f0;
  background-color: var(--white-color);
  margin: 25px;
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  border-top: 4px solid var(--white-color);
  transition: all 0.5s;
  cursor: pointer;
}

/* Card line top */

.services-section .card:nth-child(1):hover {
  border-top: 4px solid var(--agro-green-color);
}

.services-section .card:nth-child(2):hover {
  border-top: 4px solid var(--josera-yellow-color);
}

.services-section .card:nth-child(3):hover {
  border-top: 4px solid var(--sprayfo-blue-color);
}

.services-section .card:nth-child(1):hover #green {
  background-color: var(--agro-green-color);
  color: var(--white-color) !important;
}

.services-section .card:nth-child(2):hover #orange {
  background-color: var(--josi-red-color);
  color: var(--white-color) !important;
}

.services-section .card:nth-child(3):hover #blue {
  background-color: var(--sprayfo-blue-color);
  color: var(--white-color) !important;
}

.services-section .card .card-logo {
  flex-grow: 1;
  justify-content: flex-end;
  align-items: flex-start;
  display: flex;
}

.services-section .card .card-logo img {
  width: 40%;
  height: auto;
  margin-right: 1rem;
}

.services-section .card .card-logo #josera {
  width: 30%;
  height: auto;
  margin-top: 10px;
  margin-right: 10px;
}

.services-section .card .card-logo #sprayfo {
  width: 25%;
  height: auto;
  margin-top: 10px;
  margin-right: 30px;
  position: absolute;
}

.services-section .card .card-body {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0px 15px 15px 15px;
}

.services-section .card .card-body h2 {
  font-size: 1.5rem;
  color: var(--black-color);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 3px;
}

.services-section .card .card-body span {
  font-size: 1.3em;
  line-height: 1.5;
  color: #626262;
  padding-right: 10px;
  line-height: 19px;
  padding-left: 1px;
}

.services-section .card .card-btn {
  display: flex;
}

.services-section .card .card-btn #green, .services-section .card .card-btn #orange, .services-section .card .card-btn #blue {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.services-section .card .card-btn #green i, .services-section .card .card-btn #orange i, .services-section .card .card-btn #blue i {
  padding-left: 1px;
}

.green-hv {
  background-color: var(--genex-green-color);
  color: var(--white-color);
}

.services-section .card .card-btn #green {
  border: solid 1px var(--agro-green-color);
  color: var(--agro-green-color);
}

.services-section .card .card-btn #orange {
  border: solid 1px var(--josi-red-color);
  color: var(--josi-red-color);
}

.services-section .card .card-btn #blue {
  border: solid 1px var(--sprayfo-blue-color);
  color: var(--sprayfo-blue-color);
}

/* Hovers */

.services-section .card .card-btn #green:hover {
  background-color: var(--agro-green-color);
  color: var(--white-color);
}

.services-section .card .card-btn #orange:hover {
  background-color: var(--josi-red-color);
  color: var(--white-color);
}

.services-section .card .card-btn #blue:hover {
  background-color: var(--sprayfo-blue-color);
  color: var(--white-color);
}

/*================= Main Services Section ===================*/

.section {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.left__container {
  width: 27%;
  height: auto;
  margin-right: 10px;
}

.right__container {
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.farmanimal__bg {
  background-image: url(../img/banner1.png);
  width: 100%;
  height: 795px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  margin-top: 5px;
}

.farmanimal__bg .frame {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.farmanimal__bg .frame .image .image__josera {
  width: 230px;
  position: absolute;
  left: 2rem;
  bottom: 1.5rem;
}

.farmanimal__bg .frame::before {
  content: '';
  width: 100%;
  height: 100%;
  border: 2px solid var(--white-color);
  position: absolute;
  top: 0px;
  left: 0px;
  transition: .3s;
  visibility: hidden;
  opacity: 0;
}

.farmanimal__bg:hover .frame::before {
  width: 92%;
  height: 95%;
  top: 20px;
  left: 20px;
  visibility: visible;
  opacity: 1;
}

.farmanimal__bg .frame .content {
  padding: 25px;
  padding-top: 60px;
  z-index: 10;
}

.farmanimal__bg .frame .content .title {
  font-weight: 700;
}

.farmanimal__bg .frame .content .subtitle {
  width: 60%;
}

.farmanimal__bg .frame .image {
  padding: 25px;
}

.genetics__bg {
  background-image: url(../img/banner2.png);
  width: 100%;
  height: 395px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-bottom: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
  position: relative;
}

.genetics__bg .frame {
  height: 100%;
}

.genetics__bg .frame::before {
  content: '';
  width: 100%;
  height: 100%;
  border: 2px solid var(--white-color);
  position: absolute;
  top: 0px;
  left: 0px;
  transition: .3s;
  visibility: hidden;
  opacity: 0;
}

.genetics__bg:hover .frame::before {
  width: 97%;
  height: 91%;
  top: 20px;
  left: 20px;
  visibility: visible;
  opacity: 1;
}

.blur__genex {
  position: absolute;
  height: 395px;
  width: 100%;
  top: 0px;
  z-index: 0;
  background: linear-gradient(88.6deg, rgba(255, 255, 255, 0.9) 5.92%, rgba(255, 255, 255, 0.8) 21.89%, rgba(255, 255, 255, 0.7) 33.33%, rgba(255, 255, 255, 0) 58.35%, rgba(0, 148, 141, 0) 76.75%);
}

.blur__genex img {
  height: 395px;
}

.genetics__bg .content {
  z-index: 1;
}

.genetics__bg .content img {
  padding-left: 35px;
}

.genetics__bg .content .title, .genetics__bg .content .subtitle {
  padding-left: 40px;
}

.genetics__bg .content .title {
  font-weight: 700;
}

.genetics__bg .content .subtitle {
  width: 50%;
}

.formula__container {
  width: 100%;
  height: 395px;
}

.formula__bg {
  background-image: url(../img/banner3.png);
  width: 100%;
  height: 395px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
  position: relative;
}

.formula__bg .frame {
  height: 100%;
}

.formula__bg .frame::before {
  content: '';
  width: 100%;
  height: 100%;
  border: 2px solid var(--white-color);
  position: absolute;
  top: 0;
  left: 0;
  transition: .3s;
  visibility: hidden;
  opacity: 0;
}

.formula__bg:hover .frame::before {
  width: 97%;
  height: 91%;
  top: 20px;
  left: 20px;
  visibility: visible;
  opacity: 1;
}

.blur__img {
  position: absolute;
  height: 395px;
  width: 100%;
  top: 0px;
  z-index: 0;
  background: linear-gradient(88.6deg, rgba(1, 63, 122, 0.6) 5.92%, rgba(1, 63, 122, 0.4) 21.89%, rgba(1, 63, 122, 0.7) 33.33%, rgba(1, 63, 122, 0) 58.35%, rgba(1, 63, 122, 0) 76.75%);
}

.blur__img img {
  height: 395px;
}

.formula__bg .content {
  z-index: 1;
}

.formula__bg .content img {
  padding-left: 40px;
  width: 265px;
}

.formula__bg .content .title, .formula__bg .content .subtitle {
  padding-left: 60px;
  color: var(--white-color);
}

.formula__bg .content .title {
  font-weight: 700;
}

.formula__bg .content .subtitle {
  width: 50%;
}

.card-line-green {
  line-height: 0.1px;
}

/* Backenden lévő gombok stílusa */
.genetics__bg .content .more,
.formula__bg .content .more {
  margin-bottom: 1rem;
}

.farmanimal__bg .content .more .more__link,
.genetics__bg .content .more .more__link,
.formula__bg .content .more .more__link {
  min-width: 130px;
  padding: 1rem 2rem;
  background-color: var(--genex-first-color);
  border: 1px solid var(--genex-first-color);
  color: var(--white-color);
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 2rem;
  transition: .3s;
}

.genetics__bg .content .more_genex .more__link,
.formula__bg .content .more_sprayfo .more__link {
  margin-left: 2.5rem;
}

.farmanimal__bg .content .more .more__link:hover,
.genetics__bg .content .more .more__link:hover,
.formula__bg .content .more .more__link:hover {
  color: var(--card-bg-color);
}