body {
    --primary-color: #005EFF;
    --secondary-color: #000000;
    --tertiary-color: #3d3d3b;
}

.btn {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.about-section {
  padding-top: 10rem;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);
}
.about-section p {
  margin-bottom: 5rem;
}

.projects-section {
  padding: 10rem 0;
}
.projects-section .featured-text {
  padding: 2rem;
}
@media (min-width: 992px) {
  .projects-section .featured-text {
    padding: 0 0 0 2rem;
    border-left: 0.5rem solid #64a19d;
  }
}
.projects-section .project-text {
  padding: 3rem;
  font-size: 90%;
}
@media (min-width: 992px) {
  .projects-section .project-text {
    padding: 5rem;
  }
}

.signup-section {
  padding: 10rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000 100%), url("https://ibericoselpernil.es/assets/img/bg-signup.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.signup-section .form-signup input {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.contact-section {
  padding-top: 5rem;
}
.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #64a19d;
}
.contact-section .card h2, .contact-section .card .h2 {
  font-size: 0.8rem;
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}
.contact-section .card hr {
  opacity: 1;
  border-color: #64a19d;
  border-width: 0.25rem;
  width: 3rem;
}
.contact-section .social {
  margin-top: 5rem;
}
.contact-section .social a {
  text-align: center;
  height: 3rem;
  width: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.3);
}
.contact-section .social a:hover {
  color: rgba(255, 255, 255, 0.5);
}
.contact-section .social a:active {
  color: #fff;
}

.footer {
  padding: 5rem 0;
}


p {
  color: white;
  font-size: 20px;
}

.global-banner.newst {
    background-image: url('../assets/img/stbanner.jpg');
    height: 100vh;
    background-position: bottom;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.global-banner.newst .bg-banner-newst h2 {
    font-size: 40px;
    text-align: center;
}

.global-banner.newst .bg-banner-newst h2 span {
    font-family: "Tinos", serif;
    font-weight: bold;
    font-style: italic;
}

.global-banner.newst h2 ~ span {
    font-size: 30px;
    font-family: "Tinos", serif;
    font-style: italic;
}

.global-banner.newst .bg-banner-newst {
    z-index: 9;
}

.global-banner .brand {
    width: 100%;
    max-width: 950px;
    margin-top: 40px;
}


.global-banner.newst img.animated {
    filter: none !important; 
    animation: pulse 1.3s ease infinite;
    max-width: 100%;
    width: 75%;
}

/* Creating the heartbeat effect*/
@keyframes pulse {
    0% { 
        transform: scale(1); 
  }
    50% {
        transform: scale(1.01); 
  }
  100% { 
        transform: scale(1); 
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .global-banner .social-networks i{
        margin: 30px 5px;
    }    
}


.global-banner.newst #filtervideo {
    background: linear-gradient(180deg, rgba(5, 24, 63, 0.8) 43%, rgba(14, 6, 164, 0) 100%);
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topbar {
  position: absolute;
  width: 100%;
  z-index: 9;
  background-color: transparent;
  border-bottom: 1px solid #ffffff38;
}

.social-networks ul {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding-left: 0;
}

.social-networks ul li {
  list-style: none;
}

.social-networks ul li img {
  filter: brightness(0) invert(1);
}

.social-networks img {
  width: 30px;
}

.buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.btn-primary, .btn-primary:hover, .btn-primary:visited, .btn-primary:focus,
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
  background: white;
  color: var(--tertiary-color) ;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover, .btn-primary:visited, .btn-primary:focus,
:not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active {
  transform: scale(1.03);
}

/*--------------------------*/
/*--------RESPONSIVE--------*/
@media (max-width: 991px) {
  .global-banner.newst .bg-banner-newst h2 {
    font-size: 37px;
  }

  .global-banner.newst img.animated {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .global-banner.newst .bg-banner-newst h2 {
    font-size: 34px;
    margin-top: 15px;
  }

  .global-banner.newst img.animated {
    width: 100%;
  }

  .buttons-row {
    flex-direction: column;
    gap: 25px;
  }

  .buttons-row > div {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .global-banner.newst .bg-banner-newst h2 {
    font-size: 32px;
  }
}

@media (max-height: 800px) {
  .global-banner.newst,
  .global-banner.newst #filtervideo {
    min-height: 770px;
    height: 100vh;
  }
}

@media (max-width: 767px) and (max-height: 900px) {
  .global-banner.newst,
  .global-banner.newst #filtervideo {
    min-height: 880px;
  }
}