@font-face {
    font-family: "someflowers";
    src: url("https://intan.rizaltech.id/assets/font/someflowers.ttf");
}

@font-face {
    font-family: "autolova";
    src: url("https://intan.rizaltech.id/assets/font/autolova.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Hero */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("https://intan.rizaltech.id/assets/image/bg3.jpg");
    background-size: cover;
}

#hero h3 {
    font-family: "autolova";
    font-size: 100px;
    color: white;
}
/* End Hero */
/* About */
.about {
    height: 300vh;
    display: flex;
}

.about-title {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0!important;
}

.about-title h2 {
    font-size: 30px;
}

.about-pages {
    width : 50%;
}

.about-pages div {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
  
.about-pages div > h2 {
    font-size: 30px;
    line-height: 50px;
}
.about-pages div > p {
    width: 80%;
    font-size: 24px;
    line-height: 30px;
}
  
.about-pages div:nth-child(1) {
    background-color: yellow;
}
  
.about-pages div:nth-child(2) {
    background-color: lightgreen;
}
  
.about-pages div:nth-child(3) {
    background-color: cyan;
}
/* End About */
/* Gallery */
#gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250vh;
    background-image: url("https://intan.rizaltech.id/assets/image/9.jpg");
    background-size: cover;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
}

.container .card {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 10px;
    overflow: hidden;
}

.container .card .img-box,
.container .card .content-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container .card .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .card .content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
    transform-origin: right;
    transition-delay: 0.5s;
}

.container .card:hover .content-box::before {
    transform: scaleX(1);
    transition: transform 0.5s ease-in-out;
    transform-origin: left;
    transition-delay: 0s;
}

.container .card .content-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .card .content-box .content {
    position: relative;
    padding: 30px;
    z-index: 1;
    transition: 0.5s;
    transform: translateX(-300px);
    transition-delay: 0s;
}

.container .card:hover .content-box .content {
    transform: translateX(0px);
    transition-delay: 0.5s;
}

.container .card .content-box .content h3 {
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container .card .content-box .content p {
    font-size: 1em;
    line-height: 1.4em;
    font-weight: 300;
}
/* End Gallery */
/* Footer */
#footer {
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#footer h3 {
    font-family: "someflowers";
    font-size: 100px;
}
/* End Footer */