
main {
	padding-bottom: 50px;
}

#slick-hero {
    margin-top: 50px;
}

.slick-track {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.slick-slide {
    background-color: #000;
    width: 100%;
    height: 300px;
    
    &.slick-active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    h3 {
        color: #fff;
        font-size: 48px;
        font-weight: 700;
    }

    &.slick-active.slick-current.slick-center {
        height: 400px;
    }
}
        
.bento-grid {
    display: grid;
    grid-template-columns: 800px 1fr;
    grid-template-rows: 400px auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-top: 20px;
}

.profile-box {
    width: 100%;
    height: 400px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    order: 1;
}

.profile-gutter {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.profile-box img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); */
    border-radius: 40px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: black;
}

.profile-info p {
    font-size: 16px;
    color: black;
}

.profile-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.profile-actions .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    
    &:hover {
    	background-color: #636363;
    }
}

.profile-actions .social-links a {
    color: black;
    font-size: 24px;
}

.profile-actions .social-links a:hover {
    color: #DB5E24;
}


.photo-box {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    order: 2;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}


.project-box {
    width: 100%;
    height: 512px;
    border-radius: 40px;
    overflow: hidden;
	cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    
    &:nth-of-type(1) .project-card {
		background-color: #6B5CE5;
	}
	
	&:nth-of-type(2) .project-card {
		background-color: #A979C0;
	}
	
	&:nth-of-type(3) .project-card {
		background-color: #EC921C;
	}
	
	a {
		text-decoration: none;
		color: white;
	}
	
}

.project-card {
	position: relative;
	height: 100%;
	
	.project-title {
		font-weight: 700;
		font-size: 24px;
		padding: 25px 0 0 25px;
	}
	
	.project-tagline {
		font-weight: 400;
		font-size: 16px;
		padding-left: 25px;
		color: #E0DDFE;
	}
	
	.preview {
		width: 100%;
    	height: 70%;
    	object-fit: cover;
    	transition: transform 0.5s ease-in-out;
    	position: absolute;
    	bottom: 0;
	}
	
	.arrow-circle {
		width: 70px;
		height: 70px;
		border-radius: 50%;
		position: absolute;
		right: 25px;
		top: 25px;
		background: #FFFFFF;
		box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.25);
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

.project-box a:hover .preview {
    transform: scale(1.05);
}

.projects-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 400px auto;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .profile-box {
        order: 2;
    }

    .photo-box {
        order: 1;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.social-links {
	margin-top: 0;
}

.services {

	.services-grid {
		display: grid;
  		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  		gap: 2rem;
  		margin-top: 2rem;
  		
  		.card {
  			
  			p {
  				max-height: 200px;
				overflow-y: scroll;
				margin: 0;
			}
  		}
	}
}