@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    /* background: #2A7B9B; */
    overflow-x: hidden;
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;

    /* margin-top: 70px; */
    /* overflow: hidden; */
    text-align: center;
    position: relative;
    /* background: red; */
}

.wrapper .info {
    width: 550px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;

}

.wrapper .info h3 {
    color: yellow;
    font-size: 50px;
    text-shadow: 2px 2px 4px #000000;
    font-family: "Satisfy", sans-serif;
    transition: ease-out 0.5s;
}

.wrapper .info h1 {
    margin: -20px 0;
    color: white;
    font-size: 100px;
    text-shadow: 2px 2px 4px #000000;
    font-family: "Satisfy", sans-serif;
    transition: ease-out 0.5s;
}

.wrapper .info p {
    color: white;
    font-size: 13px;
    transition: ease-out 0.5s;
}

.wrapper .login-container {
    width: 400px;
    min-height: 250px;
    background: white;
    opacity: .8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* margin: 0 40px; */
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
}

.wrapper .login-logo {
    width: 70%;
    margin: 10px;
    padding: 10px;
}

.wrapper .login-input {
    margin-bottom: 10px;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background: whitesmoke;
    border: grey 1px solid;
    padding: 10px;
}

.wrapper .login-container .login-button {
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background: #2A7B9B;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-out 0.5s;
    margin-bottom: 10px;
}

.wrapper .login-container .login-register-button,
.wrapper .login-container .forget-password-button {
    color: black;
}

.wrapper .login-container .login-button:hover {
    background: none;
    border: 2px solid #2A7B9B;
    color: #2A7B9B;
}

.wrapper .register-container {
    width: 80vw;
    height: 80%;
    background: white;
    border-radius: 20px;
    padding: 15px;
    margin: 10px;
    background: white;
    opacity: 0.8;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}

.wrapper .register-container .register-container-box {
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.wrapper .register-container .register-container-box .content-3 .checkbox-3 {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.wrapper .register-container .register-container-box .content-3 p {
    font-size: 15px;
    display: flex;
    text-align: left;
}

.wrapper .register-container .log-masuk-button {
    color: black;
}

.wrapper .register-container .register-container-box .register-container-title {
    background: black;
    color: white;
    opacity: 0.6;
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 10px;
}

.wrapper .register-container .register-container-box .register-container-title h1 {
    font-size: 25px;
}

.wrapper .register-container-button {
    grid-column: span 3;
}

.wrapper .register-container-logo {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .register-logo {
    width: 20%;
    margin: 0 20px;
}

.wrapper .register-input {
    margin-bottom: 10px;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background: whitesmoke;
    border: grey 1px solid;
    padding: 10px;
}

.wrapper .invalid {
    border: 3px solid red;
}

.wrapper .valid {
    border: 3px solid green;
}

.wrapper .register-container .register-button {
    height: 50px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background: #2A7B9B;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-out 0.5s;
}

.wrapper .register-container .register-button:hover {
    background: white;
    border: 3px solid #2A7B9B;
    color: #2A7B9B;
}

.image-sedekah img {
    position: absolute;
    top: 0;
    right: -0%;
    z-index: -999;
    width: 40vw;
    min-height: 100vh;
    object-fit: fill;
}

.footer {
    height: 50px;
    background: linear-gradient(90deg, rgba(237, 221, 83, 0.5) 0%, rgba(87, 199, 133, 1) 10%, rgba(42, 123, 155, 0.6) 100%);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer .footer-logo {
    height: 30px;
    width: 40vw;
    display: flex;

    /* background: yellow; */
}

.footer .footer-logo .logo-1 {
    width: 30px;
    height: 30px;
    background: yellow;
    border-radius: 50%;
    margin-right: 10px;
}

.footer .footer-logo .logo-2 {
    width: 30px;
    height: 30px;
    background: yellow;
    border-radius: 50%;
    margin-right: 10px;
}

.footer .footer-logo .logo-3 {
    width: 30px;
    height: 30px;
    background: yellow;
    border-radius: 50%;
    margin-right: 10px;
}

.footer .footer-info {
    color: white;
}

.anim {
    opacity: 0;
    transform: translateY(30px);
    animation: moveup 0.5s linear forwards;
}

@keyframes moveup {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Monitors and Desktops */
@media only screen and (max-width: 1200px) {

    .wrapper .info h3 {
        font-size: 35px;
    }

    .wrapper .info h1 {
        font-size: 72px;
    }

    .wrapper .info p {
        font-size: 11px;
    }

    .wrapper .register-container {
        margin-top: 100px;
    }

    /* .image-sedekah img {
        visibility: visible;
    } */
}

/* Laptops and Desktops */
@media only screen and (max-width: 992px) {
    .wrapper .register-container {
        margin-top: 215px;
    }
}

/* Tablets */
@media only screen and (max-width: 768px) {

    .wrapper .register-logo {
        width: 45%;
        margin: 0 20px;
    }

    .wrapper .register-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-gap: 10px;
    }

    .wrapper .register-container-button {
        grid-column: span 1;
    }

    .wrapper .register-container-logo {
        grid-column: span 1;
    }

    .wrapper .info {
        display: none;
    }

    /* .image-sedekah img {
        visibility: visible;
    } */

    .wrapper .register-container {
        margin-top: 700px;
    }

}

/* Tablets and Large Phones */
@media only screen and (min-width: 600px) {
    /* .image-sedekah img {
        visibility: hidden;
    } */
}

/* Phones */
@media only screen and (max-width: 600px) {
    .image-sedekah img {
        visibility: hidden;
    }
    .wrapper .login-container {
        width: 90%;
    }

    .wrapper .register-container {
        margin-top: 702px;
    }

    /* .wrapper .register-container {
        margin-top: 140px;
    } */
    
}

/* Smaller devices */
@media only screen and (max-width: 420px) {
    .image-sedekah img {
        visibility: hidden;
    }

    .wrapper .login-container {
        width: 90%;
    }
}