body {
    margin: 0;
    padding: 0;
    background-color:#cbe7ff;
}

main {
    display: grid;
    width: 95%;
    margin: 2rem auto;
    gap: 5px;

}

header {
    background-color: #0D47A1; 
    color: white; 
    padding-top: 1.8rem;
    height: auto;
}

input{
    margin-bottom: 2px;
}

nav {
    display: flex;
    justify-content: flex-end;
    height: 2rem;
    padding-right: 2.5%;
}

nav a{
    width: 10%;
    max-width: 100px;
    min-width: 60px;
}


h1, h2, h3, h4 {
    margin: 0;
}
a{
    text-decoration: none;
}



h1,h2, h3, h4, #page a{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

input, textarea, p, select, ::file-selector-button, button, a, table, label, li {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}


/* destop */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem; 
    }

    h3 {
        font-size: 1.5rem; 
    }

    input, textarea, p, a, label, select, button, td, th {
        font-size: 1.125rem;
        margin: 0;
    }

}
    

/* hp */
@media (max-width: 768px) {
    h1 {
    font-size: 1.75rem; 
    }

    h2 {
    font-size: 1.5rem; 
    }

    h3 {
    font-size: 1.25rem; 
    }

    input, textarea, p, a, label, select, button, td, th {
    font-size: 1rem; 
    margin: 0;
    }
}



.content {
    display: grid;
    width: 100%;
    margin: auto;
    gap: 10px;
}

.center-text {
    display: grid;
    justify-items: center;
}

.pagination{
    display: flex;
    justify-content: end;
    margin-right: 1rem;
}
.pagination p{
    margin-left: 0.5rem;
}

.search {
    justify-content: end;
    display: flex;    
    height: 4rem;
}

.form-card{
    background-color: #f4f4f4;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
}

.detail-info {
    background-color: white;
    border: black solid 1px;
    border-radius: 10px;
    padding: 40px;
}

.input-container{
    display: grid;
    gap: 10px;
}

.input-element{
    display: grid;
    
}

.input-file{
    width: 500px;
}

.flex{
    display: flex;
    gap: 5px;
}


#nav-box-gal, #nav-box-lit, #nav-box-about, #nav-box-user{
    text-align: center;
    color: #cbe7ff;
    border-radius: 5px 5px 0 0;
    height: 100%;
    padding-top: 7%;
}

#profile {
    background-color: aqua;
}

#top {
    padding: 0 2.5%;
    display: flex;
    justify-content: space-between;
}

