html{
    overflow-x: hidden;
}


body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scale: .5;
    opacity: 0.05;
    background: rgba(0, 94, 255, 0.117);
    animation: scaling 1s linear forwards, 
    control 1s linear forwards 2s;
}

@keyframes control{
    to{
        opacity: 1;
    }
}

@keyframes scaling{
    to{
        scale: 1;
    }
}

.scroll-to-top{
    width: 50px;
    height: 50px;
    background: cornflowerblue;
    border-radius: 50%;
    position: fixed;
    right: 20;
    bottom: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.scroll-to-top i{
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.scroll-to-top.active{
    opacity: 1;
}

.loading-page{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    transition: opacity 1s ease-in 1s;
    animation: display linear 0.5s forwards 2.5s;
}

@keyframes display{
    to{
        display: none;
    }
}

.loading-page::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: black;
    left: 0;
    top: 0;
    transform: translateX(-50%);
    animation: translate2 linear 0.5s forwards 2s;
}

@keyframes translate2{
    to{
        transform: translateX(-100%);
    }
}

.loading-page::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: white;
    right: 0;
    top: 0;
    transform: translateX(50%);
    animation: translate linear 0.5s forwards 2s;
}

@keyframes translate {
    to{
        transform: translateX(100%);
    }
}

.loading-page .load-image{
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-page .load-image::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    border: 2px dashed white;
    animation: rotating-phone linear 0.5s infinite alternate,
                transform-this linear 0.5s forwards 2s;
}

.loading-page img{
    width: 30%;
    position: relative;
    z-index: 1;
    animation: rotating-phone linear 0.5s infinite alternate,
                transform-this linear 0.5s forwards 2s;
}


@keyframes rotating-phone{
    from{
        transform: rotate(45deg);
    }
    to{
        transform: rotate(-45deg);
    }
}

@keyframes transform-this{
    to{
        transform: translateY(600%);
    }
}

.loading-page::before{
    content: '';
    width: 100%;
}

.toggle-navbar{
    display: none;
}

.close-navbar{
    display: none;
}

.links{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    padding: 5px 20px;
    box-shadow: 1px 2px 5px;
    position: relative;
    z-index: 10;
    background: #0d6efd;
}

.links a{
    text-decoration: none;
    color: white;
}

.links .toggling{
    position: absolute;
    display: none;
    flex-direction: column;
    width: 20%;
}

.dropping-down.active .toggling{
    display: flex;
}

.links .dropping-down .drop a{
    text-decoration: none;
    color: white;
}

.links .dropping-down .toggling a{
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    color: white;
    margin-bottom: 20px;
    transform: rotateX(45deg);
    transition: all 0.5s ease-in-out;
}

.links .dropping-down .toggling a:hover{
    background: black;
}

.dropping-down.active .toggling a{
    animation: marginTransform 0.7s linear forwards;
}

@keyframes marginTransform{
    to{
        margin-bottom: 0px;
        transform: rotateX(0deg);
    }
}

.toggling p{
    background: blue;
    color: white;
    padding: 5px;
    opacity: 0;
}

.dropping-down.active .toggling p{
    animation: opacity 0.5s linear forwards;
}

@keyframes opacity{
    to{
        opacity: 1;
    }
}

.display{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: -1;
}

.display::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to top, white, transparent);
}

.phones{
    text-align: center;
    padding: 5px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.phones:hover{
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.1);
    scale: 1.01;
}

.phones img{
    width: 100%;
}

.carousel-images{
    max-height: 100%;
    min-height: 80%;
    background: black;
    position: relative;
    overflow: hidden;
}

.carousel-images .images{
    position: absolute;
    width: 50%;
    left: 20;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.showing.active{
    opacity: 1;
    animation: transforming-images linear 0.5s forwards;
}

.images.active{
    opacity: 1;
    animation: transforming-images linear 0.5s forwards;
}

@keyframes transforming-images{
    from{
        transform: translateY(50%);
    }
}

.carousel-images img{
    width: 80%;
}

.carousel-images .text{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.icons{
    position: absolute;
    left: 400;
    top: 50%;
}

.decorate{
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px dashed white;
}

.decorate:hover i{
    background: maroon;
}

.show.active{
    color: white;
}

.decorate.active i{
    color: white;
}

.decorate i{
    color: transparent;
    border: 1px solid white;
    border-radius: 50%;
}

.relative{
    position: relative;
    font-size: 12px;
    line-height: 15px;
}

.relatively1{
    position: relative;
}

.cad-text-top{
    position: relative;
    z-index: 4;
}

.cad-text{
    position: relative;
    z-index: 2;
}

.position{
    position: absolute;
    top: 0;
    background: white;
    width: 100%;
    height: 110%;
    padding: 20px;
    display: none;
    z-index: 1;
}

.position-top{
    position: absolute;
    top: 0;
    background: white;
    width: 100%;
    height: 110%;
    padding: 20px;
    display: none;
    z-index: 3;
}

.relatively1:hover .position, 
.relatively1:hover .position-top{
    display: block;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
}

.position>*, .position-top>*{
    position: absolute;
    width: 90%;
    bottom: 20;
    left: 50%;
    transform: translateX(-50%);
}

.position>*:hover{
    background-color: orange;
    outline: none;
}

.button {
    position: absolute;
    bottom: -40;
    width: 100%;
    background: white;
}

.whitespace{
    white-space: nowrap;
    position: relative;
}

.images-scroller {
    display: inline-block;
    position: relative;
    animation: controling linear 20s infinite;
}

.whitespace::before{
    content: '';
    width: 20%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, transparent, rgb(223, 235, 255), rgb(223, 235, 255));
    z-index: 1;
}

.whitespace::after{
    content: '';
    width: 20%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to left, transparent, rgb(223, 235, 255), rgb(223, 235, 255));
    z-index: 1;
}

.whitespace:hover .images-scroller{
    animation-play-state: paused;
}

@keyframes controling{
    to{
        transform: translateX(-100%);
    }
}

.images-scroller img{
    height: 50px;
    margin-inline: 20px;
    cursor: pointer;
    transition: scale 0.5s ease-in-out;
}

.images-scroller img:hover{
    scale: 1.1;
}

.changing{
    width: 300px;
    height: 300px;
    margin-block: 50px;
}

.changing-wrapper{
    width: 100%;
    height: 100%;
    background: red; 
    padding: 2;
    position: relative;
}

.changing-wrapper img{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.indicators{
    width: 100%;
    background: blue;
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 3px;
}

.indicator{
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.first{
    position: relative;
    z-index: 9;
}

.second{
    position: relative;
    z-index: 8;
}

.third{
    position: relative;
    z-index: 7;
}

.fourth{
    position: relative;
    z-index: 6;
}

@media (max-width: 700px) {
    .toggle-navbar{
        display: block;
        position: fixed;
        font-size: 20px;
        z-index: 1;
        background: black;
        color: white;
        padding: 5px;
        padding-left: 20px;
    }
    .close-navbar{
        display: block;
    }
    .links{
        flex-direction: column;
        position: fixed;
        top: 50;
        left: 0;
        width: 100%;
        padding-top: 50px;
        z-index: 15;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        transform: translateX(-90%);
        border-radius: 50%;
        overflow: hidden;
        transition: transform 0.5s ease-in-out, 
                    border-radius 0.5s ease-in-out 0.5s;
        animation: transforming 3s linear infinite alternate;
    }

    @keyframes transforming{
        to{
            scale: 1.1;
        }
    }

    .links.active{
        transform: translateX(0%);
        border-radius: 0;
        animation-play-state: paused;
        overflow: auto;
    }


    .links .close-navbar{
        position: absolute;
        right: 20;
        top: 20;
        font-size: 20px;
    }

    .links a{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-inline: 5px;
        gap: 10px;
        margin-block: 10px;
        background: rgba(0, 0, 0, 0.3);
    }

    .links .toggling{
        position: relative;
        background: black;
        width: 100%;
    }

    .links .dropping-down .toggling a{
        width: 100%;
    }
    
    .carousel-images .images{
        position: absolute;
        width: 70%;
        left: 20;
        top: 20%;
        transform: translateY(0);
        transition: opacity 0.5s ease-in-out;
    }
    .icons{
        position: absolute;
        left: 300;
        top: 50%;
    }
}

@media (max-width: 450px){
    .carousel-images .images{
        width: 100%;
        top: 40%;
    }
    
    .icons {
        top: 60%;
        left: 330;
    }
}