* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', sans-serif;
}

a{text-decoration: none;}

.container{
    display: flex;
}

.imageBox{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    height: 100vh;
    position: relative;
}

.imageBox img{
    width: 100%;
    height: 100vh;
    display: block;
}

.bg-black{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: black;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.captionContainer{
    position: absolute;
    bottom: 100px;
    color: white;
    margin-left: 60px;
}

.captionHeader{
    font-size: 25px;
}

.seperator-line{
    height: 1px;
    width: 32px;
    background-color: white;
    opacity: .5;
    margin-top: 35px;
    transition: all 0.3s ease 0s;
}

.subCaption{
    text-align: left;
    position: relative;
}

.captionContainer h3 {
    margin-bottom: -25px;
    transition: all 0.3s ease 0s;
    width: 100%;
}

.captionContainer p {
    opacity: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
}

.imageBox:hover .captionContainer h3 {
    margin-bottom: 25px;
}

.imageBox:hover .captionContainer p {
    opacity: 0.5;
}

.imageBox:hover .captionContainer .seperator-line {
    width: 64px;
}

.imageBox:hover .bg-black{
    opacity: 0.5;
}

@media screen and (max-width: 992px) {
    .container{
        display: flex;
        flex-direction: column;
    }

    .imageBox{
        flex: 0 0 100%;
        max-width: 100%;
        height: 100vh;
        position: relative;
    }

    .imageBox img{
        height: calc(100vh / 3);
    }

    .imageBox:hover .captionContainer h3 {
        margin: 0;
    }

    .captionContainer h3 {
        margin: 0;
    }

    .captionContainer p {opacity: 0.5;}

    .seperator-line{margin-top: 30px;}

    .captionContainer{
        bottom: 2rem;
        right: 15px;
        margin: 0;
        width: 140px;
    }

    .captionHeader{font-size: 18px; width: max-content;}

    .bg-black{opacity: 0.25}

    .imageBox:hover .captionContainer h3 {margin: 0;}
    
    .captionText{font-size: 12px; margin-bottom: -25px;}

    .kurumsal img{content: url('../img/dr-light.jpeg');}

    .eTicaret img{content: url('../img/e-ticaret.jpeg');}
    
    .collect img{content: url('../img/collect.jpeg');}
  }