*{
    margin: 0;
    padding: 0;
}

.conteiner{
    display: flex;
    flex-direction: row;
    width: 97vw;
    height: 93vh;
    gap: 10px;
    padding: 20px;
    background-color: rgb(154, 64, 180);
    
}
    
.menu{
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
     font-size: 14px;
    font-weight: 400;
    min-height: 400px;
    min-width: 600px;
    display: flex;
    border-radius: 10px;
    padding: 20px;
    font-family: "Source Code Pro", monospace;
}
.topic{
    display: flex;
    justify-content: flex-start;
    color: white;
}
.comments{
    display: flex;
    justify-content: flex-end;
    color: white;
}
.topic1{
    color: white;
    
}
.head{
    display: flex;
    color: white;
    position: absolute;
    bottom: 80px;
}
h2{
    padding-top: 200px;
    color: white;
}
.comment1{
    padding-left: 400px;
    color: white;
}
.comments{
  position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;

    
}

.photo1, .photo2{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.card1, .card2, .card3, .card4 {
    position: relative;
    width: 400px;
    min-height: 333px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}
.menu2{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    min-height: 200px;
    font-family: "Raleway", sans-serif;
}



/* Tablet version */
@media (max-width: 1024px) {
    .conteiner {
        flex-direction: column;
        padding: 10px;
        background-color: rgb(71, 71, 168);
    }

    .menu {
        min-height: 250px;
        background-size: cover;
        background-position: center;

    }

    .photo1, .photo2 {
        flex-direction: row;
        
    }

    .card1, .card2, .card3, .card4 {
         background-size: cover;
        background-position: center;
        width: 100%;
        min-height: 150px;
    }

    .comment1 {
        /* padding-left: 0;
        position: absolute; */
        bottom: 10px;
        right: 20px;
    }

    .head {
        font-size: 22px;
        bottom: 50px;
    }
}

/* Mobile version */
@media (max-width: 600px) {
    .conteiner {
        flex-direction: column;
        padding: 10px;
        background-color: red;
    }

    .menu {
        min-height: 200px;
        font-size: 12px;
        flex-direction: column;
        background-size: cover;
        background-position: center;
    }

    .photo1, .photo2 {
        flex-direction: row;
        gap: 10px;
    }

    .card1, .card2, .card3, .card4 {
        background-position: center;
        background-size: cover;
        width: 400px;
        min-height: 90px;
    }

    .head {
        font-size: 28px;
        bottom: 40px;
    }

    .comment1 {
        /* padding-left: 0; */
        /* position: absolute; */
        bottom: 10px;
        right: 10px;
        font-size: 14px;
    }
}
