body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "red hat display";
    overflow: scroll;
    font-size: 17px;
    background-color: var(--color-3);

    --padding-x:40px;
    --padding-y:100px;
    --color-1: rgb(217, 231, 234);
    --color-2: rgba(208, 224, 230, 0.4);
    --color-3: rgba(208, 223, 230, 0.222);
    --text-hover: gray;
    --padding-1: 10px;
    --padding-2: 20px;
}

*{
    box-sizing: border-box;
}




.greeting {
        width: 100vw;
        height: 100vh;
        background-color: var(--color-2);
        display: flex;
        align-items: center;
        justify-content: center;

        & .card{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: max-content;
            height: max-content;
            padding: 20px 0;
            z-index: 90;
            justify-content: space-between !important;
            
            

            & .title-1{
                font-size: 30px;
                z-index: 10;
                opacity: 0;
                animation: fadeIn .5s ease-in forwards .3s;
            }
            & .title-2{
                font-size: 100px;
                font-family: texturina;
                font-style: italic;
                font-weight: 100;
                margin-top: -40px;
                z-index: 10;
                opacity: 0;
                animation: fadeIn .5s ease-in forwards .4s;
            }
            & .title-3{
                font-size: 30px;
                z-index: 10;
                opacity: 0;
                animation: fadeIn .5s ease-in forwards .5s;
                translate: 0 -10px;
            }
        }
    }



@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.pictures{
    position: absolute;
    width: 100%;
    top: 50px;
    height: calc(100% - 50px);
    

    & .picture{
        --random1: -300px;
        --random2: -300px;
        --random3: 0deg;
        width: 280px;
        background-color: white;
        padding: var(--padding-1);
        padding-bottom: 40px;
        position: absolute;
        rotate: var(--random3);
        box-shadow:  1px 2px 30px rgba(0, 0, 0, 0.133);
        &.neg{rotate: calc(0deg - var(--random3));}
        transition: 1s ease-in-out, scale .3s;

        & img{
            width: 100%;
        }

        &.right  { right: var(--random1); }
        &.left   { left:  var(--random1); }

        &.top    { top:    var(--random2); }
        &.bottom { bottom: var(--random2); }
        &:hover{
            scale: 1.1;
            z-index: 5;
        }
    }
}

@media (max-width: 1030px) {
  
   
}

@media (max-width: 900px) {
    .picture{
        &.right{
            transform: translateX(10px);
        }
        &.left{
            transform: translateX(-10px);
        }
    }
    .card{
        width: 350px !important;
        height: 200px !important;
        padding: 20px 0;
        z-index: 100;
        background-color: white;
        justify-content: space-between !important;
        border: solid 2px var(--color-1);
        outline: solid 4px white;
        box-shadow:  1px 2px 30px rgba(0, 0, 0, 0.19);
    }
    .title-2{
        font-size: 45px !important;
        padding: 10px 0;
        padding-top: 25px;
        font-weight: 200 !important;
        
    }
    .title-1{
        margin: 0 !important;
    }
}

@media (max-width: 620px) {
    .greeting{
        align-items: end !important;
        & .card{
            margin-bottom: 20px;
        }
    }
    .pictures{
        height: 75vh;
        & .picture{
            &.right{
                transform: translateX(50px);
            }
            &.left{
                transform: translateX(-50px);
            }
        }
    }

}
@media (max-width: 450px) {
    .picture{
        width: 220px !important;
    }
    
}



nav{
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    gap: var(--padding-1);
    padding: var(--padding-1);
    background-color: var(--color-1);

    & a{
        text-decoration: none !important;
        color: inherit;
        transition: .2s;

        &:hover{
            color: var(--text-hover);
        }
    }
}



