@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html{
    font-family: roboto;
}

body{
    padding-top: 60px;
    margin-bottom: 10px;
}

.carousel-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.dark-page{
    background: #212020;
    color: white;
}

.project-img, .service-title, .square-service{
	border-radius: 20px;
}

/* .carousel-single-image{
    height:100%; object-fit: cover; object-position: center;
} */

.header-carousel {
  height: calc(100vh - 60px);
}

.carousel-control-prev, .carousel-control-next {
            width: 50px;
            height: 50px;
            top: 50%; 
            transform: translateY(-50%);
            border-radius: 50%;  /* Makes the arrow button round */
        }

.carousel-single-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.container-fluid{
    overflow:hidden;
}

.square-service a{
    color: white;
    text-decoration: none;
    transition-duration: 200ms;

}
.square-service{
    transition-duration: 200ms;
}
.square-service:hover{
    scale: 1.2;
}

.service-title{
    background: rgba(1, 1, 1, 0.5); width: 100%; height: 100%; padding-top: 100px;
    transition-duration: 200ms;
}

.square-service:hover a .service-title{
    background: rgba(0, 0, 0, 0.2);
}

.square-service a:hover{
    color: rgba(255, 255, 255, 0.1);
}

.project{
    overflow: hidden;
    padding: 2px;
    /*transform: rotate(3deg);*/
    transition-duration: 200ms;
    transition-timing-function: ease-out;
}

.project:hover{
    /*padding: 40px;*/
    scale: 0.8;
    transform: rotate(3deg);
}

.project.single-tool:hover{
    padding: 0px;
    scale: 1.1;
}


.full-cover-img{
    width: 100%;
    height: 100%!important;
    object-fit: cover;
}

.ratio-9x16 .full-cover-img{
    width: 106%!important;
    height: 106%!important;
}

div.video{
    margin: 5px;
    overflow: hidden;
}

.videos.row{
    margin: 0px auto;
}

.project-img{
    /* position: relative;
    top: 0px; */
    width: 100%;
    object-fit: cover;
    transition-duration: 500ms;
}
.project-img:hover{
    filter: brightness(70%);
    /* top: 10px; */
}

.ratio-9x16 {
    --bs-aspect-ratio: 178.78%;
}

.grid{
    margin: 0px auto;
}

div.services-group .col-md-4{
    margin-bottom: 50px;
}

.col-sm-6 {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
.col-sm-6.loaded {
opacity: 1;
transform: translateY(0);
}

.single-video-thumbnail img{
    opacity: 1;
    transition-duration: 500ms;
}

.single-video-thumbnail img:hover{
    opacity: 0.7;
    /*padding: 20px;*/
    scale: 0.9;
}

.masonry-grid {
    width: fit-content; /* Or a fixed width like 960px */
    margin: 0 auto;     /* Center horizontally */
    display: block;
}

.project-details{
    font-size: 22px;
    margin-bottom: 50px;
}

.project-details .project-description{
    padding-top: 20px;
}

.project-thumbnail{
    border-radius: 30px;
}

.single-project{
    /* background: white;
    color: black; */
    padding: 50px;
}

.single-project h1{
    margin-bottom: 50px;
}

.contact-section{
    padding: 50px 20px;
}