body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F2F2F2;
    color: #F2F2F2;
}

.container{
    max-width: 80%;
    position: relative;
    top: 75px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.reels,.portfolio{
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    justify-content: center;
    flex: auto;
}

.content{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}


.vfxReel, .colorReel{
    max-width: 60%;
    min-height: 500px;
    background-color: #262626;
    padding: 25px;
    border-radius: 1rem;
    box-shadow: 0 2px 3px rgba(0,0,0,0.4);
    flex: 1 1 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease-out;
}

.vfxReel .tools, .colorReel .tools{
    border-top: 1px solid black;
    padding: 1rem;
}

.vfxReel:hover, .colorReel:hover{
    transition: background-color 0.s ease-out;
    transform: scale(1.05); /* Scale up by 25% */
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.6);
}

.gallery{
    max-width: 95%;
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto;
}

.video{
    width: 100%;
    max-width: 95%;
    min-height: 350px;
    background-color: #262626;
    color: white;
    padding: 1rem;
    margin: 0 auto ;
    overflow: wrap;
    border-radius: 1rem;
    box-shadow: 0 2px 3px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease-out;
}

.video:hover{
    transition: background-color 0.3s ease-out;
    transform: scale(1.05); /* Scale up by 25% */
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.6);
}

.video h4{
    font-style: italic;
}

#type{
    font-weight: bold;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    background-color: #f1f1f1; /* Optional background for wrapper */
    margin-bottom: 15px; /* Optional margin */
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove the border around the iframe */
}

.portfolio a{
    text-decoration: none;
    color:black;
}

.portfolio a:hover{
    color:#0D0D0D;
    font-weight: bolder;
    transition: color 0.2s ease-out;
}

.header{
    background-color: #262626;
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 3px rgba(0,0,0,0.4);
}

.headerContent{
    display: flex;
    flex-direction: row;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.headerContent h1{
    line-height: 1;
}

.headerContent h3{
    line-height: 1;
    margin-top:2rem;
}

.headerExtra{
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.socials{
    display: flex;
    gap: 15px;

}

.socials a{
    text-decoration: none;
    color: #F2F2F2;
}

.socials h3{
    margin-top: 2rem;
    line-height: 1;
}

#li:hover,#in:hover,#yt:hover{
    color: white;
    text-shadow: 0 0 5px #F2F2F2;
    transition: color 0.2s ease, text-shadow 0.2s ease-out;
}

@media (max-width: 1300px) {

    .container{
        max-width: 90%;
        top:170px;
    }
    .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .vfxReel{
        max-width: 100%;
        background-color: #262626;
        padding: 25px;
        border-radius: 1rem;
        box-shadow: 0 2px 3px rgba(0,0,0,0.4);
    }

    .colorReel{
        max-width: 100%;
        background-color: #262626;
        padding: 25px;
        border-radius: 1rem;
        box-shadow: 0 2px 3px rgba(0,0,0,0.4);
    }

    .portfolio{
        max-width: 100%;
    }
    
    .gallery{
        display: inline-grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

    .video{
        min-width: 340px;
    }

    .headerContent{
        flex-direction: column;
        align-items: center;
        gap:0px;
    }

    .headerTitle h1{
        margin-bottom:0px;
    }
    
    .headerExtra h3{
        margin-top:1rem;
    }
}

@media (max-width: 600px){
    .content{
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 250px;
    }
    /*
    .reels{
        top: 50px;
    }
    */
    .vfxReel, .colorReel{
        max-width: 100%;
        min-height: 300px;
        background-color: #262626;
        padding: 25px;
        border-radius: 1rem;
        box-shadow: 0 2px 3px rgba(0,0,0,0.4);
    }

    .gallery{
        display: inline-grid;
        grid-template-columns: repeat(1, .5fr);
        margin-right: 25px;
    }

    .video{
        min-width: 300px;
    }

    .header{
        padding-bottom: 10px;
    }

    .headerContent{
        display: flex;
        flex-direction: column;
    }
    .headerExtra{
        flex-direction: column;
        gap: 4px;
    }

    .socials{
        margin-left: 7px;
        margin-right: 7px;
        margin-top: 3px;
        font-size: smaller;
    }
    #description{
        margin-bottom: 0px;
    }

    .socials a{
        background-color: #F2F2F2;
        padding: 0px 7px;
        border-radius: .5rem;
        box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
        max-height: 50px;
    }

    .socials a:hover{
        background-color: lightgray;
    }
}

