@charset "UTF-8";


:root {
  --red: #9b1209;
  --pink: #ffd7da;
  --lightgray: #F4F4F4;

  --body-color: black;
  --body-bg: white;

  --font-family: "Poppins", sans-serif;
  --body-font-size: 1rem;
  --body-font-weight: 400;
  --body-line-height: 1.5;
}

.red {
  color: var(--red);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  color: var(--body-color);
  text-align: var(--body-text-align);
  background-color: var(--body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1 {
  font-family: "Huninn", sans-serif;
  font-weight: bold;
}
p {
  font-size: 1.1rem;
}

a {
  color: var(--body-color);
}

a:hover{
  color: var(--red);
}

.display-3 {
  font-family: "Huninn", sans-serif;
  font-weight: 700;
  line-height: 4.5rem;
}

.display-4 {
  font-weight: 700;
  line-height: 3.5rem;
  font-size: 3.5rem;
}

.display-5 {
  font-weight: 100;
  line-height: 2rem;
  font-size: 1.5rem;
}

.hr-black {
  border: solid var(--body-color) 1px;
}

.btn {
  border-radius: 1.25rem;
}

.btn-red {
  background-color: var(--red);
  border-radius: 1.25rem;
  border-color: var(--red);
}

#contactos a.btn-dark {
  color: white !important;
}


.page-item.active .page-link {
  color: var(--red);
  background-color: var(--pink);
  border-color: var(--red);
}

#hero-home, #contact, #hero-about {
  margin-top: 7% !important;
}


#hero-home, #hero-about {
  width: 100%;
}

.hero-home-content {
  position: relative;
  width: 100%;
  min-height: 550px;
  height: 70vh;
  max-height: 800px;
  overflow: hidden;
  display: flex;  
  align-items: flex-start;
  justify-content: left;
}

.hero-about-content {
  position: relative;
  width: 100%;
  min-height: 350px;
  height: 10vh;
  max-height: 800px;
  overflow: hidden;
  display: flex;  
  align-items: flex-start;
  justify-content: left;
}

.hero-home-background, .hero-about-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-home-text {
  position: relative;
  z-index: 1;
  width: 35%;
  max-width: 1000px;
  padding: 2rem;
  color: #fff;
  background-color: var(--red);
  border-radius: 2.5rem;
  margin-left: 2rem;
}

.hero-home-text h1 {
  margin-bottom: 1.5rem;
}

.hero-home-text h5 {
  margin: 0 auto;
  line-height: 1.5;
}

.hero-home-text .hr-black {
  width: 80px;
  margin: 1.5rem auto 0;
  border-top: 3px solid #fff;
}


#news-section, #flyer {
  background-color: var(--pink);
}

#flyer img {
  border-radius: 2.5rem;
}

.news-feature {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--red);
  color: #fff;
  border-radius: 32px;
  min-height: 320px;
  margin-right: 100px;
}

.news-content {
  width: 72%;
  padding: 35px 40px;
  padding-right: 20px;
}

.news-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-date {
  font-size: 22px;
  margin-bottom: 12px;
}

.news-description {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 28px;
}

.news-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
}

.news-link:hover {
  background-color: #fff;
  color: var(--red);
}

.news-image-wrapper {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 375px;
  height: 375px;
}

.news-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* article cover fallback: the RAYAVIVA logo is about 4.4:1, much wider than these
   frames, so keep the whole wordmark visible rather than cropping or leaving it
   flush left at its natural size */
.news-feature-image.cover-fallback {
  object-fit: contain;
  padding: 14%;
  background-color: #ffffff;
}

.card.cover-fallback .card-img-top {
  display: block;
  width: auto;
  max-width: 72%;
  margin: 1.5rem auto;
}

@media (max-width: 991px) {
  .news-feature {
    margin-right: 0;
    margin-top: 100px;
    min-height: auto;
  }

  .news-content {
    width: 100%;
    padding: 140px 25px 30px;
  }

  .news-content h2 {
    font-size: 25px;
  }

  .news-description {
    font-size: 16px;
  }

  .news-image-wrapper {
    width: 190px;
    height: 190px;
    top: -95px;
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  .news-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-content h2 {
    font-size: 22px;
  }

  .news-date {
    font-size: 18px;
  }
}



@media (max-width: 767px) {
  .hero-home-content {
    min-height: 400px;
    height: 60vh;
  }

  .hero-home-text {
    padding: 1.5rem;
  }

  .hero-home-text h1 {
    font-size: 2.2rem;
  }

  .hero-home-text h5 {
    font-size: 1.1rem;
  }
}


#about-home .about-gif img{
  height:7rem;
  width: auto;
}

#about-home, #about-2, #newsletter, #platform-home {
  background-color: var(--red) ;
}

#noticias, .about-box, #objetivos, #contact, #publico-alvo {
  background-color: var(--pink);
}

#obj-home .card, #reg-home .card {
  border: none !important;
  background-color: transparent !important;
}

#obj-home .card, #reg-home .card {
  background-color: var(--red) !important;
  border-radius: 1.25rem;
}

#obj-home .card, #reg-home .card {
  max-height: 80%;
  display: flex;
  position: relative;
}

#obj-home .card-body, #reg-home .card-body {
  bottom: 5rem;
  position: relative;
}

#obj-home .card h5, #reg-home .card h5 {
  font-weight: 700;
}

#obj-home .card p, #reg-home .card p {
  font-weight: 100;
}

#oportunidades-home .oport-gif img{
  height:4rem;
  width: auto;
}

#noticias .card {
  border: none;
  background-color: transparent;
}

#noticias .news-text-left {
  background-color: var(--red);
  border-radius: 1.25rem;
}

#contactos {
  background-image: url(https://s3.eu-west-1.amazonaws.com/cdn.irradiare.biz/www.rayaviva.eu/images/rayaviva_banner-5.png);
  height: 100%;
  background-attachment: inherit;
  background-position: right top;
  background-repeat: no-repeat;
}

#contactos .email-gif img{
  height:4rem;
  width: auto;
}

#contactos a{
  color: var(--body-color);
  font-weight: 300;
}

#contactos .logos-partners {
  background-color: var(--red);
  border-radius: 2.5rem;
}

#about .about-box{
  border-radius: 1.25rem;
}

.logo-partners {
  border: 2px solid var(--pink);
  border-radius: 1.25rem;
}