@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: "Open Sans", sans-serif;
}

#content {
    padding-top: 20px;
    background-image: url(../img/bg.jpg);
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;

}

#content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa56;
    z-index: -1;  
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

header .tagline {
    font-size: 2rem;
    border-radius: 50px;
    background-color: transparent;
    padding: 10px 50px;
    overflow: hidden;
    font-weight: 500;
    border: 3px solid #d92e27;
}

.container {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.container h1 {
    margin-top: 30px;
    font-size: 2.5rem;
    color: #ff0000;
}

.container h1 span{
    font-weight: 400;
}

.container button {
    background-color: transparent;
    padding: 10px;
    border: none;
    border-radius: 30px;
    font-size: 1.5rem;
    width: 70%;
    cursor: pointer;
    border: 1px solid rgb(0, 0, 0);
    margin: 30px 0;
}

.container button:hover {
    background-color: #940019;
    border: none;
    color: #fff;
}

.footer{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    font-size: 10px;
}

.halaman-surat {
    margin: 20px 30px;
    padding: 20px 40px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    background-color: #ffffff95;
    border-radius: 30px;
    line-height: 1.6;
    border: 2px solid #000000;
    box-shadow: 0 0 8prgb(255, 0, 0)ba(0, 0, 0, 0.1);
}

.halaman-surat p {
    margin-bottom: 10px;
}

.halaman-surat ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.card-pilihan {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

@media (max-width: 800px){
    header {
        gap: 20px;
    }

    header .logo {
        width: 80px;
    }

    header .logo1 {
        width: 100px;
    }

    header .tagline {
        font-size: 20px;
        border-radius: 20px;
    }

    .container img {
        margin-top: 20px;
        width: 30%;
    }

    .container h1 {
        font-size: 1.7rem;
    }


    .container button {
        font-size: 1rem;
    }

    .footer{
        color: #ffff;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 20px;
    }

    .footer h1{
        font-size: 15px;
    }
}

@media (max-width: 500px){
    header {
        gap: 0px;
    }

    header .logo {
        width: 50px;
    }

    header .logo1 {
        width: 65px;
    }

    header .tagline {
        font-size: 12px;
    }

    .container img {
        width: 50%;
    }

    .container h1 {
        font-size: 1.2em;
    }


    .container button {
        width: 50%;
        font-size: 1rem;
    }

    .footer{
        color: #ffff;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 20px;
    }

    .footer h1{
        font-size: 15px;
    }
}

@media (max-width: 380px){
    header {
        gap: 10px;
    }

    header .logo {
        width: 40px;
    }

    header .logo1 {
        width: 50px;
    }

    header .tagline {
        font-size: 10px;
        padding: 10px 30px;
    }
    
    .container img {
        margin-top: 50px;
        width: 50%;
    }

    .container h1 {
        margin-top: 30px;
        font-size: 1.2rem;
        color: #ff0000;
    }

    .container button {
        font-size: 1rem;
        width: 50%;
    }

    .container button:hover {
        background-color: #940019;
        border: none;
        color: #fff;
    }

    .footer{
        color: #ffff;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 20px;
        font-size: 10px;
    }
}