@font-face {
    font-family: 'Quicksand';
    src: url('../../../fonts/Quicksand-VariableFont_wght.ttf') format('woff2'),
        url('../../../fonts/Quicksand-VariableFont_wght.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'WorkSans';
    src: url('../../../fonts/WorkSans-Italic-VariableFont_wght.ttf') format('woff2'),
        url('../../../fonts/WorkSans-Italic-VariableFont_wght.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*container */

.container {

    margin: 50px;
    margin-left: 4%;
    margin-right: 3%;

    display: flex;

    font-family: 'WorkSans';

    font-weight: 400;

    flex-wrap: nowrap;
    justify-content: center;



    padding: 20px;
    transform: translateY(80px);
    background-color: rgba(59, 66, 38, 0.788);

    border-radius: 20px;
    text-align: center;


    margin-bottom: 150px;
    overflow: auto;

}





.pic {
    height: 200px;
    border-radius: 10px;
}


.cim {

    text-align: center;
    font-size: 25px;
    font-family: 'Quicksand';
    position: relative;
    top: 40px;

}

.cim1 {
    color: rgb(218, 218, 218);
    background-color: rgb(112, 112, 112);
    border-radius: 5px;
}

/* színek*/

.tudnivalok {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    background-color: rgba(59, 66, 38, 0.788);
    margin: 50px;
    margin-left: 4%;
    margin-right: 3%;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    padding: 28px;
}


.colors-box,
.meretek-box {
    text-align: left;
    box-sizing: border-box;
    flex: 1 1 200px;
    margin: 20px;
    border-radius: 4px;
    background-color: rgb(190, 201, 129);
    margin-top: 60px;
    padding-left: 20px;
    padding-top: 5px;
    flex-direction: column;
    display: flex;
    align-items: flex-start;
    transition: background-color 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 100%;


}

.colors-box {
    background-image: url(../../../fooldal/photos/kezeletlen_fenyojpg.jpg);
}

#tudnivalok-cim {
    position: relative;
    top: -10px;
    background-position-y: center;
}


.tudnivalok_cim {
    text-align: center;
    font-size: 20px;
    color: rgb(33, 56, 34);
    background-color: rgb(157, 199, 144);
    border-radius: 5px;
    box-sizing: border-box;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    width: 100%;
    height: 70px;
}

.meretek-cim,
.colors-cim {
    text-align: left;
    color: rgb(48, 61, 48);
    background-color: rgb(121, 153, 112);
    width: 99.5%;
    height: 55px;
    padding-left: 0.5%;
    font-size: 25px;
}

#meretek-cim,
#colors-cim {
    position: relative;
    top: -19px;
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;


}

.color_pic {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex-grow: 1;
    border-radius: 20px;
}

.box_color {
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(48, 105, 51, 0.747);
    padding: 10px;
    margin: 10px;
    margin-bottom: 20px;
    width: 24.5%;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}

.color-name {
    font-family: 'WorkSans';
    font-size: 15px;
    text-align: center;
    width: 100%;
    color: rgb(0, 26, 0);
    font-weight: 800;
}





.dog_house_photo {
    height: 150px;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
    margin: 10px;
}

.dog_house_photo:hover {
    transform: scale(1.1);
}



body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.carousel {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
}



.carousel-container img {

    height: 200px;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.meretek_szoveg {
    font-size: 23px;
    font-family: 'WorkSans';
    margin-left: 20px;
    margin-right: 35px;
    font-weight: 500;
    color: rgb(44, 59, 44);

}

table {
    flex: 1, 1;
    width: 98.3%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'WorkSans';
    font-size: 18px;
    text-align: left;
    background-color: #92c585;
}


th {
    font-family: 'Quicksand';
    background-color: #243328;
    color: #b4d6ab;
    padding: 10px;
}


td {
    padding: 10px;
    border-bottom: 1px solid #699b6b;
}


tr:nth-child(even) {
    background-color: #78a16d;
}

table {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.meretek_box {
    padding-right: 20px;
}

.meretek_pic {
    position: relative;
    border-radius: 5px;
    margin: 20px;
    box-sizing: border-box;
    margin: bottom;
    width: 100%;
}

#meretek_pic {
    padding-right: 60px;
    border-radius: 5px;
    box-sizing: border-box;
    height: 53%;
    z-index: 3;



    flex: 1, 1, 100px;
    height: 100%;
    width: 100%;
}

.meretek_table {
    width: 100%;
    overflow: auto;
}



@media (max-width:1000px) {
    .container {
        margin-left: 8%;
    }

    .tudnivalok {
        margin-left: 8%;
    }

    body {
        padding-left: 0px;
    }

    table {
        font-size: 9px;
    }

    .meretek_szoveg {
        font-size: 15px;
    }

}

@media (max-width:800px) {
    .container {
        margin-left: 3%;
    }

    .tudnivalok {
        margin-left: 3%;
    }

    .tudnivalok_cim {
        height: 50px;
    }

    .meretek-cim {
        font-size: 20px;
    }

    .meretek-box,
    .colors-box {
        padding: 3px;
    }

    #container-cim,
    #tudnivalok-cim {
        top: -6px;
        font-size: 20px;
    }

    .container_cim,
    .tudnivalok_cim {
        height: 40px;
    }

    .meretek-cim,
    .colors-cim {
        font-size: 20px;
        height: 40px;
    }

    .color-name {
        font-size: 9px;
    }

    #meretek-cim {
        font: size 16px;
    }

    .meretek-cim {
        height: 68px;
    }
}

@media (max-width:400px) {
    table {
        font-size: 7px;
    }
}