.container {
    position: relative;
}

.item-iamge {
    border: 1px solid #ddd;
    width: 23%;
    min-width: 280px;
}

.image-container {
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.image-container a {
    width: 100%;
    height: 100%;
}

.image-content {
    padding: 10px 20px;
    display: none;
    color: #fff;
}

.image-comment {
    padding: 10px;
}

p {
    margin: 10px 0;
}

textarea {
    width: 100%;
    padding: 10px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

h1 {
    font-family: "Parisienne", cursive;
}

.hero {
    width: 100%;
    height: 700px;
    background: url("hero-img.jpg");
    background-size: cover;
    position: relative;
    background-position: center;
}

.hero:before {
    content: "";
    background-color: #3d5963;
    opacity: .8;
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-wrapper {
    text-align: center;
    color: #fff;
    padding-top: 180px;
}

.hero-wrapper:before, .hero-wrapper:after {
    content: "";
    width: 278px;
    height: 503px;
    position: absolute;
    top: 50%;
    left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('deco.svg');
    background-size: contain;
    -khtml-opacity: 0.6;
    -moz-opacity: 0.6;
    opacity: .6;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.hero-wrapper:after {
    top: 50%;
    left: initial;
    right: 0;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
    z-index: 8;
    position: relative;
}

input[type="submit"] {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 40px;
    text-transform: uppercase;   
    margin-top: 30px;
}

input[type="file"] {
    margin-bottom: 20px;
}

label {
    margin-bottom: 20px;
    display: block !important;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.like-button {
    position: absolute;
    bottom: 0;
}

.comment-form {
    width: 100%;
    max-width: 500px;
}

.popup {
    position: fixed;
    display: none;
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.close-popup {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

button {
    border: 0;
    display: block;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #c9c9c9;
}

.comment-button {
    border-top: 1px solid #c9c9c9;
}

.comment-box {
    color: #000;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 20px;
    min-width: 320px;
    max-width: 100%;
}

.comment-box ul {
    padding: 0;
}

.comment-box h4 {
    margin-bottom: 30px;
}

.success-message {
    padding: 10px;
    text-align: center;
}

.error-message {
    padding: 10px;
    text-align: center;  
}

@media(max-width: 767px) {
    .item-iamge {
        min-width: 320px;
    }
}

@media(min-width: 1200px) {
    h1 {
        font-size: 80px !important;
    }
}