* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.section {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section1 {
    background-image: url('../images/image3.jpg');
}

.section2 {
    background-image: url('../images/image1.jpg');
}

.section3 {
    background-image: url('../images/image2.jpg');
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Karanlık opaklık */
	background-image:url("../images/pattern2.png");
    z-index: 1;
    transition: all ease-in 0.5s;
}

.text {
    color: white;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: #00000078;
    padding: 10px;
}

.text a
{

    color:white;
    text-decoration: none;
    transition: all ease-in 0.5s;

}

.text a:hover
{

    color:red;

}

.section:hover {
    flex: 3;
    
}

.section:hover::before
{
    background-color: rgba(0, 0, 0, 0.2); /* Karanlık opaklık */
}

.section:not(:hover) {
    flex: 1;
}

.splitlogo
{
    position: absolute;
    z-index: 9999;
    left:50%;
}

.splitlogo img
{

    width: 200px;
    transform: translateX(-100px);
    padding-top: 20px;

}

/* Mobil uyum */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .splitlogo
    {
        position: absolute;
        z-index: 9999;
        left:50%;
    }
    .splitlogo img
    {width:100px;transform: translateX(-50px);padding-top:10px;}

    .text {
        font-size: 1em;
    }
}
