@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");

h1 {
    font-size: 3.5em;
    margin: 0 0 1em 0;
}

h3, p {
    color: black;
    line-height: 1.5em;
	margin: 0 0 1em 0;
}

h3 {
    font-size: 2em;
}

p {
    font-size: 1.4em;
}

ul {
    text-align: left;
    font-size: 1.5em;
}

.hero-container {
    height: 30vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    background-color: #6D8299;
    color: azure;
    text-align: center;
}

.my-container {
    padding: 20px 0 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    text-align: center;
}

.my-container p, h3 {
    max-width: 80%;
}

.light-cgi {
    background-color: #FF6464;
}

.dark-cgi {
    background-color: #F8C4B4;
}

.light-j {
    background-color: #F9F3DF;
}

.dark-j {
    background-color: #FFEBC9;
}

.light-s {
    background-color: #DFEEEA;
}

.dark-s {
    background-color: #f8fffd;
}

.image {
    max-height: 45vh;
    max-width: 100%;
}

.image-large {
    max-height: 50vh;
    max-width: 100%;
}

.title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-image {
    height: 60%;
    transform: rotate(25deg);
    margin-left: 20em;
}

.video {
    height: 55vh;
    width: 80vw;
}


/* Basic styling for the image carousel */
.carousel-container {
    flex-direction: column;
    position: relative;
    width: 50%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    text-align: center;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: auto;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

/* Styling for the image carousel buttons */
.carousel-container button {
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background-color: #45586c;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.carousel-container button:hover {
    background-color: #2a4766;
}



@media screen and (max-width: 980px) {

    h1 {
        font-size: 2.5em;
    }

    .image {
        max-height: 70vh;
        max-width: 90%;
    }

    .carousel-container {
        width: 90%;
    }

    .my-container p, h3 {
        max-width: 95%;
    }

}



@media screen and (max-width: 400px) {


    h1 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

   p {
        font-size: 1em;
    }

    .image {
        max-height: 70vh;
        max-width: 100%;
    }

    .carousel-container {
        width: 100%;
    }


   .btn {
       max-width: 80%;
       font-size: 1em;
   }

}

