

.back-home {
    display: inline-block;
    margin: 15px 20px;
    padding: 10px 15px;
    background-color: #34495e;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.back-home:hover {
    background-color: #2c3e50;
    transform: translateX(-3px);
}


* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.page-title {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.content {
    max-width: 900px; 
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-top: 30px;
}


.grid-cards {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px; 
    margin-top: 20px;
}

.grid-cards .card {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 30px 10px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.page-layout {
    
    display: grid;
    gap: 10px; 
    margin-top: 20px;
    
    
    height: 350px; 

    
    grid-template-columns: 200px 1fr;
    
    
    grid-template-rows: auto 1fr auto;
    
    
    grid-template-areas: 
        "header  header"
        "sidebar main"
        "footer  footer";
}


.page-layout > * {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 3px;
    border: 1px solid #ddd;
    
    
    display: flex;
    justify-content: center;
    align-items: center;
}


.header {
    grid-area: header;
    background-color: #e67e22; 
    color: white;
}


.sidebar {
    grid-area: sidebar;
    background-color: #bdc3c7; 
    color: #333;
}


.main {
    grid-area: main;
    background-color: #ecf0f1; 
    border: 2px dashed #95a5a6; 
    color: #333;
}


.footer {
    grid-area: footer;
    background-color: #2c3e50; 
    color: white;
}


.back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    z-index: 1000;
}
.back-btn:hover {
    transform: scale(1.1);
    background-color: #f4f4f4;
}
