﻿
.img-fluid {
    height: 100%; 
    width: 100%;
    object-fit: cover;
}

.image-container {
    height: 350px;
    width: 100%; 
    overflow: hidden; 
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.0) 100%);
}

    .image-container img {
        /* width: 100%;
        height: auto;*/
        display: block;
        height: 100%; 
        width: auto; 
    }

.overlay {
    /*position: absolute;*/
    position: relative;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}

    .overlay h1 {
        margin: 0;
        font-weight: 700;
    }



@media (max-width: 766px) {
 
    .d {
        position: static;
    }
  

    .overlay {
        position: absolute;
        color: #fff;
        background: rgba(0, 0, 0, 0.4); 
        border-radius: 8px; 
    }
  

        .overlay h1 {
            font-size: 1.8em;
            padding: 5px;
        }
}
@media (min-width: 768px) and (max-width: 992px) {

    .overlay h1 {
        font-size: 1.5em;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .overlay h1 {
        font-size: 2em;
    }
}

@media (min-width: 1201px) {
    .overlay h1 {
        font-size: 2em;
    }

    .overlay p {
        font-size: 1em;
    }
}

/*kart body*/
.card {
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #ffffff;
    transition: border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.card-img {
    border-radius: 0.75rem 0 0 0.75rem;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.cardcontent {
    display: flex;
    align-items: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.acrd-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

#buton-kayit {
    display: flex;
    justify-content: center;
}

.card-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.border-primary {
    border-color: #007bff !important;
}

.card:hover {
    border-color: #00bcd9;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.accordion-button:not(.collapsed),
.accordion-button:focus {
    background-color: white;
    color: #333;
    box-shadow: 0 0 0 0.25rem rgb(47 52 6accordion-button::after / 14%);
}

/* Form açıklama */
#description {
    font-size: 24px;
}

/* Form wrapper */
.form-wrap {
    background: rgba(255, 255, 255, 1);
    padding: 50px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

    .form-wrap:before {
        content: "";
        width: 90%;
        height: calc(100% + 25px);
        left: 0;
        right: 0;
        margin: 0 auto;
        position: absolute;
        top: -10px;
        background: rgba(0, 188, 212, 0.4);
        z-index: -1;
        border-radius: 10px;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }

/* Form grup */
.form-group {
    margin-bottom: 25px;
}

    .form-group > label {
        display: block;
        color: #000;
    }

/* Form kontrol */
.form-control {
    height: 50px;
    background: #ecf0f4;
    border-color: transparent;
    padding: 0 15px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

    .form-control:focus {
        border-color: #00bcd9;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }

textarea.form-control {
    height: 160px;
    padding-top: 15px;
    resize: none;
}

/* Buton */
.btn {
    padding: .657rem .75rem;
    font-size: 18px;
    letter-spacing: 0.050em;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #00bcd9;
    border-color: #00bcd9;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus {
        color: #00bcd9;
        background-color: #ffffff;
        border-color: #00bcd9;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }

/* Başlık ve form alanı */
.header {
    margin-bottom: 50px;
    margin-top: 50px;
}

.container form {
    margin-top: 80px;
}

/**/
#course-details-end {
    display: flex;
    justify-content: end;
    align-items: end;
}

#ftr {
    display: flex;
    justify-content: center;
}
