/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    font-family: "Teko", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
    position: relative;
    min-height: 100vh;
}
html{
    scroll-behavior: smooth;    
}
.container{
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .container{
        width: 750px;
    }
}
@media (min-width: 992px) {
    .container{
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container{
        width: 1170px;
    }
}
:root{
    --main-color: #eb6e6e;
    --second-color: #50ba87;
}
ul{list-style: none;}
a{text-decoration: none;}
/* End Global Rules */
.loader {
    min-height: 100vh;
    background-color: #009688;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 555;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
    flex-direction: column;
    gap: 100px;
}
.loader h1 {
    font-size: 36px;
    letter-spacing: 1.5px;
    word-break: break-all;
    opacity: 0;
    transition: 1.5s;
    color: #fff;
    transform: translateY(100px);
}
.loader.active h1{
    opacity: 1;
    transform: translateY(0);
}
.loader.up{
    top: -100%;
}
canvas{
    image-rendering: pixelated;
}
/* Start Header */
.header {
    box-shadow: 0 0 5px 0 #111;
    background-color: #eee;
    height: 71px;
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .container nav{
    display: flex;
    align-items: center;
    gap: 25px;
}
.header .container nav .links{
    display: flex;
    align-items: center;
    gap: 25px;
}
.header .container nav .links a{
    padding: 25px 0;
    display: block;
    font-size: 18px;
    color: #333;
    transition: 0.5s;
}
.header .container nav .links a:hover{
    color: #ffde55;
}
.header .container .logo{
    font-size: 24px;
    color: #333;
    transition: 0.5s;
}
.header .container .logo:hover{
    color: #ffde55;
}
/* End Header */
/* Start Landing */
.landing{
    position: relative;
    height: calc(100vh - 71px);
    display: flex;
    align-items: center;
}
.landing::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: url('../images/landing.jpg');
    background-size: cover;
    background-attachment: fixed;
    top: 0;
    left: 0;
}
.landing .container {
    position: relative;
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.landing .container h3{
    
    color: #ffde55;
}
.main-heading{
    position: relative;
    padding-bottom: 25px;
    font-size: 24px;
    text-align: center;
}
.main-heading::after{
    content: "";
    background-color: #ffde55;
    width: 100px;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.landing .container h1{
    width: 80%;
    font-size: 50px;
    text-align: center;
}
.landing .container h4{
    font-size: 22px;
    text-align: center;
}
.landing .container h4 span{
    color: #ffde55;
    text-decoration: underline;
    cursor: pointer;
}
.landing .container .buttons{
    display: flex;
    align-items: center;
    gap: 40px;
}
.landing .container .buttons .btn {
    padding: 0 25px;
    border: 1px solid #fff;
    border-radius: 40px;
    width: 200px;
    height: 75px;
    text-align: center;
    color: white;
    line-height: 75px;
    font-size: 24px;
    cursor: pointer;
    transition: 0.5s;
}
.landing .container .buttons .btn.cont:hover{
    background-color: #dcb92d;
}
.landing .container .buttons .btn.cont{
    border-color: #ffde55;
    background-color: #ffde55;
}
/* End Landing */

/* Strat Problems */
.problems{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #eee;
}
.problems .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.problems .container h5{
    font-weight: 200;
    text-align: center;
    margin-bottom: 50px;
}
.problems .container h4.stander{
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 100px;
    background-color: white;
    min-height: 50px;
    position: relative;
    padding-left: 80px;
}
.problems .container h4.stander .stand{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: #ffde55;
}

.problems .container .statics{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.problems .container .statics .item{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.problems .container .statics .item .box{
    width: 100%;
    position: relative;
    height: 250px;
}
.problems .container .statics .item .box p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #ffde55;
    transition: 1s;
}
/* End Problems */

/* Start Works */
.works{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #dedede;
}
.works h5{
    text-align: center;
    font-weight: 200;
    margin-top: 25px;
    font-size: 18px;
}
.works .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 25px;
    transform: translateX(-100%);
    position: relative;
    opacity: 0;
    transition: 0.75s;
}
.works .container.active{
    transform: translateX(0);
    opacity: 1;
}
.works .container .box{
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out;
}
.works .container .box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255 , 255, 255, 0.8);
    left: 0;
    top: 0;
    opacity: 0;
    transition: 0.5s;
}
.works .container .box:hover::after{
    opacity: 1;
}
.works .container .box > img{
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}
.works .container .box span{
    position: absolute;
    bottom: 0;
    z-index: 5;
    left: 0;
    width: 100%;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 15px 0;
    transition: 0.5s;
}
.works .container .box:hover span{
    background-color: rgba(255 , 255, 255, 0.1);
}
.works .container .box span img{
    max-width: 100%;
}

/* End Works */


.testimonial{
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}
.testimonial .container {
    display: flex;
    overflow-x: scroll;
    transition: 0.5s;
    gap: 25px;
    scroll-behavior: smooth;
}
.testimonial .container::-webkit-scrollbar{
    display: none;
}
.testimonial .container .box{
    width: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
    margin-top: 25px;
}
.testimonial .container .box img{
    width: 200px;
    height: 200px;
    border: 5px solid #dedede;
    border-radius: 50%;
}
.testimonial .container .box span{
    color: #ffde55;
}
.testimonial i {
    margin-top: 25px;
    font-size: 22px;
    width: 50px;
    height: 50px;
    background-color: #eee;
    line-height: 50px;
    cursor: pointer;
    color: #ffde55;
}

/* End Testimonial */


/* Start News */
.news{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #fff;
    position: relative;
}
.news .container {
    display: flex;
    overflow-x: scroll;
    transition: 0.5s;
    gap: 25px;
    scroll-behavior: smooth;
    margin-top: 25px;
    position: relative;
}
.news .container::-webkit-scrollbar{
    display: none;
}
.news .container .box {
    width: calc((100% / 3) - 8px);
    flex: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 8px #dedede;
    overflow: hidden;
    border-radius: 5px;
    scroll-snap-type: x mandatory;
    scroll-snap-align: start;
}
.news .container .box .info {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.news .container .box .info span{
    color: #ffde55;
    font-size: 18px;
}
.news .container .box .info a{
    display: block;
    color: #333;
    transition: 0.7s;
    font-size: 18px;
}
.news .container .box .info a:hover{
    color: #ffde55;
}
.news i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 2.5px;
    background-color: #eee;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    z-index: 10;
}
.news i.prev{
    left: 50px;
    
}
.news i.next{
    right: 50px;
}
/* End News */