.main-first-layer{
    background-color: #f8f8f8;
    height: 70vh;
}

.carousel-caption{
    margin-bottom: 280px;
    text-shadow: 1px 1px 1px rgb(209, 208, 208);
}

.main-second-layer{
    
    
    /* background-color: #f0f0f0; */
    /* background: url(../IMG/1700645375520.png); */
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 75vh;
    box-shadow: 0px 5px 5px rgb(110, 110, 110);
}



.profile-picture{
    width: 20vw;
}

.port-name{
    font-family: 'Charm', cursive;
    font-size: 3vw;
}

/* .work-p{
    border-bottom: 2px solid black;
} */

.contact-page-info{
    color: #3b3b3b;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif; 
    font-size: 1.6vw;

}

.contact-page-info:hover{
    color: gray;
}

.contact-page-info-work{
    font-size: 1.3vw;
}

.work-icons{
    font-size: 1.5vw;
    padding: 5px;
}


.card{
    width: 250px;
    height: 180px;
    padding: 2rem 2rem;
    text-align: center;
    /* background: #fff; */
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    /* box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5); */
    transition: 0.5s ease-in-out;
}

.card a{
    text-decoration: none;
}

.card:hover{
    transform: translateY(0px);
}

.card:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.726), rgb(155, 155, 154));
    z-index: 2;
    transition: 0.5s all;
    opacity: 0;
}

.card:hover:before{
    border-radius: 15px;
    opacity:1;
}

.card img{
    width:100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card .info{
    position: relative;
    z-index: 3;
    color:#fff;
    opacity: 0;
    transform: translateY(0px);
    transition: 0.5s all;
}

.card:hover .info{
    opacity: 1;
    transform: translateY(0px);

}


/* MEDIA QUERY */
@media(min-width:0px) and (max-width:576px){
    .carousal-port{
        display: none;
    }

    .profile-picture{
        width: 50vw;
    }

    .port-name{
        font-size: 9vw;
    }

    .card{
        width: 280px;
    }

    h3{
        font-size: 6vw;
    }

    .p{
        font-size: 3.8vw;
    }

    .work-p{
        font-size: 4.5vw;
    }

}

@media (min-width:577px) and (max-width:767px){
    .carousal-port{
        display: none;
    }

    .profile-picture{
        width: 50vw;
    }

    .port-name{
        font-size: 8vw;
    }

    .card{
        width: 400px;
        height: 250px;
    }

    h3{
        font-size: 6vw;
    }

    .p{
        font-size: 3.3vw;
    }

    .work-p{
        font-size: 4vw;
    }

    
}


@media (min-width:768px) and (max-width:991px){
    .smal-intro{
        display: none;
    }

    .carousel-caption{
        margin-bottom: 50px;
    }

    .main-first-layer{
        height: max-content;
    }

    .main-second-layer{
        height: max-content;
    }

    .port-name{
        font-size: 4.5vw;
    }

    .carousel-caption p{
        font-size: 2vw;
    }

    .profile-picture{
        width: 28vw;
    }

    .p{
        font-size: 1.7vw;
    }

    .work-p{
        font-size: 1.8vw;
    }
}


@media (min-width:992px) and (max-width:1199px){
    .smal-intro{
        display: none;
    }

    .carousel-caption{
        margin-bottom: 180px;
    }

    .port-name{
        font-size: 3.3vw;
    }

    .carousel-caption p{
        font-size: 1.5vw;
    }

    .work-p{
        font-size: 1.5vw;
    }
    
}  



@media (min-width:1200px) and (max-width:1399px){
    .smal-intro{
        display: none;
    }
}


@media (min-width:1400px){
    .smal-intro{
        display: none;
    }

    .port-name{
        font-size: 3.5vw;
    }

    .profile-picture{
        width: 25vw;
    }

    .p{
        font-size: 1.4vw;
    }

    .carousel-caption{
        margin-bottom: 280px;
    }

    .carousel-caption p{
        font-size: 1.5vw;
    }

    .work-p{
        font-size: 1.6vw;
    }

    .card{
        width: 300px;
        height: 230px;
    }
}


