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

body {
    background-color: rgb(255, 255, 255);
}

.header {
    height: 73px;
    background-color: rgb(47, 0, 255);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}



.logo {
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 600;
    transition: 0.9s ease-in-out;

}

.logo span {
    background: linear-gradient(red, white, rgb(0, 0, 0), rgb(255, 0, 0), white);
    color: transparent;
    background-clip: text;
}
.container{
    display: inline-block;
}
.text{
    font-size: 2rem;
    letter-spacing: 2px;
    border-right: 2px solid;
    width: 570px;
    white-space: nowrap;
    overflow: hidden;
   animation: 
   typing 3s steps(18), 
   cursor .4s ;
   animation-delay: 3s;

}
@keyframes cursor{
   
    50%{
        border-color:transparent ;
    }
}
@keyframes typing{
    from{
        width: 0;
    }
}
#footer{
    width: 85%;
    height: 100vh;
    margin: auto;
}
.head-team{
    display: flex;
    justify-content: center;
    align-items: center;
}

.my_team{
    width: 350px;
    height: 450px;
    background-color: rgb(0, 0, 0);
    margin: 25px 25px 0
     25px;
    border-radius: 10px;
}
.my_team img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgb(0, 0, 0);
    object-fit: cover;
}

.navbar {
    margin: 0 100px 0 0;
}

.navbar a {
    font-size: 20px;
    color: #fcfcfc;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.4s;
    padding: 3px 12px;
    background-color: blue;
    border-radius: 5px;
    border: 1px solid blue;
    position: relative;
}

 .navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: rgb(255, 255, 255);
    left: 0;
    bottom: -5px;
    border-radius: 10px;
    transition: 0.4s ;
}
 .navbar a:hover::after{
    width: 100%;
 }
.social-media #-a {
    background-color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px 0px 0px 10px;

}

.social-media #serch {
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 14px;
    color: rgb(62, 9, 255);
    background-color: rgb(0, 0, 0);
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    border-radius: 0px 10px 10px 0px;

}



/* .social-media{
    width: 150px;
    height: 40px;
    display: flex;
    justify-content:space-between;

}
.social-media a{
    display: inline-flex;
    width: 30px;
    justify-content: center;
    align-items: center;
    height: 30px;
    border: 2px solid transparent;
    text-decoration: none;
    transform:rotate(45deg);
    transition: 0.5s; ;
}
.social-media a:hover{
    border-color: rgb(255, 255, 255);
}

.social-media a i{
    font-size: 24px;
    color: rgb(255, 255, 255);
    transform: rotate(-45deg);
} */

button a {
    text-decoration: none;
    font-size: 15px;
    font-family: sans-serif;
    color: #000000;
}

button {
    opacity: 60%;
    border: 2px solid rgb(40, 40, 41);
    padding: 8px 20px;
    border-radius: 10px;


}

.home {

    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 8% 0;
    justify-content: space-between;
    overflow: hidden;
}

.home-content {
    max-width: 630px;
    animation: text 3s ease-in-out;
}

@keyframes text {
    0% {
        opacity: 0.4;
        transform: translate(-1000px);
    }

    100% {
        transform: translate(0px);
        opacity: 0.7;

    }
}

.home-content h1 {
    font-size: 50px;
    line-height: 1.2;


}

.home-content h3 {
    font-size: 45px;
    color: blue;
}

.home-content p {
    font-size: 20px;
    margin: 15px 0 30px;
}

#see {
    border-radius: 30px;
    padding: 15px 20px;
    font-size: 1pc;
    color: white;
    border: none;
    background: linear-gradient(to left, red 50%, rgb(0, 0, 255) 50%);
    background-position: left;
    transition: 0.5s ease-in-out;
    background-size: 200% 100%;
    box-shadow: 0px 0px 30px rgb(0, 0, 255);
}

#see:hover {
    background-position: right;
    box-shadow: 2px 2px 20px rgb(255, 0, 0);
}

.home-img {
    position: relative;
    width: 450px;
    height: 450px;
    transform: rotate(45deg);
    right: -70px;


}



.home-img .rhombus {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border: 25px solid rgb(63, 63, 68);
    box-shadow: -15px 15px 15px rgb(0, 0, 0);

}

.scoll {
    color: rgb(255, 243, 243);
    font-size: 35px;
    background-color: black;
    border: 5px solid rgb(48, 48, 51);


}

.home-img .rhombus img {
    position: absolute;
    max-width: 750px;
    transform: rotate(-45deg);
    top: 110px;
    left: -250px;
}

.rhombus2 {
    top: -25%;
    right: -25px;
    position: absolute;
    width: 500px;
    height: 600px;
    background: blue;
    transform: rotate(45deg);
    z-index: -1;
}

.headcar-car {
    margin: 50px auto;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 90%;
}

.main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.car {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 400px;
}

.car:hover {
    transform: translateY(-5px);


}

.bigimg {
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

h2 {
    font-size: 22px;
    color: black;
    margin: 10px 0;
}

h3 {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}





.h1 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.h1 a {
    text-decoration: none;
    color: red;
}

.header-block {
    margin-bottom: 100px;
}

.tocha {
    display: block;

}

.toch {
    display: flex;
    justify-content: right;
    margin-right: 130px;
}

.toch .a {
    background-color: red;
    width: 330px;
    height: 200px;
    border: 10px solid rgb(255, 255, 255);

}

.toch .b {
    background-color: red;
    width: 330px;
    height: 200px;
    border: 10px solid rgb(255, 255, 255);

}

.head-c {
    display: flex;
    justify-content: right;
    margin-right: 130px;
}

.c {
    width: 660px;
    height: 270px;
    border: 10px solid rgb(255, 255, 255);
}

.head-d {

    width: 40%;
    margin-top: -470px;
    margin-left: 122px;
    border: 10px solid rgb(255, 255, 255);

}

.head-d .d img {
    height: 470px;
}

.get {
    margin-top: 20px;
    font-size: 20px;

}

.headruler {
    background-color: rgb(8, 8, 38);
    width: 100%;
    height: 400px;

}

.ruler {
    justify-content: space-between;
    display: flex;
    font-size: 20px;
}

.ler {
    color: #ffffff;
    margin: 20px 50px 10px 60px;
}

.ww {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.w {
    color: rgb(90, 90, 90);
    margin: 0 20px 10px 60px;
}

.www {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.e {
    color: #5a5959;
    margin: 0 60px;
}


.car2 {
    display: flex;
    margin-left: 150px;
    margin-bottom: 40px;
    margin-top:-150px;
}

.car3 {
    overflow: hidden;
    margin-right: 20px;
    border-radius: 10px;
}

.car3 .img-a {
    background-color: red;
    height: 300px;
    width: 570px;
    background-image: url(https://cdn.pixabay.com/photo/2020/12/28/05/54/car-5865989_1280.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    transition: 0.6s ease-in-out;
    filter: grayscale(100%);

}

.car3 .img-a:hover {
    transform: scale(1.1);
    filter: grayscale(0%);

}

.car3 a {
    text-decoration: none;
}

.car3 .img-a {
    padding: 200px 10px 0 0;

}

.car3 .img-a p {
    color: rgb(250, 250, 250);
    font-size: 17px;
    margin-bottom: -2px;
    padding-left: 10px;
    font-family: khmer;

}

.car3 .img-a h3 {
    color: rgb(255, 255, 255);
    margin: 5px 0 5px 0;
    padding-left: 10px;
    font-size: 20px;

}

.car4 {
    overflow: hidden;
    margin-right: 20px;
    border-radius: 10px;
}

.car4 .img-a {
    background-image: url(https://cdn.pixabay.com/photo/2020/01/26/18/52/porsche-4795517_1280.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 570px;
    height: 300px;
    border-radius: 10px;
    transition: transform 0.6s ease-in-out;
    filter: grayscale(100%);

}

.car4 .img-a:hover {
    transform: scale(1.1);
    filter: grayscale(0%);

}


/*  */
.car4 a {
    text-decoration: none;
}

.car4 .img-a p {
    color: rgb(250, 250, 250);
    font-size: 17px;
    margin-bottom: -2px;
    padding-left: 10px;
    font-family: khmer;

}

.car4 .img-a h3 {
    color: rgb(255, 255, 255);
    margin: 5px 0 5px 0;
    padding-left: 10px;
    font-size: 20px;

}

.car4 .img-a {
    padding: 230px 10px 0 0;

}

.let-s {
    display: flex;
    justify-content: center;
    margin: 60px 0 20px 0;

}

.logo-car {
    display: flex;
    justify-content: center;
    padding: 20px 0 70px 0;

}

.logo-carbmw {
    background-color: rgb(255, 255, 255);
    width: 200px;
    height: 150px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;

}

.toyota img {
    padding: 10px;
    margin-left: 20px;
    width: 150px;
    height: 150px;
}

.logo-carbmw {
    background-color: rgb(255, 255, 255);
    width: 200px;
    height: 150px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    border-radius: 15px;

}



.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.people {
    background-color: rgb(2, 2, 62);
    width: 100%;
    height: 600px;
    margin-bottom: 80px;
    margin-top: 30px;

}

.people {
    font-size: 25px;

}

.people h1 {
    display: flex;
    justify-content: center;
    color: rgb(255, 255, 255);
    margin-bottom: 40px;
    padding-top: 30px;
}

.head-people {
    display: flex;
    justify-content: center;
}

.head-new {
    width: 300px;
    height: 350px;
    background-color: white;
    border-radius: 15px;
}

.head-new h2 {
    display: flex;
    justify-content: center;
}

.head-new a {
    text-decoration: none;
}

.head-new p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    color: black;
}

.new-car {
    margin: 20px;
}

.stop a i {
    color: white;
    padding: 20px;
    margin-left: 20px;
}

.stop {

    margin: 20px;
    font-size: 20px;
}

.stop .pp {
    display: flex;
    justify-items: center;
}

.headruler p {
    color: rgb(107, 104, 104);
    font-size: 16px;
    text-align: center;
}