@import url('reset.css');
@import url('fonts.css');

html, body, * {
    cursor: url("../assets/kursor.png"), auto !important;
}

body {
    margin: 0;
    font-family: "Inter";
    font-weight: 700;
    background-color: #FEF4EB;
}

.first {
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}

.first__title {
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

.first__title h1 {
    margin: 0;
    font-family: "Inter";
    font-weight: 900;
    font-size: 60px;
    line-height: 0.9;
    color: #836F59;
}

.first img{
    position:absolute;
}

.dom1 img{
    width:16%;
    left:0%;
    bottom:-1px;
}

.dom2 img{
    width:15%;
    left:10%;
    bottom:-5px;
}

.dom3 img{
    width:14%;
    left:22%;
    bottom:-15px;
}

.dom4 img{
    width:15%;
    left:33%;
    bottom:-5px;
}

.dom5 img{
    width:16%;
    left:45%;
    bottom:-12px;
}

.dom6 img{
    width:15%;
    left:57%;
    bottom:-8px;
}

.dom7 img{
    width:14%;
    left:68%;
    bottom:-15px;
}

.dom8 img{
    width:15%;
    left:80%;
    bottom:-5px;
}

.dom9 img{
    width:16%;
    left:90%;
    bottom:-100px;
}
.trava img{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index:2;
}

@media (max-width: 768px) {

    .first__title h1 {
        font-size: 28px;
        line-height: 1.1;
    }
    .dom4 img,
    .dom6 img,
    .dom7 img,
    .dom8 img,
    .dom9 img {
        display: none;
    }
    .dom1 img {
        width: 35%;
        left: 0%;
        bottom: 0;
    }

    .dom2 img {
        width: 35%;
        left: 25%;
        bottom: 0;
    }

    .dom3 img {
        width: 35%;
        left: 50%;
        bottom: 0;
    }

    .dom5 img {
        width: 35%;
        left: 75%;
        bottom: 0;
    }

}



.second {
    position: relative;
    background-color: #9CA066;
    min-height: 100vh;
    height: 101vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
}

.flower {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower img:first-child {
    width: 70%;
    height: auto;
}

.lapa {
    display: none;
    position: absolute;
    width: 22%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateLapa 1s infinite;
}
@keyframes rotateLapa {
    0%{
        transform: translate(-50%, -50%) rotate(15deg);
    }
    50%{
        transform: translate(-50%, -50%) rotate(-15deg);
    }
    100%{
        transform: translate(-50%, -50%) rotate(15deg);
    }
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    margin: 0;
    text-align: center;
    color: white;
    font-size: 1.3rem;
    line-height: 1.4;
    z-index: 2;
}
@media (max-width: 768px) {

    .second {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 20px;
        padding: 40px 20px;
        height: auto;
    }
    .center-text {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        width: 100%;
        font-size: 16px;
        margin-bottom: 10px;
    }
    .flower {
        width: 70%;
    }

    .flower img:first-child {
        width: 100%;
    }

}



.third{
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        to top,
        #554B43 39%,  
        transparent 30%
    );
}

.chairs{
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-x: clip;

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.row{
    display: flex;
    width: 100%;
    gap: 0%;
    margin-bottom: -5%;
    justify-content: center;
}

.chair{
    display: flex;
    align-items: flex-end;
    width: 20%;
    aspect-ratio: 100 / 160;
    position: relative;
    overflow: hidden;

    img{
        position: absolute;
        width: 100%;
    }

    img:nth-of-type(1){
        left: 0;
        top: 200%;
    }

    img:nth-of-type(1).active{
        top: 0;
    }

    img:nth-of-type(2){
        left: 0;
        bottom: 0;
    }
}
.row:first-child{
    transform: translateY(55%);
}

.lala img{
    width: 100%;
    height: 100%; 
}
.lalat{
    text-align: center;
    color: #554B43;
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 40px;
}
@media (max-width: 768px) {

    .third {
        min-height: 100vh;
        background: linear-gradient(
            to top,
            #554B43 30%,
            transparent 30%
        );
        overflow: hidden;
    }

    .lala img {
        width: 100%;
        height: auto;
    }

    .lalat {
        width: 88%;
        margin: 18px auto 0;
        font-size: 16px;
        line-height: 1.35;
        text-align: center;
    }

    .chairs {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .row {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        margin-bottom: -5%;
        gap: 4px;
        transform: none;
    }
    .chair {
        width: 26%;
        aspect-ratio: 100 / 160;
        position: relative;
        overflow: hidden;
    }
    .chair img {
        position: absolute;
        width: 100%;
    }
    .chair img:nth-of-type(1) {
        left: 0;
        top: 200%;
    }
    .chair img:nth-of-type(1).active {
        top: 0;
    }
    .chair img:nth-of-type(2) {
        left: 0;
        bottom: 0;
    }
    .row:first-child .chair:nth-child(5),
    .row:first-child .chair:nth-child(6) {
        display: none;
    }
    .row:last-child .chair:nth-child(5) {
        display: none;
    }

}
.fourth {
    height: 101vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.bant, .bant2, .hat {
    position: absolute;
}

.bant {
    position: absolute;
    width: 10%;
    left: 10%;
    top: 50%;
}

.bant2 {
    position: absolute;
    width: 10%;
    left: 80%;
    top: 35%;
}

.hat {
    position: absolute;
    width: 15%;
    left: 84%;
    top: 70%;
}
.clotht {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 90%;
}

.clotht p {
    font-size: 25px;
    margin: 0;
    font-family: "Inter";
    color: #554B43;
}

.pillow {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: -7%;
    margin-top: auto;
    position: relative;
}

.pillow img {
    width: 80%;
    height: auto;
    display: block;

}

.pillow .dog1{
    position: absolute;
    width: 40%;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.accessory {
    position: absolute;
    cursor: grab;
    z-index: 10;
    user-select: none;
}

.accessory:active {
    cursor: grabbing;
}

.drop-zone {
    position: absolute;
    z-index: 2;
}

.neck-zone {
    width: 5%;
    height: 10%;
    left: 56%;
    top: 22%;
    transform: translateX(-50%);
}

.head-zone {
    width: 5%;
    height: 10%;
    left: 59%;
    top: -15%;
    transform: translateX(-50%);
}
.tail-zone{
    width: 5%;
    height: 10%;
    left: 37%;
    top: 14%;
    transform: translateX(-50%);
}
@media (max-width: 768px) {

    .fourth {
        height: 100vh;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    .clotht {
        position: static;
        transform: none;
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }

    .clotht p {
        font-size: 18px;
        line-height: 1.35;
    }
    .bant {
        width: 18%;
        left: 18%;
        top: 28%;
    }

    .bant2 {
        width: 18%;
        left: 42%;
        top: 28%;
    }

    .hat {
        width: 22%;
        left: 66%;
        top: 27%;
    }

    .pillow {
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    .pillow img {
        width: 100%;
    }

    .pillow .dog1 {
        width: 55%;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .neck-zone {
        width: 10%;
        height: 12%;
        left: 58%;
        top: 28%;
            transform: translateX(-50%);
    }

    .head-zone {
        width: 10%;
        height: 12%;
        left: 63%;
        top: -15%;
        transform: translateX(-50%);
    }

    .tail-zone {
        width: 10%;
        height: 12%;
        left: 33%;
        top: 15%;
        transform: translateX(-50%);
    }
}

.fifth{
    background-color: #FBCED0;
    position: relative;
    overflow: hidden;
}
.stol {
    position: absolute;
    right: 60%;
    bottom: -2%;
    width: 12%;
    max-width: 100%;

}

.stol img {
    width: 700%;
    display: block;
}
.dog5 {
    position: absolute;
    right: 24%;
    bottom: 1%;
    width: 8%;
    z-index: 2;
}
.dog5 img {
    width: 400%;
    display: block;
}

.dish {
    position: absolute;
    right: 54%;
    bottom: 1%;
    width: 8%;
    z-index: 2;
}

.dish-zone {
    position: absolute;
    width: 150%;
    height: 45%;
    left: 130%;
    top: 6%;
    z-index: 5;
}

.dish img {
    width: 400%;
    display: block;
}

.bones {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bone1 {
    position: absolute;
    width: 10%;
    left: 51%;
    bottom: 73%;
    z-index: 3;
    cursor: grab;
}

.bone1 img {
    width: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.bone2 {
    position: absolute;
    width: 12%;
    left: 35%;
    bottom: 42%;
    z-index: 3;
    cursor: grab;
}

.bone2 img {
    width: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.bone3 {
    position: absolute;
    width: 18%;
    left: 45%;
    bottom: 44%;
    z-index: 3;
    cursor: grab;
}

.bone3 img {
    width: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.bone4 {
    position: absolute;
    width: 12%;
    left: 35%;
    bottom: 63%;
    z-index: 3;
    cursor: grab;
}

.bone4 img {
    width: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.check {
    position: absolute;
    left: 3%;
    top: 14%;
    width: 30%;
    max-width: 70%; 
    z-index: 5;
}

.check img {
    width: 100%;
    height: auto;
    display: block;
}
.checkt1 {
    position: absolute;
    left: 5%;
    top: 20%;
    width: 28%;
    font-size: 16px;
    z-index: 6;
    font-family: "Inter";
    color: #554B43;
    display: none;
    
}

.checkt2 {
    position: absolute;
    left: 5%;
    top: 29%;
    width: 28%;
    font-size: 16px;
    z-index: 6;
    font-family: "Inter";
    color: #554B43;
    display: none;
}

.checkt3 {
    position: absolute;
    left: 5%;
    top: 38%;
    width: 28%;
    font-size: 16px;
    z-index: 6;
    font-family: "Inter";
    color: #554B43;
    display: none;
}

.checkt4 {
    position: absolute;
    left: 5%;
    top: 47%;
    width: 28%;
    font-size: 16px;
    z-index: 6;
    font-family: "Inter";
    color: #554B43;
    display: none;
}
.total {
    position:absolute;
    left: 8%;
    top: 56%;
    width: 30%;
    font-size: 16px;
    font-weight: bold;
    z-index: 6;
    font-family: "Inter";
    color: #554B43;
    display: none;
}
.top-text {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.top-text p {
    font-size: 30px;
    margin: 0;
    font-family: "Inter";
    color: #554B43;
}
@media (max-width: 768px) {

    .top-text {
        position: absolute;
        top: 2%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
        z-index: 10;
    }

    .top-text p {
        font-size: 18px;
        line-height: 1.3;
        margin: 0;
    }
    .check {
        position: absolute;
        left: 50%;
        top: 14%;
        transform: translateX(-50%);
        width: 42%;
        max-width: none;
        z-index: 5;
    }

    .check img {
        width: 100%;
        height: auto;
        display: block;
    }

    .checkt1 {
        left: 31%;
        top: 19%;
        width: 38%;
        font-size: 12px;
    }

    .checkt2 {
        left: 31%;
        top: 25%;
        width: 38%;
        font-size: 12px;
    }

    .checkt3 {
        left: 31%;
        top: 31%;
        width: 38%;
        font-size: 12px;
    }

    .checkt4 {
        left: 31%;
        top: 37%;
        width: 38%;
        font-size: 12px;
    }

    .total {
        left: 10%;
        top: 44%;
        width: 30%;
        font-size: 12px;
    }

    .bone1 {
        width: 12%;
        left: 24%;
        bottom: 10%;
    }

    .bone2 {
        width: 13%;
        left: 5%;
        bottom: 20%;
    }

    .bone3 {
        width: 18%;
        left: 20%;
        bottom: 25%;
    }

    .bone4 {
        width: 12%;
        left: 5%;
        bottom: 5%;
    }
    .dish-zone {
        width: 180%;
        height: 40%;
        left: 115%;
        top: 10%;
    }
   
}

.sixth {
    position: relative;
    height: 101vh;
    overflow: hidden;
}

.lapps img{
    width: 115%;
    display: block;
}

.lapab {
    position: absolute;
    width: 32%;
    left: -3%;
    top: 10%;
    animation: floatLap 3s ease-in-out infinite;
}

.lapak {
    position: absolute;
    width: 38%;
    right: -2%;
    top: 4%;
    animation: floatLap 3s ease-in-out infinite;
}

.lapaw {
    position: absolute;
    width: 26%;
    left: 50%;
    bottom: 5.5%;
    animation: floatLap 3s ease-in-out infinite;
}
@keyframes floatLap {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-20px, -20px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
.sixtht {
    position: absolute;
    left: 6%;
    bottom: 20%;
    max-width: 40%;
    text-align: center;
    color: #554B43;
    font-size: 1.3rem;
    line-height: 1.4;
}
.sixthname{
    font-family: "Inter";
    font-weight: 700;
    font-size: 160%;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #554B43;
    color: white;
    text-align:end;
    padding: 15px 0 ;
    z-index: 10;
}
@media (max-width: 768px) {

    .sixth {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .sixtht {
        position: absolute;
        left: 50%;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        max-width: 80%;
        width: 80%;
        text-align: center;
        font-size: 18px;
        line-height: 1.35;
        z-index: 5;
    }

    .lapab {
        width: 38%;
        left: -8%;
        top: 12%;
    }

    .lapak {
        width: 42%;
        right: -8%;
        top: 10%;
    }

    .lapaw {
        width: 30%;
        left: 50%;
        bottom: 3%;
        transform: translateX(-50%);
    }

    .lapps img {
        width: 100%;
    }

    .sixthname {
        font-size: 14px;
        text-align: center;
        padding: 12px 10px;
    }

}
.lapalapa {
    position: absolute;
    top: 300vh;
    left: 49%;
    transform: translate(-50%, -50%);
    width: 100vw;
    z-index: 10;
}
.lapalapa img {
    width: 101%;
    height: 80px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .lapalapa {
        display: none;
    }
}

.tip-button {
    width: 60px;
    height: 60px;
    background-color: #FBCED0;
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9000;
    border-radius: 100%;
    cursor: pointer;
}

.tip-box {
    position: fixed;
    top: 110px;
    right: 40px;
    width: 260px;
    min-height: 120px;
    background-color: #FBCED0;
    border-radius: 20px;
    padding: 20px;
    z-index: 9000;
    display: none;
}

.tip-box.active {
    display: block;
}

.tip-box p {
    margin: 0;
    color: #554B43;
    font-size: 16px;
    line-height: 1.4;
}
.tip-button::after {
    content: "?";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #554B43;
    font-size: 26px;
    font-weight: 600;
    font-family: "Inter";
}