* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar ul {
    list-style: none;
    width: 100%;
    justify-content: space-around;
    display: flex;
    font-family: "Catamaran", sans-serif;
    font-size: large;
}

.navbar .carolina {
    margin-top: 2.5%;
    margin-right: auto;
}

.navbar .work,
.navbar .films,
.navbar .contact {
    margin-top: 2.6%;
    margin-left: auto;
}

.navbar {
    width: 100%;
    height: 20%;
    align-items: center;
    display: flex;
}

header {
    width: 100%;
    height: 6%;
    inline-size: 1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #ffffff;
}

.navbar a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: large;
    font-weight: bold;
    font-family: "Catamaran", sans-serif;
}

.navbar li {
    margin: 0 15px;
}



.gallery {
    column-width: 30vw;
    column-gap: 10px;
    row-gap: 30px;
    margin: 3.5% 1% 1% 1%;
}

.gallery .image-container {
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.5s, opacity 0.5s;
}

.gallery img:hover {
    opacity: 0.1;
}

.overlay {
    position: absolute;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    top: 50%;
    left: 50%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    padding: 10px;
    font-weight: bolder;
    opacity: 0;
    transition: opacity 0.1s ease;
}


.ct {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info {
    width: 800px
}

.contact-info p {
    font-size: 1.1em;
    color: #000000;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Icons */
.icon {
    display: inline-table;
    justify-content: center;
    margin-bottom: 1%;
    margin-top: 2%;

    p {
        margin-top: 5%;
    }
}

.icon a {
    margin: 0 15px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
}

.container-video{
    display: flex;
    margin-top: 3%;
    margin: 2%;
    align-items: center;
    justify-content: space-around;
    width: 94%;
    
}
.container-video1{
    display: flex;
    margin-top: 3%;
    margin: 2%;
    align-items: center;
    justify-content: center;
    width: 94%;
    
}


h2 {
    font-family
    :'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.video-1{
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2%;
}

.video-2{
    width: 20%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2%;
}

/* Responsive Design */

/* Ajustes para telas menores */

.gallery .image-container:hover .overlay {
    opacity: 1;
}

@media screen and  (min-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    main {
        margin-top: 4%;
    }
}

@media screen and  (min-width: 992px) and (max-width: 1199px) {

    .navbar {
        margin-top: 3.5%;
    }
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 3%;
    }
    main {
        margin-top: 20%;
    }

    h2 {
        font-size: small;
    }
    
    
    
    
}

@media screen and  (max-width: 767px) {
    .gallery {
        column-count: 2; 
        column-width: 50%; 
        margin-top: 17%;
    }
    main {
        margin-top: 20%;
    }
    h2 {
        font-size: small;
    }
    section {
        width: 50%;
    }
    .icon {
        margin-top: 15%;
    }
    body {
        margin-top: 5%;
    }
    .container-video{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
    .container-video1{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
}

@media screen and  (min-width: 768px) and (max-width: 991px) {
    .navbar {
        margin-top: 3.5%;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 5%;
    }
    main {
        margin-top: 20%;
    }
    h2 {
        font-size: small;
        margin: 1%;
    }
    section {
        width: 50%;
    }
    .icon {
        height: 100%;
        margin-top: 15%;
    }
    .container-video{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
    .container-video1{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
}

@media screen and  (max-width: 768px) {
    header {
        height: 9vh;
    }
    * {
        column-width: 100%;
    }
    main {
        margin-top: 20%;
    }
    h2 {
        font-size: small;
        margin: 2%;
    }
    .icon {
        margin-top: 15%;
    }
    .navbar{
        margin-top: 7%;
    }
    .video-1{
        width: 98%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        margin: 2%;
    }
    .video-2{
        width: 98%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        margin: 2%;
    }
    .video-3{
        width: 98%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        margin: 2%; 
    }
}

@media screen and (max-width: 480px) {
    * {
        column-width: 100%;
    }
    h2 {
        font-size: small;
        margin: 2%;
    }

    .ct {
        width: 100%;
    }

    .contact-info{
        width: 80%;
    }

    .navbar{
        margin-top: 8%;
    }
    .container-video{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
    .container-video1{
        display: grid;
        margin-top: 3%;
        margin: 2%;
        align-items: center;
        justify-content: center;
        
    }
    .video-1{
        width: 98%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        margin: 2%;
    }
    .video-2{
        width: 98%;
        height: auto;
        display: flex;
        justify-content: start;
        align-items: center;
        margin: 2%;
    }

    .icon {
        display:inline-table;
        margin-top: -9%;

        p {
            margin-top: 3%;
        }
    }
}