* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: top;
}

#proyects {
    min-height: calc(100vh - 50px);
}

@media screen and (min-width: 600px) {
    .gallery {
        padding-top: 400px;
    }
}

.gallery__img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery__thumb {
    padding-top: 6px;
    display: block;
}

.gallery__selector {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.gallery__selector:checked+.gallery__img {
    opacity: 1;
}

.gallery__selector:checked~.gallery__thumb>img {
    box-shadow: 0 0 0 3px #0be2f6;
}

.gallery-flex {
    display: flex;
    margin-bottom: 3rem;
}

.carousel {
    margin-right: 2rem;
}

@media screen and (max-width: 800px) {
    .gallery-flex {
        display: block;
    }

    .carousel {
        margin-right: 0rem;
        margin-bottom: 2rem;
    }
}

.gallery_video {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 10rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}



@media screen and (min-width: 768px) {
    .gallery_video {
        flex-direction: row;
    }

    .gallery_video>div {
        width: 50%;
    }
}

.gallery_video video {
    width: 100%;
    height: auto;
    display: block;
}


.carousel-inner .carousel-item,
.carousel-inner {
    height: 100%;
}

.carousel-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-title h2 {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.747);
}

.section-title i {
    margin-right: 6px;
    font-size: 2rem;
}

.section-title-info {
    display: flex;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.section-title-info a {
    margin-left: auto;
}

.section-title-info p {
    text-align: center;
    vertical-align: center;
    margin-right: 2rem;
    font-size: 2rem;
}

.section-title-info p i {
    margin-right: 6px;
}


.btn-pdf {
    font-size: 1.5rem;
    padding: .5em 2em;
    border-color: #ad0b00;
    color: #ad0b00;
    border-radius: 3px;
}

.options {
    margin-bottom: 3rem;
    display: flex;
    gap: 8px;
}

.options a {
    text-transform: uppercase;
    color: rgb(73, 73, 73);
    background: rgb(255, 255, 255);
	padding: 14px 20px;
	letter-spacing: 1px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.3s;
}

.options a:hover {
    color: rgb(0, 0, 0);
    background: rgb(173, 173, 173);
	background: linear-gradient(180deg, #DCDCDC 0%, rgba(225, 225, 225, 1) 50%, #DCDCDC 100%);
}

.options a.active {
    text-transform: uppercase;
    color: black;
	background: rgb(173, 173, 173);
	background: linear-gradient(180deg, #DCDCDC 0%, rgba(225, 225, 225, 1) 50%, #DCDCDC 100%);
	padding: 14px 20px;
	letter-spacing: 1px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.3s;
}