/* Root variables */
:root {
  --main-blue-color: #DC143C;
  --black: #000000;
  --white: #FFFFFF;
  --primary-color: #DC143C;
  --secondary: #0a2540;
  --background: #F8F8FF;
  --text: #2C2C2C;
  --footer-background: white;
  --text-color: #111420;
  --text-gray: #e1e1e1;
  --text-heading-gray: #b9b9b9;
}

/* Global styles */
body {
  margin: 0;
  width: 100vw;
}

a, p, h1, h2, h3, h4, h5 {
  font-family: "Josefin Sans", sans-serif;
}

/* Navbar styles */
.navbar {
  background-color: var(--white);
  height: 10vh;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

.navbar-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.navlogo{
  height: 2em;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-right: 10px;
}

.menu li:last-child {
  margin-right: 0;
}

.menu li a {
  text-decoration: none;
  color: var(--black);
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 5px;
  transition: 0.3s;
}

.menu li a:hover {
  color: var(--main-blue-color);
}

/* Main background image */
.main-background-img {
  object-fit: cover;
  height: 80vh;
  width: 100%;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

/* Companies section */
.companies-title {
  text-decoration: none;
  color: var(--black);
}

.companies-logos {
  overflow: hidden;
}

/* Form styles */
.form-control {
  width: 100%;
}

.form-group {
  width: 100%;
}

/* Keyframes animation */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Logos section */
.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
  display: inline-block;
  animation: slide 20s linear infinite;
  white-space: nowrap;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
  display: inline-block;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* About section */
.about {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.about-main-container {
  width: 83rem;
  display: flex;
  justify-content: center;
  margin: 5vh 5vw;
}

.about-title {
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
}

.about-text {
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
  width: 50%;
}

.about-img {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: end;
  margin-left: 5vh;
}

.about-img-container {
  display: flex;
  object-fit: cover;
}

.about-img-src {
  height: 400px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* Offer section */
.offer-main-container {
  display: flex;
  flex-direction: column;
  padding: 3vh 0;
}

.offer-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: var(--white);
  margin: 0 5vw;
}

.single-offer-container {
  display: flex;
  flex-direction: column;
  margin: 0 1vw;
  height: 0%;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.top-container-inside-single-offer img {
  height: 100%;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
}

.bottom-container-inside-single-offer {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bottom-container-inside-single-offer h4 {
  color: var(--black);
  margin-top: 2vh;
  padding-bottom: 10px;
  font-weight: 600;
}

.bottom-container-inside-single-offer p {
  padding: 0 20px;
  font-size: 1rem;
}

.bottom-container-inside-single-offer button {
  margin-bottom: 1vh;
  border-radius: 5px;
  border: 0px;
  background-color: var(--main-blue-color);
  color: #FFFFFF;
  padding: 5px 10px;
  width: 100%;
}

/* Offer title */
.offer-title {
  width: 100%;
  text-align: center;
}

/* Offer container */
.offer-container {
  padding-top: 7vh;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 1rem;
  width: 90vw;
  box-sizing: content-box;
}

/* Content section */
.content {
  height: 16rem;
  padding: 1.5rem;
  flex-grow: 1;
}

.card {
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  box-shadow: 0px 18px 36px -18px rgba(0,0,0,0.1),
              0px 30px 45px -30px rgba(50,50,93,0.25);
  background-color: white;
  cursor: pointer;
  width: 100%;
  flex-basis: 20rem;
  padding: 0.25rem;
  min-height: 35rem;
  transition: all 0.2s ease-in-out;
}

/* Content headings */
.content > h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Content paragraphs */
.content > p {
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 500;
}

/* Content links */
.content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 800;
}

.content a:hover {
  color: #0a2540;
}

/* Card background */
.card-background {
  height: 13rem;
  transition: all 0.2s ease-in-out;
}

.card:hover .card-background {
  height: 10rem;
}

.card-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Action bottom bar */
.card:hover .action-bottom-bar a {
  opacity: 1;
}

.action-bottom-bar {
  display: flex;
  font-size: 1.125rem;
  height: 2.5rem;
  width: 100%;
}

.action-bottom-bar a {
  display: flex;
  gap: 0.4rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 800;
  opacity: 0;
  padding: 0 1.5rem;
  transition: all 0.2s ease-in-out;
}

.action-bottom-bar a:hover {
  color: var(--secondary);
}

.action-bottom-bar a:hover svg {
  color: var(--secondary);
}

.action-bottom-bar a svg {
  transition: all 0.2s ease-in-out;
}

.arrow {
  display: none;
}

.action-bottom-bar a:hover .arrow {
  display: block;
}

.action-bottom-bar a:hover .chevron {
  display: none;
}

/* Gallery section */
.gallery-container {
  padding-top: 5vh;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  gap: 1rem;
  max-width: 100rem;
}

.custom-icon {
  display: inline-block;
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.custom-icon > img{
  vertical-align: middle;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
}

.gallery-title {
  width: 100%;
  text-align: center;
}

.gallery-container article {
  max-width: 20rem;
  width: 100%;
  position: relative;
  display: block;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.gallery-container article h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.6rem;
  color: var(--text);
  transition: color 0.3s ease-out;
}

.gallery-container article img {
  max-width: 100%;
  transform-origin: center;
  transition: transform 0.4s ease-in-out;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  object-fit: cover;
}

.gallery-container article:hover img {
  transform: scale(1.1);
}

.article-preview {
  padding: 1.5rem;
  background: white;
}

.gallery-container figure {
  width: 100%;
  height: 20rem;
  overflow: hidden;
  margin: 0rem;
}

.text-more-container {
  color: #000000;
  width: 100%;
  text-align: end;
  max-width: 83rem;
}

.text-more{
  color: #000000;
  text-decoration: none;
}

.text-more:hover{
  color: var(--main-blue-color);
}

.custom-indent {
  text-indent: 2vw;
}

.custom-indent2{
  text-indent: 0.5em;
  margin-top: 0.3em;
}

/* Footer section */
footer {
  padding-top: 7vh;
  bottom: 0;
  background-color: var(--footer-background);
  min-width: 18rem;
  width: 100vw;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 90rem;
  padding: 1rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem 0px;
}

.footer-line {
  display: block;
  width: 100%;
  height: 0.5rem;
  background: var(--main-blue-color);
}

/* Footer subscribe */
.footer-subscribe {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-subscribe > input {
  border: 1px solid var(--text-gray);
  color: var(--text-color);
  min-height: 2.25rem;
  font-size: 1.2rem;
  flex: 1 0 8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.footer-subscribe > button {
  cursor: pointer;
  background: var(--text-color);
  border-radius: 0.5rem;
  color: white;
  font-size: 1.25rem;
  min-width: 8rem;
  min-height: 2.25rem;
  flex: 1 0 5rem;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  border: 0;
  outline: none;
}

/*? footer columns */
.footer-columns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  align-items: start;
  flex: 2 0 140px;
  width: 100%;
  gap: 1rem;
  padding: 1.5rem 0.5rem 1rem 0.5rem;
  margin: 0 auto;
}

.footer-columns ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-columns ul a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-columns ul a:hover{
  text-decoration: underline;
}

.footer-columns ul li {
  margin-bottom: 1rem;
}

.footer-columns h3 {
  color: var(--footer-heading-gray);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-centering {
  margin: 0 auto;
}

.footer-columns > section{
  padding-right: 5rem;
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  min-width: 12rem;
  gap: 0.5rem;
}

/* Footer logo */
.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  min-width: 12rem;
  gap: 0.5rem;
}

.footer-logo > svg {
  stroke: var(--text-color);
  stroke-width: 0.5rem;
  width: 3rem;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--text-gray);
  margin-top: 3rem;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  padding: 1rem 0px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-bottom > small {
  font-size: 1rem;
  margin: 0 0.25rem;
}

.footer-headline > h2 {
  margin: 0;
}

.footer-headline > p {
  margin: 0.75rem 0px;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.social-links img {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.2s ease-in-out;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Map holder */
.MapHolder {
  width: 100%;
}

/* Form button */
.form-button {
  background-color: var(--main-blue-color);
  border: 0;
  color: white;
  font-weight: 600;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  transition: 0.5s;
}

.form-button:hover {
  background-color: var(--secondary);
}

/* Google Maps view */
.GoogleMapsView {
  right: 0;
  width: 100%;
  height: 30vh;
  box-shadow: 0 0px 5px #000000;
}

/* Contact link */
.contact-link {
  color: #000000;
  transition: 0.3s;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--main-blue-color);
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .main-background-img {
    max-width: 768px
  }
  .text-more-container {
    width: 100%;
    text-align: end;
    max-width: 83rem;
  }
  .menu {
    display: none;
  }
  .about {
    margin-left: 0;
    margin-right: 0;
  }
  .about-main-container {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }
  .about-title {
    margin-bottom: 3vh;
  }
  .about-img-container {
    margin-left: 0;
    margin-right: 0;
    width: 90%;
    justify-content: center;
  }
  .about-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100vw;
    height: 100%;
    margin-bottom: 0vh;
    word-wrap: break-word;
  }
  .about-description {
    padding-left: 5vw;
    padding-right: 5vw;
    word-wrap: break-word;
  }
  .about-img {
    justify-content: center;
    padding: 2vw;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    display: flex;
    height: 100%;
  }
  .about-img-src {
    height: 100vw;
    height: 400px;
    max-height: 100%;
    object-fit: cover;
  }
  .offer-container {
    padding-top: 5vh;
    flex-direction: column;
  }
  .single-offer-container {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }
  .offer-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    margin-left: 5vw;
    margin-right: 5vw;
  }
  .single-offer-container {
    margin-bottom: 5vh;
  }
  .gallery-container {
    display: none;
  }
  footer {
    padding-top: 1vh;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: space-between;
    justify-content: center;
    margin: 0 auto;
  }
  .card {
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    box-shadow: 0px 18px 36px -18px rgba(0,0,0,0.1),
                0px 30px 45px -30px rgba(50,50,93,0.25);
    background-color: white;
    cursor: pointer;
    width: 100%;
    flex-basis: content;
    padding: 0.25rem;
    transition: all 0.2s ease-in-out;
  }
  .content {
    height: 0rem;
    padding: 1.5rem;
    flex-grow: 1;
  }
  .content p {
    margin-bottom: 2rem;
  }
  .footer-wrapper {
    display: inline;
  }
  .footer-columns {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    flex: 2 0 140px;
    width: 100%;
    gap: 1rem;
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    margin: 0 auto;
  }
  .footer-columns > section {
    padding-right: 2rem;
  }
  .footer-columns > section > h3 {
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 1200px) {
  .text-more-container {
    width: 100%;
    text-align: end;
  }
}
