@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --login-bg:#cfe8d9;
    --title-bg: #729472;
    --button-bg: #729472;
    --light-pink: #D8A561;
    --image-bg:  #8543e2 ;
}


* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Serif Text", serif;
  perspective: 1500px;
  height: auto;
  animation: fadein 2s;
}

@keyframes fadein {

  from {
    opacity: 0;
    transition: 0.5s;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
  
}


html ::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Bonello";
  src: url("../fonts/Bonello-Regular.otf");
}

@font-face {
  font-family: "Rosehot";
  src: url('../fonts/Rosehot.ttf');
}

.row{
  margin-bottom: 2%;
}

.container-fluid{
    background-image: url("../img/bgLanding.png");
    background-size: cover;
    background-attachment: fixed;
    backdrop-filter: contrast(433%) saturate(172%) brightness(108%);

    margin: 0 !important;
    padding: 0 !important;

} 

nav {
  margin-left: 30px;
  margin-right: 30px;
  padding: 20px !important;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(3px);
  border: 0px solid rgba(255, 255, 255, 0.3);
}

nav ul li a {
  font: 15pt Tahoma;
  color: rgb(245, 201, 90);
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: rgb(255, 195, 45);
}

.nav-item{
  transition: 0.4s;
}

.nav-item:hover{
  background-color: rgb(31, 44, 34);
  border-radius: 15px;
}

.slides {
  display: flex;
  flex-direction: column;
  margin-top: 4%;
  margin-left: 6%;
  margin-right: 6%;
  overflow: hidden;
}

.login-container {
    height: 43.75em;
    width: 60em;
    margin: 6em auto;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    background-color: var(--login-bg);
}

.login-info-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.5rem;
    background-color: var(--login-bg);
}

.image-container {
    background-image: url('../img/formulario.png');
    background-size: 110% 140vh;
    margin-top: -130px !important;
    padding: 0 !important;
    background-size: cover;
    height: 140%;
    width: 50%;
    box-sizing: border-box;
    
}

.title {
    text-transform: capitalize;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--title-bg);
    margin: 40px;
}

.social-login {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    cursor: pointer;
}

.social-login-element {
    width: 12.5rem;
    height: 3.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 5px;
    border: 1px solid var(--button-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-login-element img {
    width: 1.875rem;
    height: 1.875rem;
    position: relative;
    top: 0;
    left: -0.625rem;
}

.social-login-element:hover {
    background-color: #fff;
}

.login-info-container > p {
    font-size: 1.25em;
    margin-top: 1.5em;
}

.inputs-container {
    height: 55%;
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.input, .btn {
    width: 90%;
    height: 3.125rem;
    font-size: 1em;
}

.input {
    padding-left: 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    box-sizing: border-box;
}

.input:hover {
    border: 2px solid var(--button-bg);
}

.btn {
    width: 80%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    background-color: #65a17d !important;
    cursor: pointer;
}

.inputs-container p {
    margin: 0;
}

.span {
    color: var(--light-pink);
    font-weight: 600;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    .login-container {
        width: 70%;
        margin-top: 3rem;
    }
    .login-info-container {
        width: 100%;
        border-radius: 5px;
    }
    
    .image-container {
        display: none;
    }  
}

@media screen and (max-width: 650px) {
    .login-container {
        width: 90%;
    }
}

@media screen and (max-width: 500px) {
    .login-container {
        height: 90%;
    }

    .social-login {
        flex-direction: column;
        align-items: center;
        height: 30%;

    }

    .social-login-element{
      margin: 3%;
    }

    .login-info-container > p {
        margin: 0;
    }

    .inputs-container input{
      margin: 3%;
    }

        .inputs-container p{
      margin: 3%;
    }
}

main {
    height: 80vh;
}

footer {
    width: 100%;
    color: white;
}

.footer-link {
    text-decoration: none;
}

.footer-link:hover{
  color: #cf9a3f !important;
}

#footer_content {
    background-color: #191919;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
}

#footer_contacts h1 {
    margin-bottom: 0.75rem;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
} 

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;    
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#facebook {
    background-color: #4267b3;
}

#whatsapp {
    background-color: #25d366;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: var(--color-neutral-30);
    transition: all 0.4s;
}

.footer-list .footer-link:hover {
    color: #7f37c9;
}

#footer input[type="email"]{
  background-color: white;
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_subscribe p {
    color: var(--color-neutral-30);
}

#input_group {
    display: flex;
    align-items: center;
    background-color: var(--color-neutral-0);
    border-radius: 4px;
}

#input_group input {
    all: unset;
    padding: 0.75rem;
    width: 100%;
}

#input_group button {
    background-color: #7f37c9;
    border: none;
    color: var(--color-neutral-40);
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright {
    display: flex;
    justify-content: center;
    background-color: #191919;
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
    color: white;
}

@media screen and (max-width: 768px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 426px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}

