@font-face {
    font-family: h1;
    src: url(Summer\ PERSONAL\ USE\ ONLY!.ttf);
}
@font-face {
    font-family: h2;
    src: url(Sunflower.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #0d0d0c;
}

#hero {
    height: 234px;
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1 {
    font-family: h1;
    font-size: 150px;
    color: transparent;
    background-image: url(https://media.tenor.com/USMH8orr21kAAAAM/sun-solar-system.gif);
    background-size: cover;
    background-position: right;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0px 0px 30px rgb(185, 55, 4);
}

#hero h2 {
    font-family: h2;
    font-size: 130px;
    color: transparent;
    letter-spacing: 5px;
    -webkit-text-stroke: 2px #FF5F1F;
}

#gallery-container {
    height: 432px;
    width: 100%;
    padding: 10px 0px;
}

#image-parent {
    height: 100%;
    width: 100%;
    display: flex;
    gap: 20px;
    padding: 10px 30px 20px; 
    overflow-x: auto;
    overflow-y: hidden;
}

#image-parent::-webkit-scrollbar {
    background-color: #222;
    height: 10px;
}

#image-parent::-webkit-scrollbar-thumb {
    background-color: #FF5F1F;
    padding: 0px 10px;
    border-radius: 10px;
}

.child {
    height: 362px; 
    width: 350px;
    flex-shrink: 0;
    border: 5px solid white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.4s ease;
    position: relative;
}
.child img {
    height: 362px;
    width: 350px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 350px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.child:hover .caption {
    opacity: 1;
}
.child:hover {
    transform: scale(1.05);
}
