/* start global varibles */
:root {
    --main-color: #1c1c1c;
    --second-color: #deb531;
    --section-background: #f0f0f5;
}

/* end global varibles */

/* start of global rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* direction: rtl; */
}

@font-face {
    font-family: myfirstfont;
    src: url(../images/DINNextLTArabic-Regular-2.ttf);
}

p,
h1,
h2,
h3 {
    direction: ltr;
}

h3 {
    font-size: 32px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: myfirstfont, Arial, Helvetica, sans-serif;
    /* background-image: url(../assets/tile_background2.png);
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed; */
    min-height: calc(100vh - 72px);
    position: relative;
    direction: ltr;
}

ul {
    list-style: none;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

/* small screen */
@media (min-width: 768px) {
    .container {
        /* width: 748px; */
        width: calc(100vw - 160px);
    }
}

/* medium screen */
@media (min-width: 992px) {
    .container {
        /* width: 972px; */
        width: calc(100vw - 160px);
    }
}

/* big screen */
@media (min-width: 1200px) {
    .container {
        width: 1180px;
        /* width: calc(100vw - 160px); */
    }
}

/* start component */

.intro-text {
    display: flex;
    align-items: center;
    flex-direction: row;
}

@media (min-width: 1200px) {
    .intro-text {
        width: 1200px;
        margin-right: auto;
        margin-left: auto;
    }
}

.special-text {
    font-size: 36px;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 40px;
    margin: 25px 0px;
}

.special-text + div {
    width: 100%;
    height: 4px;
    border-radius: 20px;
    background-color: gray;
    margin-top: 20px;
}

/* end component */

/* start header */
header {
    background-color: var(--section-background);
}

header .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

header .container nav .menu-icon {
    color: var(--main-color);
    font-size: 25px;
    padding: 0px 10px;
}

@media (min-width: 992px) {
    header .container .menu-icon {
        display: none;
    }
}

header .container nav .logo img {
    height: 72px;
    padding: 10px 0px;
}

@media (max-width: 786px) {
    header .container nav .logo img {
        height: 50px;
    }
}

header .container nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* margin-right: 60px; */
    justify-content: space-between;
    flex: 1;
}

header .container nav .links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-left: 70px;
    align-items: center;
}

@media (max-width: 992px) {
    header .container nav .links {
        display: none;
    }
}

header .container .links ul li {
    /* padding: 30px; */
    /* ## */
    background-color: var(--section-background);
    height: 38px;
    border-radius: 20px;
    margin: 0px 10px;
    color: var(--main-color);
    display: flex;
}

header .container nav .links .menu-line .x-icon {
    font-size: 30px;
}

header .container nav .links .menu-line img {
    width: 80px;
}

header .container nav .links .line {
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
    margin: 15px 0px;
}

header .container nav .links .social {
    display: flex;
    align-items: center;
    height: 100%;
    background-color: var(--main-color);
    justify-content: center;
}

header .container nav .links .social i {
    padding: 20px;
    font-size: 30px;
    color: white;
    align-items: center;
}

header .container ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
}

header .container ul a {
    padding: 5px 17px;
    text-decoration: none;
    color: var(--main-color);
    /* margin: 0px 18px; */
    transition: 0.3s;
    word-break: keep-all;
}

header .container ul li.active a {
    color: white;
    /* margin: 0px 18px; */
}

/* header .container ul li.active:hover {
    color: var(--second-color);
} */

header .container .links ul li.active {
    border-radius: 20px;
    background-color: var(--main-color);
    color: #f0f0f5;
}

header .container .links ul a:hover {
    color: var(--second-color);
}

header .container .links ul li.active a:hover {
    color: var(--second-color);
}

header .container nav .lang {
    display: flex;
    flex-direction: row-reverse;
    font-weight: bold;
    height: 30px;
    align-items: center;
}

@media (max-width: 992px) {
    header .container nav .lang {
        display: none;
    }

    header .container .menu-icon:hover + .links {
        width: 40%;
    }
}

@media (min-width: 992px) {
    header .container nav .line,
    header .container nav .social,
    header .container nav .menu-line {
        display: none !important;
    }
}

header .container nav .lang .ar {
    border-radius: 5px 0px 0px 5px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    color: #F0F0F5;
    /*transition: 0.5s;
    */text-decoration: none;
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -ms-border-radius: 5px 0px 0px 5px;
    -o-border-radius: 5px 0px 0px 5px;
}

header .container nav .lang .en {
    border-radius: 0px 5px 5px 0px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    color: #F0F0F5;
    text-decoration: none;
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -ms-border-radius: 0px 5px 5px 0px;
    -o-border-radius: 0px 5px 5px 0px;
}

header .container nav .lang .active {
    background-color: var(--main-color);
}

header .container nav .menuu {
    display: none;
}

header .container nav .menuu.show {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: var(--section-background);
    width: 35%;
    top: 0px;
    left: 0px;
    z-index: 5;
    height: 100vh;
}

@media (max-width: 550px) {
    header .container nav .menuu.show {
        width: 70%;
    }
}

header .container nav .menuu .first-line {
    display: flex;
    padding: 15px;
    justify-content: space-between;
}

header .container nav .menuu .first-line i {
    font-size: 26px;
}

header .container nav .menuu .first-line img {
    width: 56px;
}

header .container nav .menuu .lang-line {
    display: flex;
    flex-direction: column;
}


header .container nav .menuu .lang-line .langs {
    display: flex;
    flex-direction: row;
    padding: 0px 15px;
    align-self: flex-end;
    text-decoration: none;

}

header .container nav .menuu .lang-line .ar {
    border-radius: 0px 5px 5px 0px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    text-decoration: none;
    color: var(--main-color);
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -ms-border-radius: 0px 5px 5px 0px;
    -o-border-radius: 0px 5px 5px 0px;
}

header .container nav .menuu .lang-line .ar.active {
    background-color: var(--main-color);
    color: #F0F0F5;

}

header .container nav .menuu .lang-line .en {
    border-radius: 5px 0px 0px 5px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    text-decoration: none;
    color: var(--main-color);
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -ms-border-radius: 5px 0px 0px 5px;
    -o-border-radius: 5px 0px 0px 5px;
}

header .container nav .menuu ul {
    flex-direction: column;
    flex-grow: 2;
    justify-content: space-evenly;
}

header .container nav .menuu li div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* background-color: var(--main-color); */
    border-radius: 30px;
    padding: 5px;
    padding-left: 10px;
    width: 150px;
}

header .container nav .menuu li div.active {
    background-color: var(--main-color);
    /* color: white; */
}

header .container nav .menuu li div.active a {
    color: white;
}

header .container nav .menuu .line {
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
    margin: 15px 0px;
}

header .container nav .menuu .social-line {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px;
    height: 120px;
    background-color: var(--main-color);
    color: white;
}

header .container nav .menuu .social-line i {
    font-size: 28px;
}

header .container nav .black {
    display: none;
}

header .container nav .black.show {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: rgb(0 0 0 / 65%);
    width: 30%;
    top: 0px;
    right: 0px;
    z-index: 3;
    height: 100vh;
}

/* end header */

/* start main */

.main {
    background-image: url(../assets/tile_background2.png);
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
}

.main .container {
    display: flex;
    align-items: center;
    column-gap: 100px;
    position: relative;
    padding: 30px 0px;
    margin-bottom: 30px;
}

.main .container model-viewer {
    width: 600px;
    height: 500px;
}

@media (max-width: 1199px) {
    .main .container {
        /* padding-bottom: 30px; */
    }

    .main .container model-viewer {
        width: 350px;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .main .container {
        flex-direction: column;
        /* padding-bottom: 70px; */
    }

    .main .container model-viewer {
        width: 350px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .main .container {
        padding-left: 10px;
        padding-right: 10px;
        /* padding-bottom: 30px; */
        text-align: center;
    }
}

@media (max-width: 400px) {
    .main .container model-viewer {
        width: 90vw;
        height: calc(90vw * 0.7);
    }
}

.main .container .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 24px;
}

@media (max-width: 768px) {
    .main .container .text {
        align-items: center;
        text-align: center;
    }
}

.main .container .text img {
    width: 320px;
}

@media (max-width: 768px) {
    .main .container .text img {
        width: 80%;
    }
}

.main .container .text h1 {
    margin: 0px;
}

.main .container .text p {
    padding-bottom: 40px;
    padding-top: 10px;
}

.main .container .text span {
    color: var(--second-color);
}

.main .container .text .buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.main .container .text .buttons a {
    margin-left: 20px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main .container .text .buttons {
        flex-direction: column;
    }

    .main .container .text .buttons a {
        flex: 1;
        margin-bottom: 15px;
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .main .container .text .buttons a {
        flex: 1;
    }
}

.main .container .text .buttons :first-child {
    background-color: var(--second-color);
    border-radius: 15px;
    border: 3px solid var(--second-color);
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    transition: 0.5s;
    color: var(--main-color);
    text-align: center;
}

.main .container .text .buttons :first-child:hover {
    background-color: white;
}

.main .container .text .buttons :last-child {
    background-color: var(--main-color);
    border-radius: 15px;
    border: 3px solid var(--main-color);
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    transition: 0.5s;
    color: white;
    text-align: center;
}

.main .container .text .buttons :last-child:hover {
    background-color: white;
    color: var(--main-color);
}

.main .container .scroll {
    position: absolute;
    bottom: 0px;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main .container .scroll .body {
    height: 60px;
    width: 27px;
    background-color: grey;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

.main .container .scroll .body .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    transition: 0.7s;
}

.main .container .scroll:hover .circle {
    top: 36px;
    background-color: var(--second-color);
}

.main .container .scroll:hover .body {
    background-color: var(--main-color);
}

.main .container .scroll .arrows {
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.main .container .scroll:hover .arrows {
    visibility: visible;
}

@media (max-width: 768px) {
    .main .container .scroll .body {
        display: none;
    }

    .main .container .scroll .arrows {
        visibility: visible;
        animation-name: show-and-disapear;
        animation-duration: 0.8s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }
}

@keyframes show-and-disapear {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* end main */

/* start statics */

.statics {
    width: 100%;
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}

.statics .container {
    display: flex;
    height: 300px;

    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    color: #c1c1c1;
}

@media (max-width: 768px) {
    .statics .container {
        flex-direction: column;
        height: 500px;
    }
}

@media (max-width: 400px) {
    .statics .container {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .statics .container {
        width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }
}

.statics .box {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.statics .box h2 {
    font-size: 64px;
    padding: 10px 0px;
    color: white;
}

@media (max-width: 768px) {
    .statics .box h2 {
        font-size: 45px;
    }
}

@media (max-width: 500px) {
    .statics .box h2 {
        font-size: 36px;
    }
}

.statics .container .line {
    display: none;
}

@media (max-width: 768px) {
    .statics .container .line {
        display: block;
        width: 220px;
        height: 2px;
        background-color: rgb(61, 61, 61);
    }
}

.statics .box:nth-child(3) div {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
}

.statics .box:nth-child(3) h2,
.statics .box:nth-child(3) p {
    color: var(--second-color);
}

.statics .box p {
    font-size: 32px;
}

@media (max-width: 768px) {
    .statics .box p {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .statics .box p {
        font-size: 24px;
    }
}

.statics img {
    position: absolute;
    left: 0;
    top: -210px;
}

.statics .container > img:nth-last-child(1) {
    position: absolute;
    bottom: 0px;
    right: -5px;
    top: unset;
    left: unset;
}

@media (max-width: 450px) {
    .statics img {
        left: -26px;
        top: -67px;
        width: 120px;
        width: 100px;
    }

    .statics .container > img:nth-last-child(1) {
        position: absolute;
        bottom: 0px;
        right: -5px;
        top: unset;
        left: unset;
        width: 100px;
    }
}

/* end statics */

/* start about */
.about .container {
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 40px;
    padding: 30px 0px;
}

.about .container .text {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.about .container .text div:first-child {
    display: flex;
    position: relative;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.about .container .text div:first-child p {
    font-size: 32px;
    /* padding-right: 25px; */
    padding-left: 25px;
}

.about .container .text a {
    direction: rtl;
    margin-top: 80px;
    width: fit-content;
    background-color: var(--main-color);
    border-radius: 15px;
    border: 3px solid var(--main-color);
    font-size: 20px;
    padding: 10px;
    transition: 0.5s;
    color: white;
    text-decoration: none;
}

.about .container .text a:hover {
    background-color: white;
    color: var(--main-color);
}

@media (max-width: 1199px) {
    .about .container img {
        width: 400px;
        transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
        -o-transform: scaleX(-1);
    }

    .about .container .text div:first-child p {
        font-size: 28px;
    }

    .about .container .text div:first-child img {
        width: 50px;
    }
}

@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
    }

    .about .container img {
        width: 500px;
    }

    .about .container .text div:first-child p {
        font-size: 24px;
    }

    .about .container .text div:first-child img {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .about .container img {
        width: 300px;
    }

    .about .container .text {
        padding: 0px 20px;
    }
}
.about .container .text img {
    transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
}

@media (max-width: 400px) {
    .about .container img {
        width: 100%;
    }
}

/* end about */

/* start products */

.products .container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.products .container .products-box {
    display: flex;
    /* column-gap: 80px; */
    flex-direction: row;
    margin-bottom: 70px;
    justify-content: space-around;
}

.products .container .products-box .product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}

.products .container .products-box .product h2 {
    padding: 20px 0px;
    margin-bottom: 35px;
}

.products .container .products-box .product .image {
    width: 200px;
    height: 200px;
    /* background-color: var(--main-color); */
    border: 2px dashed var(--second-color);
    /* border-radius: 50%; */
    /* rotate: 45deg; */
    transform: rotate(45deg);
    position: relative;
}

.products .container .products-box .product .image::before {
    content: "";
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    border: 1px solid var(--main-color);
}

.products .container .products-box .product .image::after {
    content: "";
    position: absolute;
    width: calc(100% + 11px);
    height: calc(100% + 11px);
    margin: -6px;
    border: 1px solid var(--main-color);
    z-index: -1;
}

/* .products .container .products-box .product .image {
    width: 300px;
    height: 300px;
    background-color: var(--main-color);
    border-radius: 50%;
    position: relative;
} */

.products .container .products-box .product .image img {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transition: 0.3s;
    rotate: unset;
    width: 250px;
}

.products .products-box .product:first-child img {
    margin-top: 60px;
    transform: rotate(-45deg) translate(17%, -71%);
}

.products .products-box .product:first-child:hover img {
    transform: rotate(-45deg) translate(17%, -71%) scale(1.1);
}

.products .products-box .product:nth-child(2) img {
    margin-top: 60px;
    transform: rotate(-45deg) translate(6%, -86%);
}

.products .products-box .product:nth-child(2):hover img {
    transform: rotate(-45deg) translate(6%, -86%) scale(1.1);
}

.products .products-box .product:last-child img {
    margin-top: 60px;
    margin-right: 30px;
    transform: rotate(-45deg) translate(17%, -71%);
}

.products .products-box .product:last-child:hover img {
    transform: rotate(-45deg) translate(17%, -71%) scale(1.1);
}

.products .container a {
    direction: rtl;
    margin-top: 80px;
    width: fit-content;
    background-color: white;
    border-radius: 15px;
    border: none;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    transition: 0.5s;
    color: var(--main-color);
    align-self: center;
    text-decoration: none;
}

.products .container a:hover {
    background-color: var(--main-color);
    color: white;
}

@media (max-width: 1300px) {
    .products .container .products-box .product .image {
        width: 160px;
        height: 160px;
    }

    .products .container .products-box .product .image img {
        width: 210px;
    }
}

@media (max-width: 992px) {
    .products .container .products-box .product .image {
        width: 100px;
        height: 100px;
    }

    .products .container .products-box .product .image img {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .products .container .products-box {
        flex-direction: column;
    }

    .products .container .products-box .product .image {
        width: 100px;
        height: 100px;
    }

    .products .container .products-box .product .image img {
        width: 150px;
    }

    .products .container .products-box .product {
        padding-bottom: 70px;
    }

    .products .container .products-box {
        margin-bottom: 0;
    }
}

/* end products */

/* start video */
.video {
    padding: 20px 0px 80px;
}

.video .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video .container .cover {
    /* height: 540px; */
    height: calc((100vw / 1.2) * 0.5625);
    width: calc(100vw / 1.2);
    position: relative;
    /*  */
    /* background-image: url(../assets/temp.png);
    background-size: cover;
    border-radius: 50px; */
    /*  */
}

.video .container .cover::after {
    content: "";
    position: absolute;
    background-color: #1c1c1cb0;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.video .container iframe {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
}

.video .container .cover i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    font-size: 140px;
    color: white;
    opacity: 0.9;
    transition: 0.3s;
    z-index: 2;
}

.video .container .cover:hover i {
    opacity: 1;
}

@media (max-width: 992px) {
    .video .container .cover i {
        font-size: 90px;
    }
}

@media (max-width: 768px) {
    .video .container .cover i {
        font-size: 50px;
    }
}

@media (min-width: 1200px) {
    .video .container .cover {
        height: 519px;
        width: 923px;
    }
}

/* end video */

/* start news */
.news {
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}

.news .special-text {
    color: white;
}

.news .container {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news .box {
    display: flex;
    flex-direction: row-reverse;
    padding: 0px 50px 50px 50px;
    position: relative;
    align-items: center;
    
    width: 100%;
    justify-content: start;
    gap: 50px;
}

.news .container :nth-child(2) {
    flex-direction: row;
}

.news .box .text {
    padding: 30px 0px 30px 30px;
}

.news .container :nth-child(2) > .text {
    padding: 30px 30px 30px 0px;
}

.news .box .text h3 {
    color: white;
    font-weight: 900px;
}

.news .box .text p {
    font-size: 24px;
    padding: 10px 0px;
    color: #c1c1c1;
}

.news .box .img-container {
    position: relative;
}

.news .box .image-special {
    border-radius: 0px 20px 20px 20px;
    overflow: hidden;
    /* background-image: url(../assets/rubber-flooring.png); */
    position: relative;
    min-width: 400px;
    /* max-width: 600px; */
    /* height: 100%; */
    z-index: 2;
    /* box-shadow: 0px 0px 30px 20px #ffffff30; */
    box-shadow: rgba(255, 255, 255, 0.19) 0px 0px 58px 27px;
}


.news .box .image-special img {
    width: 500px;
    height: 300px;
}

@media (max-width:992px) {
   .news .box .image-special img {
    width: 100%;
    transition: 1s;
} 
    
}

.news .box .image-special img:hover {
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .news .box {
        flex-direction: column-reverse;
    }

    .news .container :nth-child(2) {
        flex-direction: column-reverse;
    }

    .news .box .image-special {
        min-width: 400px;
    }

    .news .box .text {
        margin-right: 0px;
        padding: 20px 0px;
    }
}

@media (max-width: 768px) {
    .news .box {
        padding: 0px 20px 20px 20px;
    }

    .news .box .image-special {
        min-width: 200px;
    }
}

.news .frame {
    position: absolute;
    top: 0;
    left: 0;
    height: 70%;
    width: 60%;
    border-radius: 0px 20px 20px 20px;
    background-color: white;
    transform: translate(-8px, -8px);
}

.news .container a {
    direction: rtl;
    margin: 30px 0px;
    width: fit-content;
    background-color: var(--main-color);
    border-radius: 15px;
    border: none;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    transition: 0.5s;
    color: white;
    text-decoration: none;
    width:100%;
}
.news .container a:last-child {
    direction: rtl;
    margin: 30px 0px;
    width: fit-content;
    background-color: var(--main-color);
    border-radius: 15px;
    border: none;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
    transition: 0.5s;
    color: white;
    text-decoration: none;
    
}

.news .container a:hover {
    background-color: transparent;

    color: var(--main-color);
}
.news .container a:last-child:hover{
    background-color: white;

    color: var(--main-color);
}

.news > img:nth-last-child(2) {
    position: absolute;
    top: -120px;
    right: -5px;
}

.news > img:nth-last-child(1) {
    position: absolute;
    bottom: -60px;
    left: 0px;
}

@media (max-width: 768px) {
    .news > img:nth-last-child(1) {
        display: none;
    }
}

/* end news */

/* animation start */
.animation {
    padding: 80px 0px;
}

.animation .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.animation .container .animation-box {
    position: relative;
    padding: 0px;
    border-radius: 20px;
    overflow: hidden;
}

.animation .container img.first {
    width: 100%;
}

@media (max-width: 992px) {
    .animation .container img.first {
        display: none;
    }
}

.animation .container img.second {
    display: none;
}

@media (max-width: 992px) {
    .animation .container img.second {
        display: block;
        width: 100%;
    }
}

.animation .container .white {
    position: absolute;
    background-color: white;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    /* animation-name: show-animation;
    animation-duration: 10s;
    animation-delay: 3s;
    animation-fill-mode: forwards; */
    /* animation-timing-function: step-start; */
}

@media (max-width: 992px) {
    .animation .container .white {
        top: unset;
        bottom: 0;
        width: 100%;
        height: 79%;
    }
}

.animation.start-animation .container .white {
    animation-name: show-animation;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    /* animation-timing-function: step-start; */
}

@media (max-width: 992px) {
    .animation.start-animation .container .white {
        animation-name: show-animation-virtical;
        animation-duration: 10s;
        animation-delay: 1s;
        animation-fill-mode: forwards;
    }
}

/* animation end */

/* start fotter */
footer {
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}

footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px;
    color: #d9d9d9;
}

@media (max-width: 400px) {
    footer .container {
        padding: 10px 10px;
    }
}

@media (max-width: 992px) {
    footer .container {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }
}

footer .container > img {
    position: absolute;
    bottom: 66px;
    left: 0px;
}

@media (max-width: 450px) {
    footer .container > img {
        position: absolute;
        width: 90px;
        bottom: 66px;
        left: 0px;
    }
}

footer .logo-section {
    width: 350px;
    color: #d9d9d9;
    text-align: start;
    padding-bottom: 20px;
    /* padding-left: 50px; */
}

/* footer .logo-section img {} */

footer .logo-section p {
    padding-top: 15px;
    font-size: 20px;
    text-align: start;
}

footer .logo-section p span {
    color: var(--second-color);
}

footer .important-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer h2 {
    padding-bottom: 15px;
}

footer .important-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
}

footer .important-links ul li {
    direction: ltr;
    list-style-type: ">";
    /* padding: 10px; */
    list-style-position: inside;
}

footer .important-links ul a {
    text-decoration: none;
    color: #d9d9d9;
    font-size: 20px;
    padding: 10px;
    display: inline-block;
}

footer .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .contact i {
    font-size: 30px;
    padding-left: 5px;
    cursor: pointer;
}

@media (max-width: 400px) {
    footer .container > div {
        width: unset !important;
        padding-left: unset !important;
        align-items: center;
    }
}

footer .right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: center;
    padding: 0px 30px;
    align-items: center;
    z-index: 10;
    color: white;
}

@media (max-width: 992px) {
    footer .right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        justify-items: center;
        padding: 0px 30px;
        align-items: center;
        z-index: 10;
        color: white;
    }
}
footer .right .beacon {
    display: flex;
    align-items: center;
    flex-direction: row;
}
footer .right .beacon span {
    padding-right: 10px;
    font-size: 15px;
}

@media (max-width: 992px) {
    footer .right {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
    }
    footer .right p {
        font-size: 10px;
        padding-bottom: 20px;
    }
    footer .container .right .beacon {
        padding-bottom: 15px;
    }
}
footer .right {
    border-top: 1px #ffffff7d solid;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: transparent;
}

/* end fotter */

/* animations */

@keyframes show-animation {
    33.33% {
        width: 55%;
    }

    66.66% {
        width: 23%;
        animation-delay: 6s;
    }

    100% {
        width: 0%;
        animation-delay: 12s;
    }
}

@keyframes show-animation-virtical {
    33.33% {
        height: 48%;
        animation-delay: 2s;
    }

    100% {
        height: 0%;
        animation-delay: 4s;
    }
}
