img{
    width:150px;
}

}
.mees{
    color:rgb(176, 176, 28);
}
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    transition: width 0.5s ease; 
    width: 80%; 
}

footer:hover {
    width: 100%;
}
header {
    font-family: 'Dancing Script', cursive;
    border: solid 2pt #2e888888;
    border-radius: 30pt;
    background-image:
            linear-gradient(to bottom, rgba(245, 246, 252, 0.12), rgba(70, 149, 151, 0.73)),
            url('pildid/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 2%;
    width: 50%;
    border-top-color: #2f6688dd;
    margin: 1% auto;
}



header h1 {
    letter-spacing: 10px;
    font-variant-caps: all-small-caps;
    font-size: 42px;
    text-align: center;
    color: rgb(227, 146, 24);
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

header h2 {
    text-align: center;
    text-decoration-color: #ba7816;
    color: rgb(196, 133, 37);
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

body {
    background-image: url('pildid/trick.jpg');
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center; 
    background-color: rgba(255, 0, 0, 0.5);
}
.opilased > .opilased-image {
    position: relative; 
    width: 250px; 
    height: 250px; 
    overflow: hidden; 
    margin: 10px; 
    border: 1px solid white; 
    transition: transform 0.3s ease;
}

.opilased > .opilased-image:hover {
    transform: scale(1.5) translate(-25%, -25%); /* Увеличиваем изображение и перемещаем его в центр при наведении */
    z-index: 1; /* Поднимаем изображение над остальными */
    box-shadow: 0 0 30px 10px rgba(33, 42, 4, 0.5); /* Добавляем тень */
}

.opilased > .opilased-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.opilased > .opilased-image span {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 10px; 
    background-color: rgba(0, 0, 0, 0.5); 
    color: rgb(195, 126, 43); 
    text-align: center; 
    font-style: italic; 
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.opilased > .opilased-image span a {
    color: inherit; 
    text-decoration: none; 
}

.opilased > .opilased-image span a:hover {
    text-decoration: underline; 
}

.opilased {
    padding: 20px 0; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
}
