body {
    margin: 0;
    background-color: #f3eee5;
    color: #302c27;
    font-family: Arial, sans-serif;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}

h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

p {
    color: #756f67;
}

a:visited {
    color: #4a453e;
}

a:link {
    color: #413b34;
}

#pages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.card {
    display: block;
    padding: 25px;
    background-color: #fffaf2;
    border: 1px solid #e3dbce;
    border-radius: 16px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-14px);
}

.card h2 {
    margin: 0;
    font-size: 20px;
}

.card p {
    margin-bottom: 0;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.first-plan {
    position: fixed;
    z-index: 999;
}

.button{
    display: block;
    background-color: #fffaf2;
    border: 1px solid #e3dbce;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition-duration: 0s;
    width: 1.8%;
    aspect-ratio: 1/1;
    min-width: 30px;
}

.button:hover{
    rotate: 3600deg;
    transition-duration: 0.4s;
}

#home {
    position: fixed;
    top: 2%;
    left: 2%;

}

.sidebar {
    position: fixed;
    top: 1%;
    right: -30%;
    width: 30%;
    height: 98%;
    background: #222;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    transition: right 0.3s;
    display: block;
    border-radius: 16px;
    z-index: 9;
}

.sidebar.open {
    right: 1%;
}

#sidebartoggle {
    position: fixed;
    top: 2%;
    right: 2%;
    z-index: 10;
}

.sidebar p{
    color: #979086;
}

.sidebar a:visited{
    color: #9c9b98;
}

.sidebar a:link{
    color: #8b8a88;
}

.footer{
    position: fixed;
    display: box;
    background-color: inherit;
    border: 1px solid #c5c2b0;
    bottom: -1px;
    height: 4%;
    width: 104%;
    left: -2%;
    line-height: 50%;
}

.footer p{
    text-align: center;
}

.footer{
    font-size: 14px;
}

.footer a:link{
    color: rgb(189, 174, 117);
}

.footer a:visited{
    color: rgb(160, 151, 110);
}