@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Great Vibes', cursive;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* background-color: #FFF1F4; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container {
    display: flex;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.image-section {
    padding: 30px;
    text-align: center;
    background-image: linear-gradient(rgb(255, 255, 255),rgba(255, 255, 255, 255)) , url(Fondo.png);
    animation: slideIn 1.5s ease-in-out;
}

.image-section img {
    width: 200px;
    height: auto;
}

.image-section p {
    margin-top: 20px;
    font-size: 1.1em;
}

.form-section {
    background-color: #000000;
    padding: 30px;
    border-radius: 0 20px 20px 0;
    animation: slideIn 2s ease-in-out;
}

.invalid-feedback {
    position: absolute;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: none;
    font-family: 'Roboto', sans-serif; 
}

.input-group {
    position: relative;
    margin-bottom: 30px;
    /* Increased to allow space for error messages */
}

.input-group input.is-invalid+.invalid-feedback {
    display: block;
}


.toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.toggle-buttons button {
    background: none;
    border: none;
    color: #000000;
    font-size: 1em;
    cursor: pointer;
    padding: 10px 20px;
    animation: fadeIn 1.5s ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.toggle-buttons .active {
    background: #000;
    border-radius: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

form h1 {
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    outline: none;
    background-color: rgba(78, 78, 78, 0.2);
    color: #fff;
    font-size: 1em;
    transition: background 0.3s ease-in-out;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.3);
}

.forgot-password {
    text-align: right;
}

.forgot-password a {
    color: #000000;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.sign-in-button {
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-size: 1em;
    z-index: 1000;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.sign-in-button:hover {
    background: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.3em;
    transition: background 0.3s ease-in-out;
}

.social-icons a img {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.sign-in-button{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #000;
    color: #ffeff6;
}

.context {
    width: 100%;
    position: absolute;
    top:50vh;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 50px;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }