

.first-section{
    display: flex;
    position: relative;
    height: calc(100vh - 80px);
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    
    margin-top: 80px
}
#myVideo {
    position : absolute;
    top: 0;
    min-width: 100%;
    z-index: -1;
    height: 100vh;
}
.video-text{
    color:white;
    max-width: 30ch;
    display: flex;
    align-items: center;
    justify-content: center ;
    flex-direction: column;
    position: absolute;
    bottom: 2ch;
}


.first-section button,
.last-section button{
    background-color: white;
    color: black;
    padding: 1ch 2ch;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-emphasis: bold;
    font-weight: bold;
    min-width: 20ch;
    border: solid 2px black;
    margin-bottom: 1ch;
}



#scrollDownBtn{
    padding: 0;
    background-color: white;
    color: black;
    border-radius: 50%;
    text-emphasis: bold;
    font-weight: bold;
    min-width: 0ch;
    width: 30px;
    height: 30px;
    margin-right: 0ch;
}
#scrollDownBtn img{
    width: 24px;
    height: 24px;
}
.other-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2ch;
    margin-top: 7ch;
    overflow: hidden;
    text-align: center;
}

.polaroid-card{
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1ch;
    display: block;
    width: 267px;
    height: 324px;
    transform: rotate(4deg);
}

.polaroid-image{
    position: absolute;
    top:16px;
    left:16px;
    width: 235px;
    height: 235px;
    z-index: 2;
    border: 1px solid black;
}
.polaroid-border{
    position: absolute;
    top:0;
    left:0;
    width: 267px;
    height: 324px;
    background-color: black;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.polaroid-card-small{
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1ch;
    display: block;
    width: calc(8.9*15px);
    height: calc(10.8*15px);
    transform: rotate(4deg);
}

.polaroid-image-small{
    position: absolute;
    top: 8px;
    left:8px;
    width: calc(7.8 * 15px + 1px);
    height: calc(7.8 * 15px + 1px);
    z-index: 2;
    border: 1px solid black;
}
.polaroid-border-small{
    position: absolute;
    top:0;
    left:0;
    width: calc(8.9*15px);
    height: calc(10.8*15px);
    background-color: tomato;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}



.polaroid-text{
    position: absolute;
    bottom: 8px;
    left: 16.5px;
    height: 45px;
    max-width: 234px;
    /* white-space: pre-wrap; */
    display: block;
    overflow: hidden;
    /* background: pink; */
    font-size: 12px;
    text-align: center;
}


#go-kart-small-polaroid-1 {
    transform: rotate(-4deg);
}
#spotted-small-polaroid-1 {
    transform: rotate(2deg);
}
#paintball-small-polaroid-1 {
    transform: rotate(-8deg);
}
.grid2{
    display: grid;
    grid-template-columns: 50% auto;
    gap: 2ch;
    text-overflow: hidden;
    padding: 2ch;
    justify-content: space-evenly;
    align-items: center;
}
.grid2 p{
    
}
.chat-grid{
    grid-template-columns: 50% 50%;
}

.telephon-screen{
    max-width: 350px;
    width: 100%;
}
.chat-grid-element{
    position: relative;    
}
.falling-polaroid{
    transform: scale3d(4, 4, 5) rotate(60deg);
    transition: transform 0.3s ease-in-out;
    position:absolute;
    top: calc(50%);
    left: calc(50% - 70px);
    visibility: hidden;
    z-index: 3;

}
.falling-polaroid.activated{
    visibility: visible;
    transform: scale3d(2, 2, 5) rotate(-24deg);
    
}
#chat-polaroid-spotted.falling-polaroid{
    top: calc(50% - 150px);
    left: calc(50% - 70px);
    transform: scale3d(4, 4, 5) rotate(160deg);
}

#chat-polaroid-spotted.falling-polaroid.activated{
    visibility: visible;
    transform: scale3d(2, 2, 5) rotate(15deg);
}
#chat-polaroid-paintball.falling-polaroid{
    top: calc(50% - 100px);
    left: calc(50% - 70px);
    transform: scale3d(4, 4, 5) rotate(80deg);
}

#chat-polaroid-paintball.falling-polaroid.activated{
    visibility: visible;
    transform: scale3d(2, 2, 5) rotate(-10deg);
}


.carosello-image{
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.carosello{
    display: flex;
    overflow-x: scroll;
    gap: 2ch;
    padding: 1ch;

    max-width: 80vW;
}




@media screen and (min-width: 768px){
    .first-section{
        text-align: center;
        padding: 0 5ch;
    }

    .other-section{
        margin-top: 10ch;
    }
    .grid2{
        grid-template-columns: 50% auto;
    }
    
    #go-kart-small-polaroid-1 {
        transform: rotate(-4deg) scale(1.4);
    }
    #spotted-small-polaroid-1 {
        transform: rotate(2deg) scale(1.4);
    }
    #paintball-small-polaroid-1 {
        transform: rotate(-8deg) scale(1.4);
    }
    button:hover{
        cursor: pointer;
    }
    .chat-grid{
        display: flex;
        width: 100%;
        justify-content: space-evenly;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px){
    #chat3{
        display: none;
    }
}
@media screen and (max-width: 768px){
    #chat3{
        display: none;
    }
    #chat2{
        display: none;
    }
}