body {
    background-color: #505050;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

h1 {
    margin: 0;
    padding: 10px;
    font-size: 2.5em;
    color: #4a90e2;
}


.container {
    background-color: #aeaeae;
    display: flex;
    flex-wrap: wrap; 
    max-width: 1200px;
    width: 100%;
    gap: 20px; 
    padding: 20px;
    margin-top: 20px;
    min-height: 100vh;
    border-radius: 2%;
}

.item {
    flex: 1 1 calc(33% - 20px); 
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border: 2px solid #333; 
    border-radius: 5px; 
}

.item h2 {
    margin-bottom: 10px;
}

.item p {
    color: #666666;
    font-size: 1em;
    margin: 10px 0 0;
}

.item {
    position: relative; 
    flex: 1 1 calc(33% - 20px);
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    overflow: hidden; 
    transition: transform 0.3s ease;
}

.item:hover {
    transform: translateY(-5px); 
}

.item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #f4f4f9; 
    border-left: 30px solid transparent; 
    transition: border-color 0.3s ease;
}

.item:hover::before {
    border-top-color: #8b8989;
}

