:root{
    --color: #ebefee;
}

html, body {
    scrollbar-width: none;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color);
    scroll-behavior: smooth;
}

#header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    padding-right: 1%;
    width: 17.5%;
    height: 20%;
}

#Hline {
    top: 20%;
    border-top: 10px solid #190544;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    height: 1px;
    width: 98%;

}

button {
    cursor: pointer;
    font-size: large;
    background-color: #ffffffe3;
    border: solid 3px #190544;
    color: #190544;
    padding: 13px 23px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 16px;
    min-width: 140px;
    overflow: hidden;
}

#buttons{
    width: 550px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

button:hover {
    transition: 0.4s;
    background-color: #190544;
    color: white;
}

#paragraph {
    top: 100px;
    width: 50%;
}

#p {
    text-align: center;
    font-size: xx-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #190544;
    width: 50%;
    margin-left: 25%;
}

#p::first-letter {
    font-size: xxx-large;
}

/*------------------------------------slide show-------------------------------------*/

.carname{
    color: #190544;
    font-size: xx-large;
    position: relative;
    left: 25%;
    margin-top: 40px;
    margin-bottom: -2px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
/* Styling the area of the slides */
#slideshow {
    overflow: hidden;
    height: 512px;
    width: 728px;
    margin: 0 auto;
}

/* Style each of the sides 
with a fixed width and height */
.slide {
    float: left;
    height: 512px;
    width: 728px;
}

/* Add animation to the slides */
.slide-wrapper {

    /* Calculate the total width on the
    basis of number of slides */
    width: calc(728px * 4);

    /* Specify the animation with the
    duration and speed */
    animation: slide 20s ease infinite;
}

.slide-number{
    height: 512px;
    width: 728px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#Bcar1{
    background-image: url('https://i.ibb.co/tMXFrzQj/i-14.jpg');
}
#Bcar2{
    background-image: url('https://i.ibb.co/Kxhs3qDZ/i-11.jpg');
}
#Bcar3{
    background-image: url('https://i.ibb.co/F4fDYY2t/i-13.jpg');
}
#Bcar4{
    background-image: url('https://i.ibb.co/Xk434qz6/i-12.jpg');
}

#Ycar1{
    background-image: url('https://i.ibb.co/YTDN112Q/c1.png');
}
#Ycar2{
    background-image: url('https://i.ibb.co/qFX3P6LZ/c2.png');
}
#Ycar3{
    background-image: url('https://i.ibb.co/mCWv4VSt/c3.png');
}
#Ycar4{
    background-image: url('https://i.ibb.co/DD46sXMC/c4.png');
}

#Acar1{
    background-image: url('https://i.ibb.co/tg3bYqZ/a1.png');
}
#Acar2{
    background-image: url('https://i.ibb.co/W4fNPmS8/a2.png')
}
#Acar3{
    background-image: url('https://i.ibb.co/hxLS5HSP/a3.png')
}
#Acar4{
    background-image: url('https://i.ibb.co/kgCq6fTf/a4.png')
}
/* Define the animation 
for the slideshow */
@keyframes slide {

    /* Calculate the margin-left for 
    each of the slides */
    20% {
        margin-left: 0px;
    }

    40% {
        margin-left: calc(-728px * 1);
    }

    60% {
        margin-left: calc(-728px * 2);
    }

    80% {
        margin-left: calc(-728px * 3);
    }
}

/*-------------------------------------------------------------------------------*/

#iletisim {
    padding-left: 30%;
    width: 40%;
    height: 50px;
    display: table;
    align-items: center;
}
.tr {
    display: table-row;
}
.td {
    font-family: Arial, Helvetica, sans-serif;
    text-align: start;
    vertical-align: middle;
    display: table-cell;
    width: 150px;
}

.input, .textarea {
    border-color:#190544;
    border-width: 3px;
    font-size: x-large;
    border-radius: 10px;
}

.textarea{
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    margin: auto;
}

#a{
    color: black;
    text-decoration: none;
}

#a:hover{
    color:green;
}

.submit {
    display: flex;
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: x-large;
    background-color: #190544;
    color: white;
}

.submit:hover {
    cursor: pointer;
    transition: 0.4s;
    background-color: white;
    color: #190544;
}

.h2iletisim {
    font-size: larger;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    left: 30%;
}
