:root {
    --bgcolor: #242582;
    --tagtune-dark: #a71616;
}

* {
    margin: 0;
    padding: 0;
}

.page-header {
    background-color: var(--bgcolor);
    padding: 1.3rem;

    display: flex;
    justify-content: space-between;
}

.nav-bar a {
    color: white;
    padding: 1.3rem;
    cursor: pointer;
}

.nav-bar a:hover {
    background-color: #5052db;
}

.nav-bar a.active {
    background-color: #f64c72;
}

.menu-icon {
    color: white;
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 700px) {
    .nav-bar {
        display: none;
        position: absolute;
        top: 3.7rem;
        left: 0;
        width: 100%;
        background-color: var(--bgcolor);
        text-align: center;
    }

    .nav-bar.responsive {
        display: block;
    }

    .nav-bar a {
        display: block;
    }

    .menu-icon {
        display: block;
        z-index: 1;
    }
}

html, head{
    text-align: center;
    min-height: 100%;
    position: relative;
}

main {
    text-align: center;
    padding-bottom: 100px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.home {
    color: #2326db;
    font-size: 400%;
    margin-top: 350px;
    position: relative;
}

.h1 {
    color: #2326db;
    font-size: 400%;
    margin-top: 10rem;
    position: relative;
}

main h2 {
    color: #5052db;
    font-size: 200%;
    position: relative;
}

main p {
    margin-top: 150px;
    margin-bottom: 119px;
    position: relative;
}

.container{
    margin-top: 100px;
    background-color: #f4d395;
    color: white;
    
}

.find-btn1{
	display :inline-block;
}

.container button.button-demo {
    border-color: white;
    
    font-size: 30px;
    
    background-color: #f4d395;
    color: white;
    padding: 10px;
    cursor: pointer;
    
}
.container button.button-exe {
    border-color: #f4d395;
    
    font-size: 30px;
    
    background-color: white;
    color: #f4d395;
    padding: 10px;
    cursor: pointer;
    
}

main .container p {
    margin-top: 0%;
    margin-bottom: 0%;
}

footer {
    width: 100%;
    background-color: #d9d9d9;
    height: 100px; /* footer의 높이 */
    position: absolute;  
    bottom: 0;
    left: 0;
}

footer p {
    margin-top: 0%;
    margin-bottom: 0%;
}

footer p.message {
    font-weight: bold;
    font-size:0.9rem;
    color:#545e6f;
    margin-bottom:0.3rem;
    margin:0 0 0 0.6rem;
}

footer p.email {
    font-size:0.9rem;
    color:#545e6f;
    margin:0.6rem;
}

footer p.copywrite {
    font-size:0.9rem;
    color:#545e6f;
    margin:0.6rem;
}

/* =============================================
   Apps Page - Card Deck Styles
   ============================================= */

.apps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 40px;
    padding: 0 1.5rem;
}

.app-card {
    width: 500px;
    height: 350px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
    border: 3px solid var(--bgcolor);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.app-card:hover {
    /* transform: translateY(-6px); */
    /* box-shadow: 0 10px 10px rgba(246, 76, 114, 0.18); */
}

.app-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--bgcolor);
}

.app-card-body {
    padding: 1rem 1.2rem 1.3rem;
    text-align: left;
}

.app-card-body h3 {
    font-size: 1.15rem;
    color: var(--tagtune-dark);
    margin-bottom: 0.4rem;
}

.app-card-body p {
    font-size: 0.85rem;
    color: #545e6f;
    line-height: 1.4;
    margin: 0;
}

.app-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 1.2rem 1rem;
}

.app-card-tag {
    background: #eef0ff;
    color: var(--bgcolor);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
}