/*about us page*/

/*sekcja top*/
.about-top{
    margin-bottom: 94px;
}
.about-top .inner{
    display: flex;
    gap: 48px;
    align-items: center;
}
.about-top h1{
    margin-bottom: 13px;
}
.about-top p{
    line-height: 33px;
}

/*sekcja wzorce*/
.about-model{
    margin-bottom: 130px;
}
.about-model .inner{
    display: flex;
    gap: 40px;
}
.about-model .inner div{
    flex: 1;
}
.about-model .first{
    display: flex;
    gap: 20px;
}
.about-model em{
    font-size: 176px;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
    color: var(--blue-third);
}
.about-model h3{
    margin-top: 12px;
}
.about-model .second p{
    margin-top: 10px;
}
.about-model p{
    font-size: 16px;
    line-height: 28px;
}
.about-model strong {
	font-size: 17px;
	font-weight: 500;
    line-height: 31px;
    margin-bottom: 7px;
    display: block;
    max-width: 420px;
}
.about-model .outer {
	display: flex;
}
.about-model a.more{
	border: 0;
	padding: 0 60px 0 0;
	margin-top: 10px;
	margin-left: auto;
    font-size: 17px;
    color: var(--blue);
}
.about-model a.more:hover{
    color: var(--orange);
    background: none;
}
.about-model a.more:hover:after{
    color: var(--orange);
}

/*sekcja animals*/
.about-animals{
    margin-bottom: 84px;
}

.about-animals .inner{
    display: flex;
    gap: 40px;
}
.about-animals .inner div{
    flex: 1;
}

.about-animals h3{
    font-size: 34px;
    margin-bottom: 17px;
}
.about-animals .first p{
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 28px;
}

.about-animals .second {
    display: flex;
}

.about-animals .second div {
    flex: 1;
}
.about-animals .second div img{
    top: 0;
}

/* Initially hide all images */
.about-animals .second div:last-child img {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
}

/* Show only the first image by default */
.about-animals .second div:last-child img:first-child {
    opacity: 1;
    position: static;
}

/* Container for images to maintain layout */
.about-animals .second div:last-child {
    position: relative;
}

.wzorzec-item {
    cursor: pointer;
    padding: 9px 0 9px 16px;
    transition: color 0.3s ease;
    font-size: 20px;
    color: var(--blue);
    font-family: 'ninankiregular';
    text-transform: uppercase;
}
.wzorzec-item:hover {
    color: var(--brown);
}
.wzorzec-item.active{
    color: var(--brown);
    background: url('../img/dot-brown.webp') no-repeat left top 17px;
}


/*sekcja geneza*/
.about-geneza{
    margin-bottom: 74px;
}
.about-geneza h3{
    font-size: 34px;
    margin-bottom: 17px;
}
.about-geneza strong{
    font-size: 20px;
    display: block;
    margin-bottom: 28px;
    font-weight: 500;
}
.about-geneza p{
    font-size: 16px;
    line-height: 28px;
}

/*sekcja ninanki*/
.about-ninanki{
    margin-bottom: 60px;
}
.about-ninanki .inner{
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-ninanki p{
    font-family: 'ninankiregular';
    font-size: 44px;
    color: var(--blue-third);
    line-height: 50px;
}
.about-ninanki p em{
    font-style: normal;
    color: var(--blue);
}
.about-ninanki .first{
    min-width: 282px;
    margin-left: 70px;
}

/*sekcja dolna*/
.about-bottom{
    margin-bottom: 103px;
}
.about-bottom h3{
    font-size: 34px;
    margin-bottom: 17px;
}
.about-bottom strong{
    font-size: 20px;
    display: block;
    margin-bottom: 28px;
    font-weight: 500;
}
.about-bottom p{
    font-size: 16px;
    line-height: 28px;
}

@media (max-width:576px){

}
@media (min-width: 577px) {

}
@media (min-width: 577px) and (max-width:768px){

}
@media (max-width: 768px){
    .about-top .inner {
        display: block;
        text-align: center;
    }
    .about-top h1 {
        margin-bottom: 13px;
        margin-top: 30px;
    }
    .about-model {
        margin-bottom: 60px;
    }
    .about-model .inner {
        display: block;
    }
    .about-model .outer {
        margin-top: 20px;
    }
    .about-animals {
        margin-bottom: 60px;
    }
    .about-animals .inner {
        display: block;
    }
    .about-ninanki .inner {
        display: block;
        text-align: center;
    }
    .about-ninanki .first {
        margin-left: 0;
        margin-bottom: 30px;
    }
    .about-ninanki p {
        font-size: 40px;
    }
    .about-ninanki p em {
        letter-spacing: -6px;
    }
    }
@media (min-width: 769px){

}
@media (min-width: 769px) and (max-width:991px){

    .about-top .inner {
        align-items: flex-start;
    }
    .about-animals .inner {
        display: block;
    }
    .about-ninanki .inner {
        display: block;
        text-align: center;
    }
    .about-ninanki .first {
        margin-left: 0;
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) and (max-width:1200px){

}
@media (min-width: 1201px) and (max-width:1440px){

}
@media (min-width: 1441px){

}