/*
History of Cloud Service Providers
ITC Project

Date:   11/18/2025

Filename: home.css
*/

main > hr {
    margin: 50px 0;
}


#image-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
}

#image-nav ul li {
    position: relative;

    flex: 1 1 150px;
    overflow: hidden;
}

#image-nav ul li img {
    object-fit: cover; 
    width: 100%;
    aspect-ratio: 1/1;
    display: block;

    padding: 0;
    margin: 0;

    transition: transform 0.2s cubic-bezier(.25, .88, .26, .88);
}

#image-nav ul li span {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;

    left: 0;
    right: 0;
    bottom: 0;
    top: 80%;

    color: white;
    background-color: #0005;
    font-size: 1.1em;

    transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out;
}


#image-nav ul li:hover span {
    top: 60%;
    font-size: 1.4em;
}

#image-nav ul li:hover img {
    transform: scale(1.4) rotate(15deg);
    animation: menu-image-pulse 10s ease-in-out infinite;
}



#videosArticle {
    width: 100%;
}

#videosArticle h2 {
    text-align: center;
    margin-bottom: 50px;
}

#videosArticle .video-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

#videosArticle .card {
    text-align: center;
    flex: 1 1 350px;
    width: 150px;
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #0002;
}


#videosArticle p {
    margin: 0;
    padding: 10px;
    font-size: 1.2em;

    margin: 0 auto;
    margin-top: 15px;
    border-radius: 10px;
}

#videosArticle iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

#videosArticle a {
    color: #2e80eb;
    text-decoration: none;
}

#videosArticle a:visited {
    color: #672eeb;
}

#videosArticle a:hover {
    color: #06ac2a;
}


/* Animations */
@keyframes menu-image-pulse {
    0% {
        scale: 1;
    }
    50% {
        scale: 1.3;
    }
    100% {
        scale: 1;
    }
}



/* Media Queries */
/* Mobile Devices */
@media screen and (max-width: 480px) {
}

/* Tablet */
@media screen and (min-width: 481px) {
}

/* Desktop */
@media screen and (min-width: 769px) {
}