@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

@font-face {
  font-family: 'Minimal Mono';
  src: url('fonts/Minimal-Mono-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Minimal Mono';
  src: url('fonts/Minimal-Mono-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Minimal Mono';
  src: url('fonts/Minimal-Mono-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Minimal Mono', monospace; 
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* General container style */
.container {
  width: 80%;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background-color: #29265B;
  color: #fff;
  padding: 20px 0;
  display: flex;
  height: 15vh;
  justify-content: space-between;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

header a {
  text-decoration: none;
}

header a .cta-button {
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #454E9C;
  order: 0;
  font-family: 'Roboto Mono', monospace;
  background-color: #F5A167;
  padding: 15px 25px;
  border: none;
  border-radius: 30px;
  height: 41px;
  cursor: pointer;
  z-index: 15;
}

header a .cta-button:hover {
  color: #F5A167;
  background-color: #29265B;
  border: 2px solid #F5A167;
}

/* Main screen */
.main-screen {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 100px 0;
  background-color: #29265B;
  color: white;
  height: 85vh;
}

.main-screen a {
  text-decoration: none;
}

.main-screen a .accion-button {
  margin-top: 80px;
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #454E9C;
  font-family: 'Roboto Mono', monospace;
  background-color: #F5A167;
  padding: 0px 25px;
  border: none;
  border-radius: 30px;
  height: 41px;
  cursor: pointer;
  z-index: 15;
}

.main-screen a .accion-button:hover {
  color: #F5A167;
  background-color: #29265B;
  border: 2px solid #F5A167;
}

.main-screen h1 {
  font-family: Minimal Mono;
  max-width: 918px;
  margin: auto;
  color: #F5A167;
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 80px;
}

.main-screen p {
  font-family: Roboto Mono;
  max-width: 680px;
  margin: auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: #F5F5F5;
}

/* Background images */
.background-image1 {
  position: absolute;
  right: 0px;
  height: 100vh;
  pointer-events: none; 
  overflow: hidden;
  z-index: 10;
}

.second-screen .background-image1 {
    display: none; /* Hide the image in the second screen */
}

.background-image2 {
  position: absolute;
  left: 0px;
  height: 100vh;
  pointer-events: none; 
  overflow: hidden;
  z-index: 10;
}
.second-screen .background-image2 {
  display: none; /* Hide the image in the second screen */
}

/* Second screen */
.second-screen {
  background-color: #444D9B;
  padding: 80px 0 0 0;
  text-align: center;
}

.second-screen h2 {
  max-width: 918px;
  margin: auto;
  color: #F5A167;
  font-family: Minimal Mono;
  font-size: 32px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.4000000059604645px;
  text-align: center;
}

.second-screen p {
  font-family: Roboto Mono;
  max-width: 400px;
  padding: 30px 0 60px 0;
  margin: auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: #F5F5F5;
}

.four-blocks {
  display: flex;
  background-color:  #444D9B;
  justify-content: space-between;
  gap: 20px;
}

.four-blocks .block {
  padding: 20px;
  background-color: #444D9B;
  flex: 1;
  border-radius: 5px;
  text-align: center;
}

/* Third screen */
.third-screen {
  padding: 80px 0;
  background-color: #29265B;
  text-align: center;
}

.third-screen h2 {
  max-width: 918px;
  margin: auto;
  color: #F5A167;
  font-family: Minimal Mono;
  font-size: 32px;
  font-weight: 700;
  line-height: 52px;
    letter-spacing: -0.4000000059604645px;
    text-align: center;
  margin-bottom: 40px;
}

.third-screen .text-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.third-screen .text-blocks .column {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.third-screen .text-blocks .block {
  border: 2px solid #444D9B;
  border-radius: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.third-screen .text-blocks .block-image {
  padding: 50px 30px 0;
  height: 120px;
  width: auto;
  object-fit: contain;
  object-position: left;
}

.third-screen .text-blocks h3 {
  padding: 30px 30px 0;
  color: #F5A167;
  font-family: Minimal Mono;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.third-screen .text-blocks p {
  font-family: Roboto Mono;
  padding: 0 30px 30px;
  font-size: 18px;
  color: #F5F5F5;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
  flex-grow: 1;
}

/* Centered text screen */
.centered-text-screen {
  background-color: #444D9B;
  padding: 140px 0;
  text-align: center;
}

.centered-text-screen h2 {
  max-width: 918px;
  margin: auto;
  color: #F5A167;
  font-family: Minimal Mono;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
    letter-spacing: -0.4000000059604645px;
    text-align: center;
}

/* Form screen */
.form-screen {
  padding: 100px 0;
  background-color: #F5A167;
  text-align: center;
  position: relative;
}

.form-screen h2{
    max-width: 918px;
    margin: auto;
    color: #444D9B;;
    font-family: Minimal Mono;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.4000000059604645px;
    text-align: center;
}

.form-screen p{
    font-family: Roboto Mono;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #444D9B;
}

.form-screen form {
  display: inline-flex;
  padding: 40px;
}

.form-screen form input {
  width: 100%;
  background-color: #F5A167;
  margin-bottom: 20px;
  margin-right: 10px;
  padding: 20px 35px;
  border-radius: 30px;
  border: 2px solid #DDE4E5;
  font-family: Roboto Mono;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: #DDE4E5;
  height: 60px;
}

.form-screen form input::placeholder {
  color: #DDE4E5;
}

.form-screen form button {
  padding: 0px 60px;
  height: 60px;
  background-color: #444D9B;
  color: #DDE4E5;
  cursor: pointer;
  border-radius: 30px;
  font-family: Roboto Mono;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  border: 2px solid #444D9B;
}

.form-screen form button:hover {
  color: #444D9B;
  background-color: #F5A167;
  border: 2px solid #444D9B;
}

.form-screen .bottom-text {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    font-family: Roboto Mono;
    font-size: 12px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    color: #444D9B66;
}

/* Footer */
footer {
  background-color: #29265B;
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer .footer-container {
  display: flex;
  width: 80%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

footer .footer-links {
  display: flex;
}

footer .footer-links a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-family: Roboto Mono;
  font-size: 12px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
}

footer .footer-links a:hover {
  color:#F5A167;
}
/* Polocies screen */
.policy-screen {
  text-align: center;
  padding: 100px 0;
  background-color: #29265B;
  color: white;
}

.policy-screen h1 {
    font-family: Minimal Mono;
    max-width: 900px;
    margin: auto;
    color: #F5A167;
    font-size: 40px;
    font-weight: 700;
    line-height: 46px;
    letter-spacing: -1px;
    text-align: left;
  margin-bottom: 80px;
}

.policy-screen h2 {
  color: #F5A167;
  max-width: 900px;
  margin: auto;
  font-family: Minimal Mono;
  font-size: 28px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.4000000059604645px;
  text-align: left;
}

.policy-screen p {
    font-family: Roboto Mono;
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    color: #F5F5F5;
}

/* Media Queries for Mobile Screens */
@media only screen and (max-width: 768px) {
  .container {
    width: 90%;
  }

  .background-image2 {
    display: none;
  }

  header {
    height: 25vh;
  }

  header .container{
    flex-direction: column;
    text-align: center;
  }

  header .logo {
    padding-bottom: 30px;
  }

  header a .cta-button{
    display: none;
  }

  .main-screen {
    height: 75vh;
  }

  .four-blocks {
    flex-direction: column;
  }
  
  .third-screen .text-blocks {
    grid-template-columns: 1fr;
  }

  .four-blocks .block {
    margin-bottom: 20px;
  }

  .main-screen h1, .policy-screen h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .main-screen h1 {
    margin-bottom: 20px;
  }

  .main-screen a .accion-button {
    margin-top: 30px;
  }

  .main-screen p, .second-screen p, .third-screen p {
    font-size: 16px;
  }
  .second-screen h2, .third-screen h2, .form-screen h2, .policy-screen h2 {
    font-size: 24px;
    line-height: 31px;
   }
  
  .four-blocks .block {
    padding: 0px;
  }

  .third-screen .text-blocks h3 {
    font-size: 20px;
    line-height: 26px;
    padding: 30px 30px 0px 30px;
  }

  .third-screen .text-blocks .block-image {
    padding: 50px 30px 0px;
    height: 80px;
    object-fit: contain;
    object-position: left;
  }



  .centered-text-screen h2 {
    font-size: 20px;
    line-height: 31px;
  }

  .form-screen form {
    flex-direction: column;
    padding: 20px;
  }

  .form-screen form input {
    margin-right: 0;
  }

  .footer-container, .footer-links{
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-logo {
    padding-bottom: 20px;
  }

  .linkedin {
    padding: 15px;
  }

  .policy-screen {
    padding: 20px;
  }

}
