/* Embadded Fonts */
@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-Black.ttf);
    font-weight: 400;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-SemiBold.ttf);
    font-weight: 300;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-Medium.ttf);
    font-weight: 200;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-Regular.ttf);
    font-weight: 100;
}


/* End Embadded Fonts */

:root {
    --orange: #FF5300;
    --yellow: #F8C827;
    --black: #040404;
    --gray: #717171;
    --light-orange: #F57639;
    --font-extra: 48px;
    --font-med: 20px;
    --font-small: 18px;
}

body {}

.contain {
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

@media (min-width: 992px) {
    .cent {
        height: calc(100vh - 175px);
        display: grid;
        align-items: center;
    }
}

.square {
    width: 519px;
    height: 519px;
    transform: rotate(35deg);
    position: absolute;
    border-radius: 54px;
    background-color: var(--yellow);
    right: -157px;
    top: -169px;
    z-index: 99;
}

.square .buttons {
    position: absolute;
    bottom: 136px;
    transform: rotate(-35deg);
    left: 66px;
    display: flex;
}

.square .buttons a {
    padding: 14px 37px;
    background-color: #fff;
    font-family: 'Raleway';
    font-size: var(--font-small);
    font-weight: 100;
    color: var(--gray);
    border-radius: 35px;
    box-shadow: 0px 3px 6px rgb(0, 0, 0, 0.16);
    margin-right: 19px;
}

header {
    height: 100px;
}

header .row {
    height: 100%;
}

header img {
    height: 72px;
}

/*  Main  */
.main {
    position: relative;
    z-index: 9;
}

.main h1 {
    font-family: 'Raleway';
    font-size: var(--font-extra);
    color: var(--black);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.main p {
    font-family: 'Raleway';
    font-size: var(--font-small);
    color: var(--black);
    font-weight: 100;
}

.main .buttons {
    margin-top: 0px;
    display: none;
}

.main .buttons a {
    font-family: 'Raleway';
    font-size: var(--font-small);
    color: var(--black);
    font-weight: 100;
    padding: 11px 15px;
    margin-right: 8px;
    background-color: var(--gray);
    color: #fff;
    border-radius: 29px;
}

/* Companies */
.slide {
    position: relative;
    z-index: 99;
    margin-top: 14px;
}

.slide .slick-track {
    padding: 12px 7px;
}

.slide .slick-slide {
    margin-right: 16px;
}

.slide .slick-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #D9D9D9;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 19px;
    color: var(--gray);
}

.slide .slick-arrow.fa-angle-right {
    right: -70px;
}

.slide .slick-arrow.fa-angle-left {
    left: -70px;
}


.slide .company {
    transition: all 0.3s;
    display: flex !important;
    border-radius: 8px;
    box-shadow: 0 0 6px rgb(0, 0, 0, 0.16);
    background-color: #fff;
    height: 166px;
    align-items: center;
    justify-content: center;
}

.slide .company .front {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.2s;
}

.slide .company .back {
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 18px;
    left: 0;
    transform: rotateY(180deg);
    transition: all 0.3s;
}

.slide .company .back p {
    color: #fff;
    font-size: var(--font-small);
    font-family: 'Raleway';
    font-weight: 100;
    padding: 0 17px;
}

.slide .slick-slide:hover .company {
    transform: rotateY(180deg);
    background-color: var(--light-orange);
}

.slide .company:hover .front {
    opacity: 0;
}

.slide .company:hover .back {
    opacity: 1;
}

.slide .company img {
    height: 104px;
    margin-right: 26px;
}

.slide .company h3 {
    font-family: 'Raleway';
    font-size: var(--font-med);
    color: var(--gray);
    font-weight: 300;
    text-align: center;
}

/*  Footer  */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 75px;
}

footer .row {
    height: 75px;
}

footer .copyright {
    font-family: 'Raleway';
    font-size: var(--font-small);
    color: var(--gray);
    font-weight: 100;
}

footer .links {
    float: right;
}

footer .links a {
    font-family: 'Raleway';
    font-size: var(--font-small);
    color: var(--gray);
    font-weight: 400;
    margin-left: 15px;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
}

.popup .window {
    background-color: #fff;
    margin-top: 45px;
    border-radius: 8px;
    overflow: auto;
    max-height: calc(100vh - 90px);
    position: relative;
    display: none;
}

.popup .window .title {
    width: 100%;
    background-color: var(--yellow);
    text-align: center;
    padding: 17px 0;
    color: var(--black);
    font-family: 'Raleway';
    font-weight: 300;
}

.popup .window .content {
    padding: 20px 30px;
}

.popup .window h1,
.popup .window h2,
.popup .window h3,
.popup .window h4,
.popup .window h5,
.popup .window h6 {
    color: var(--gray);
    font-family: 'Raleway';
    font-weight: 300;
}

.popup .window .closee {
    position: absolute;
    right: 13px;
    top: 7px;
    padding: 11px 12px;
    cursor: pointer;
    font-size: 23px;
}

.popup .window p {
    color: var(--gray);
    font-family: 'Raleway';
    font-weight: 100;
}

/*  Animation  */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    /*    background-color: rgba(0, 0, 0, 0.2);*/
    background-size: contain;
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    background-image: url(../img/grey-icons/android.png);
}


.circles li:nth-child(2) {
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
    animation-duration: 12s;
    background-image: url(../img/grey-icons/apache.png);
}

.circles li:nth-child(3) {
    left: 70%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
    background-image: url(../img/grey-icons/php.png);
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    background-image: url(../img/grey-icons/c#.png);
}

.circles li:nth-child(5) {
    left: 65%;
    width: 50px;
    height: 50px;
    animation-delay: 0s;
    background-image: url(../img/grey-icons/c++.png);
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
    background-image: url(../img/grey-icons/cpanel.png);
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
    background-image: url(../img/grey-icons/ios.png);
}

.circles li:nth-child(8) {
    left: 50%;
    width: 55px;
    height: 55px;
    animation-delay: 15s;
    animation-duration: 45s;
    background-image: url(../img/grey-icons/javascript.png);
}

.circles li:nth-child(9) {
    left: 20%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
    animation-duration: 35s;
    background-image: url(../img/grey-icons/laravel.png);
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
    background-image: url(../img/grey-icons/linux.png);
}

.circles li:nth-child(11) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 2s;
    background-image: url(../img/grey-icons/apple-tv.png);
}

.circles li:nth-child(12) {
    left: 50%;
    width: 40px;
    height: 40px;
    animation-delay: 9s;
    animation-duration: 45s;
    background-image: url(../img/grey-icons/javascript.png);
}

.circles li:nth-child(13) {
    left: 20%;
    width: 55px;
    height: 55px;
    animation-delay: 5s;
    animation-duration: 35s;
    background-image: url(../img/grey-icons/http-proxies.png);
}

.circles li:nth-child(14) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 3s;
    animation-duration: 11s;
    background-image: url(../img/grey-icons/vu-js.png);
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

@media (max-width: 1024px) {
    .square {
        width: 200px;
        height: 200px;
        right: -68px;
        top: -9px;
        z-index: -1;
    }

    .main .buttons {
        display: inline-flex !important;
    }

    .square .buttons {
        display: none;
    }

    footer {
        bottom: 15px;
    }
}

@media (max-width: 768px) {
    .slide .company {
        margin-bottom: 20px;
    }

    .slide .company:hover {
        transform: rotateY(180deg);
        background-color: var(--light-orange);
    }

    footer {
        position: unset !important;
        margin-bottom: 10px;
        transform: scale(1, -1);
    }

    .copyright {
        text-align: center;
        transform: scale(1, -1);
    }

    footer .links {
        float: none;
        margin: 0 auto;
        display: table;
        transform: scale(1, -1);
    }

    footer .links a {
        font-size: 13px;
        margin: 0 5px;
    }
}
