

html {
  font-size: 14px;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

 html body {
        margin-top: 120px;
        margin-bottom: 50px;
    }


.hero-container {
    position: relative;
    height: 75vh;
    display: flex;
    margin-top:150px;
    align-items: center;
    justify-content: center;
    background-size: cover; /* Arkaplanın ekran boyutlarına uyum sağlaması için */
    background-position: center; /* Arkaplanın ortalanması için */
    background-color: rgba(0, 0, 0, 0.5); /* Resmin üzerinde hafif bir karartma efekti */
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    color: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .contact-container h1 {
        text-align: center;
        margin-bottom: 30px;
        color: #343a40;
    }

.contact-info {
    list-style-type: none;
    padding: 0;
}

    .contact-info li {
        margin-bottom: 15px;
        font-size: 1.2rem;
        color: #495057;
    }

        .contact-info li i {
            margin-right: 10px;
            color: #007bff;
            font-size: 1.5rem;
        }

.map-container {
    margin-top: 30px;
    border: 2px solid #007bff;
    border-radius: 10px;
    overflow: hidden;
}

footer a {
    text-decoration: none;
}
header a {
    text-decoration: none;
}


/* Varsayılan (Desktop) */
.contact-info-left {
    text-align: left;
}
.contact-info-right {
    text-align: right;
}


.carousel-caption {
    position: absolute;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.navbar-nav {
    font-size: 0.9rem;
}








/* Mobil cihazlar için */
@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    .contact-info-left {
        text-align: center;
    }

    .contact-info-right {
        text-align: center;
    }

    html body {
        margin-top: 180px;
        margin-bottom: 50px;
    }

    .lead {
        font-size: 14px;
    }

    .display-6 {
        font-size: 16px;
    }

    .ostim-logo {
        width: 40%;
    }

    .left-img {
        background-size: cover;
        background-position: center;
        height: 25vh;
        color: white;
    }
}





<!-- Additional CSS for responsiveness -->
<style >
@media (max-width: 576px) { /* Extra small devices (portrait phones, less than 576px) */
    .hero-container

{
    height: 50vh;
}

.hero-content h2 {
    font-size: 1.5rem;
}

.hero-content p {
    font-size: 0.9rem;
}

.btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

}

@media (max-width: 768px) { /* Small devices (landscape phones, less than 768px) */
    .hero-container {
        height: 50vh;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 992px) { /* Medium devices (tablets, 768px and up) */
    .hero-container {
        height: 50vh;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.0rem;
    }

    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
}

@media (min-width: 992px) { /* Large devices (desktops, 992px and up) */
    .hero-container {
        height: 75vh;
    }

    .hero-content h2 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .btn {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}
