/*todo: color to use
    #0ff
    #002944
    #cbffff
    #f2fdff
    #3362cc
  */

*,
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}

.bg-blue {
    background-color: #0ff;
}

.bg-dongker {
    background-color: #002944;
}

.bg-cyan {
    background-color: #cbffff;
}

.text-blue {
    color: #0ff;
}

.text-dongker {
    color: #002944;
}

.text-cyan {
    color: #cbffff;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 10;
    padding: 5px;
}

.logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    object-fit: contain;
    background-color: #cbffff;
    border-radius: 50%;
    padding: 5px;
}

.logo h2{
    font-weight: 700;
}

.logo h2,
.logo span {
    font-family: "Poppins";
    font-size: 1.5rem;
    color: white;
}

/* * Hero */
.hero-section {
    align-items: center;
    justify-content: center;
    background-image: url(/assets/people-meeting-community-center.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
}

.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.row h1 {
    color: #00FFFF;
    font-size: 3rem;
    font-family: "Montserrat";
    font-weight: 800;
    text-align: center;
    animation: slideInRight 2s;
}

.row .route {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: "Poppins";
    animation: slideInLeft 2s;
}

.row .route a {
    font-size: 14px;
    font-weight: 400;
    color: white;
    transition: 0.4s ease-in-out;
    border-bottom: 1px solid rgba(0, 255, 255, 0);
}

.row .route i {
    color: #00FFFF;
    font-size: 14px;
    font-weight: 400;
}

.row .route a:hover {
    border-bottom: 1px solid #00FFFF;
    color: #cbffff;
}

.row .route span {
    color: #00FFFF;
    font-size: 14px;
    font-weight: 400;
    text-shadow: 1px 1px 3px black;
}

.center {
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
}

a span {
    padding: 15px;
    transition: .5s;
    position: relative;
}

a span:nth-child(1) {
    color: #fff;
    background: #262626;
}

a span:nth-child(2) {
    color: #000000;
    background: #cbffff;
}

a span:nth-child(1):before {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    color: black;
    background: #cbffff;
    padding: 15px;
    transition: 0.5S;
    transform-origin: top;
    transform: rotateX(90deg) translateY(-50%);
}

a:hover span:nth-child(1):before {
    transform: rotateX(0deg) translateY(0%);
}

a span:nth-child(2):before {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    background: #002944;
    padding: 15px;
    transition: 0.5S;
    transform-origin: bottom;
    transform: rotateX(90deg) translateY(50%);
}

a:hover span:nth-child(2):before {
    transform: rotateX(0deg) translateY(0%);
}

a span:nth-child(1):after {
    content: attr(data-attr);
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background: #002944;
    transform-origin: bottom;
    transform: rotateX(0deg) translateY(0%);
    transition: 0.5s;
}

a:hover span:nth-child(1):after {
    transform: rotateX(90deg) translateY(50%);
}

a span:nth-child(2):after {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    color: black;
    background: #cbffff;
    padding: 15px;
    transition: 0.5S;
    transform-origin: top;
    transform: rotateX(0deg) translateY(0%);
}

a:hover span:nth-child(2):after {
    transform: rotateX(90deg) translateY(-50%);
}


.footer {
    background: linear-gradient(to bottom, #F2FDFF, #3362cc);
    padding: 5rem 5rem 2rem 5rem;
    font-family: "Poppins";
    margin-top: 7rem;
    overflow: hidden;
}

.footer-column {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    text-align: justify;
    color: #0E1836;
    justify-content: space-around;
    gap: 50px;
}

.footer-column-one {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0E1836;
}

.footer p {
    font-size: 1rem;
    font-weight: 500;
    color: #0E1836;
}

.footer-column-one p:nth-child(3) {
    font-size: 1.5rem;
}

.footer-column-kritik {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-kritik .input-kritik {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    background-color: #e4e4e4;
    border: 1px solid #0E1836;
    border-radius: 0 5px 5px 0;
}

.footer-column-kritik .input-kritik input {
    padding: 8px;
    outline: none;
    border: none;
    background-color: white;
    width: 100%;
    border-right: 1px solid #0E1836;
}

.footer-column-kritik .input-kritik input::placeholder {
    color: rgba(14, 24, 54, 0.5);
    font-family: "Montserrat";
    font-size: 1rem;
    align-items: center;
}

.footer-column-kritik .input-kritik button {
    white-space: nowrap;
    font-size: 1rem;
    font-family: "Poppins";
    font-weight: 500;
    outline: none;
    border: none;
    background-color: #e4e4e4;
    padding: 0 10px;
    cursor: pointer;
    color: #0E1836;
    transition: 0.3s;
}

.footer-column-kritik .input-kritik button:hover {
    color: #28608e;
    transition: 0.3s ease-in-out;
}

.footer-column-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-contact .kontak-link {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.footer-column-contact .kontak-link a {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #0E1836;
    gap: 5px;
    font-size: 1rem;
    font-weight: 400;
    transition: 0.3s;
}

.footer-column-contact .kontak-link a:hover {
    color: #2f5abf;
    transition: 0.3s ease-in-out;
}

.footer-column-contact .kontak-link a i {
    font-size: 1.25rem;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10rem;
    justify-content: space-between;
}

.footer-bottom .medsos-icon {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer-bottom .medsos-icon a {
    align-items: center;
    justify-content: center;
}

.footer-bottom .medsos-icon a i {
    padding: 8px;
    color: #dbdbdb;
    border: 1px solid #0E1836;
    border-radius: 50px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-bottom .medsos-icon a i:hover {
    background-color: #2e3958;
    transition: 0.3s ease-in-out;
}

.footer-bottom .footer-copyright {
    display: flex;
    flex-direction: column;
}

.footer-bottom .footer-copyright p {
    font-size: 1rem;
    font-weight: 400;
}

@media only screen and (max-width: 768px) {

    .card-img-volunter {
        display: none;
    }

    /* ! Footer */
    .footer {
        padding: 3rem 2rem 2rem 2rem;
    }

    .footer-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column-one,
    .footer-column-kritik,
    .footer-column-contact {
        align-items: center;
    }

    .footer-column-kritik .input-kritik {
        flex-direction: column;
        align-items: stretch;
        border-radius: 5px;
    }

    .footer-column-kritik .input-kritik input {
        border-right: none;
        border-bottom: 1px solid #0E1836;
        width: 100%;
    }

    .footer-column-kritik .input-kritik button {
        width: 100%;
        padding: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        margin-top: 5rem;
        text-align: center;
    }

    .footer-bottom .medsos-icon {
        justify-content: center;
    }
}