* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all .5s ease-in;
}

body {
    width: 100%;
    height: 100vh;
    user-select: none
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav {
    width: 65%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    gap:40px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: gray;
    font-size: 19px;
    padding: 10px 20px;
    background: #ccc;
    box-shadow: inset 0 0 15px #000;
    color: #333;
}
nav ul li a:hover {
    border-radius: 20px 0 20px 0;
}
.search_models {
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem;
}

.search_models i {
    font-size: 23px;
}

.search_models input {
    border: none;
    padding: 15px 30px;
    outline: none;
}

.search_models input::placeholder {
    font-size: 18px;
    transition: 1s;
    
}
.search_models input:hover::placeholder {
    letter-spacing: 5px;
}
.logo {
    width: 10%;
    height: 100%;
    background: url(img/logo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat
}

section {
    width: 100%;
    height: 600px;
    background: url(img/1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.content_section {
    width: 500px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:20px;
    position: absolute;
    inset:5%;
}

h1 {
    color: white;
    font-size: 40px;
}

.content_section p {
    color: white;
    font-size: 11px;
    padding-left: 3%;
}

.info {
    color: white;
    align-self: flex-start;
    padding-left: 3%;
}

.cont_btn {
    width: 300px;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-self: flex-start;
}

.left_b {
    padding: 15px 25px;
    background: white;
    border: none;
}

.right_b {
    padding: 15px 25px;
    background: transparent;
    border: 3px solid white;
    color: white;
    font-size: 9px;
}

.container_cars {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.content_cars {
    width: 370px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:1rem;
}

.content_cars img{
    width: 90%;
}

.content_cars h3 {
    color: gray;
}

.content_cars button {
    background: transparent;
    border: none;
    position: relative;
}

.content_cars button::after {
    content: '\2771';
    position: absolute;
    left: -15%;
    bottom: -10%;
    color: red;
}

.perform_sect {
    width: 100%;
    height: 600px;
    background: url(img/2.jpg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed
}

.content_perform {
    width: 400px;
    height: 300px;
    position: absolute;
    inset: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:1rem;
}

.h2_perform {
    color: white;
    font-size: 35px;
}

.content_perform p {
    color: white;
    font-size: 13px;
    padding-left: 3%;
}

.btn_perform {
    padding: 15px 20px;
    background: white;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    margin-left: 3%;
    position: relative;
}

.section_3 {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 60px;
    background: linear-gradient(45deg, #111, #fff, #111);
    animation: animBg 4s linear infinite;
}
.section_3 h2 {
    font-size: 60px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    text-shadow: 0 0 3px #888;
    letter-spacing: 3px;
    -webkit-box-reflect: below -5px linear-gradient(transparent, transparent, #000);
}
.section_3 .cont {
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
@keyframes animBg{
    0%,100% {
        background-size: 100%
    }
    50% {
        background-size: 110%
    }
}

.content_sect3 {
    width: 350px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.img1_s {
    background: url(img/8.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.ccontent_img1 {
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    animation: img1 10s linear infinite;
}

@keyframes img1 {
    0%,100% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    25% {
         background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    50% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    75% {
         background: url(img/10.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

    }
    
}

.img2_s {
    background: url(img/9.jpg);
    background-size: cover;
    background-position: center;
}

.ccontent_img2 {
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    animation: img2 10s linear infinite;
}

@keyframes img2 {
    0%,100% {
        background: url(img/8.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    25% {
        background: url(img/8.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    50% {
        background: url(img/8.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
    }
    75% {
        background: url(img/10.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

.img3_s {
    background: url(img/10.jpg);
    background-size: cover;
    background-position: center
}

.ccontent_img3 {
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    animation: img3 9.5s linear infinite;
}

@keyframes img3 {
    0%,100% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    20% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    40% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 100%, 0 100%, 0 100%, 0% 100%);
    }
    60% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
    }
    80% {
        background: url(img/9.jpg);
        background-size: cover;
        background-position: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

.img1_s::after {
    content: ' Audi Sport';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(img/4.webp);
    background-color: rgba(0,0,0,0.7);
    background-size: 100% 100%;
    background-position: center;
    color: white;
    font-size: 40px;
    text-align: center;
    transition: .5s ease-in;
    transform: scale(0);
    border-radius: 50%;
    padding-top: 3%
}

.img1_s:hover::after {
    transform: scale(1) rotate(360deg)
}

.img2_s::after {
    content: ' SILVERCAR';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(img/3.png);
    background-color: rgba(0,0,0,0.7);
    background-size: 100% 100%;
    background-position: center;
    color: white;
    font-size: 30px;
    text-align: center;
    transition: .5s ease-in;
    transform: scale(0);
    border-radius: 50%;
    padding-top: 4%
}

.img2_s:hover::after {
    transform: scale(1) rotate(360deg)
}

.img3_s::after {
    content: 'Audi Life';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(img/6.png);
    background-color: rgba(0,0,0,0.7);
    background-size: 100% 100%;
    background-position: center;
    color: white;
    font-size: 30px;
    text-align: center;
    transition: .5s ease-in;
    transform: scale(0);
    border-radius: 50%;
}

.img3_s:hover::after {
    transform: scale(1) rotate(360deg)
}

.anim_cube {
    width: 100%;
    height: 700px;
    perspective: 1500px;
    position: relative;
}

.left_cube {
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    transform-origin: left;
    transform: rotateY(100deg)
}

.anim_left {
    width: 400%;
    height: 100%;
    display: flex;
    animation: animLeft 8s ease infinite;
}

.anim_left img {
    width: 100%
}

@keyframes animLeft {
    0%,100% {
        transform: translateX(0)
    }
    25% {
        transform: translateX(-25%)
    }
    50% {
        transform: translateX(-50%)
    }
    75% {
        transform: translateX(-75%)
    }
}

.right_cube {
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    transform-origin: right;
    transform: rotateY(-100deg)
}

.anim_right {
    width: 400%;
    height: 100%;
    display: flex;
    animation: animRight 8s ease infinite;
}

.anim_right img {
    width: 100%;
    height: 100%;
}

@keyframes animRight {
    0%,100% {
        transform: translateX(0)
    }
    25% {
        transform: translateX(-25%)
    }
    50% {
        transform: translateX(-50%)
    }
    75% {
        transform: translateX(-75%)
    }
}

.top_cube {
    transform-style: preserve-3d;
    width: 100%;
    height: 120%;
    position: absolute;
    overflow: hidden;
    transform-origin: top;
    transform: rotateX(-82deg)
}

.anim_top {
    width: 100%;
    height: 400%;
    animation: animTop 8s ease infinite;
}

.anim_top img {
    width: 100%;
    height: 25%;
}

@keyframes animTop {
    0%,100% {
        transform: translateY(0)
    }
    25% {
        transform: translateY(-25%)
    }
    50% {
        transform: translateY(-50%)
    }
    75% {
        transform: translateY(-75%)
    }
}


.bottom_cube {
    transform-style: preserve-3d;
    width: 100%;
    height: 120%;
    position: absolute;
    bottom: 0;
    overflow: hidden;
    transform-origin: bottom;
    transform: rotateX(83.7deg)
}

.anim_bottom {
    width: 100%;
    height: 400%;
    animation: animBottom 8s ease infinite;
}

.anim_bottom img {
    width: 100%;
    height: 25%;
}

@keyframes animBottom {
    0%,100% {
        transform: translateY(0)
    }
    25% {
        transform: translateY(-25%)
    }
    50% {
        transform: translateY(-50%)
    }
    75% {
        transform: translateY(-75%)
    }
}

.back_cube {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #333, #fff, #333);
    display: flex;
    justify-content: center;
    align-items: center;
}

.h2_cube {
    font-size: 160px;
    color: rgba(0,0,0,0.2);
    background: url(img/fire.jpg);
    -webkit-background-clip:text;
    background-size: contain;
    animation: fire 13s linear infinite;
}

@keyframes fire {
    0% {
        background-position: left 0 top 0
    }
    50% {
        background-position: left 150px top -25px
    }
    100% {
        background-position: left 300px top 0
    }
}

.info_cars {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    column-gap: 2rem;
    background: silver;
}

.h2_info {
    font-size: 60px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    text-shadow: 0 0 3px #888;
    letter-spacing: 3px;
    -webkit-box-reflect: below -23px linear-gradient(transparent, transparent, #000);
}

.cont_info {
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.item_info {
    width: 23%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border: 3px solid gray;
    border-radius: 40px
}

.top_info {
    width: 100%;
    height: 15%;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(45deg,gray,silver,gray);
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
}

.icon_info {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: url(img/logoSalon.jpg);
    background-size: cover;
    background-position: center;
    animation: animLogo 8s linear infinite;
}

@keyframes animLogo {
    to {
        transform: rotate(360deg)
    }
}

.h2_icon {
    font-size: 25px;
    color: gray;
    text-shadow: 0 0 10px white;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: animH2icon 8s linear infinite;
}

@keyframes animH2icon {
    0%,100% {
            clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

.content_info {
    width: 100%;
    height: 85%;
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.content_info img {
    width: 90%;
    height: 40%;
    border-radius: 20px;
    margin: 2% auto;
}

.content_info p {
    font-size: 14px;
    color: gray;
    line-height: 30px;
    text-align: justify;
    padding: 0 20px;
}

.icon2 {
    background: url(img/logoEngine.jpg);
    background-size: cover;
    background-position: center
}

.icon3 {
    background: url(img/logoAppearance.jpg);
    background-size: cover;
    background-position: center
}

.icon4 {
    background: url(img/logoProfile.jpg);
    background-size: cover;
    background-position: center
}
footer {
    width: 100%;
    height: 100px;
    background: #d3d3d3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: cursive;
    font-size: 20px;
    letter-spacing: 3px;
    gap: 35px;
}
footer i {
    padding: 10px;
    background: #ccc;
    box-shadow: inset 0 0 5px grey;
    cursor: pointer;
}
footer i:hover {
    transform: rotate(-15deg) scale(1.2);
}
footer i:first-child {
    color: transparent;
    -webkit-text-stroke: 1.5px #000;
}






















