*,
*:after,
*:before {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: all .2s;
}

:root {
    --main-color: #10141F;
    --main-color-clear: #10141Fdd;
    --secundary-color: #263c47;
}

*::selection {
    background: var(--secundary-color);
    color: #fff;
}


/* custom scroll bar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #777;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    margin: 0;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

.max-width {
    width: 1200px;
}


/* home section */

section.home {
    background: linear-gradient(45deg, #000000dd, var(--main-color-clear)), url(/images/home-background.jpg) no-repeat;
    background-position: top center;
    background-size: cover;
    position: relative;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.home .max-width {
    width: 100%;
    display: flex;
    position: relative;
}

.home .max-width .row {
    margin-right: 0;
}

.home .home-content {
    margin: auto;
    margin-top: -8%;
    text-align: center;
}

.home .description p{
    margin-top: 30px;
    color: #fff;
    font-size: 1.3em;
    letter-spacing: 8px;
    font-weight: lighter;
}

.home .home-content .text-1 {
    padding: 35px 0;
    color: #fff;
}

.home .home-content .text-1 h1 {
    font-size: 4.6em;
}

.home .home-content a {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 65px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
    z-index: 100000;
}

.home .home-content a:hover {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
}

.home svg {
    position: absolute;
    bottom: 0;
}


/* games section */

section.apps-games {
    position: relative;
    padding-bottom: 260px;
    display: flex;
    justify-content: center;
}

section.apps-games .apps-games-container {
    padding: 15px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

section.apps-games .apps-games-container h2 {
    font-size: 3.2em;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 20px;
}

section.apps-games .apps-games-container .text {
    text-align: justify;
    font-size: 20px;
}

section.apps-games .apps-games-container .text p{
    font-size: 21px;
}

.apps-games .apps-games-container .apps-games-cards {
    margin-top: 3em;
    margin-bottom: 5em;
}

.apps-games .apps-games-container .apps-games-cards .app-game {
    height: 200px;
    width: 550px;
    border-radius: 20px;
    display: flex;
    background: linear-gradient(45deg, #181e40 25%, #1e1d68);
    z-index: 1000000;
}

.apps-games .apps-games-container .apps-games-cards .app-game .column-left {
    width: 200px;
}

.apps-games .apps-games-container .apps-games-cards .app-game .column-left img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.apps-games .apps-games-container .apps-games-cards .app-game h3 {
    margin: auto;
    font-family: sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
}

.apps-games .apps-games-container .apps-games-cards .app-game .column-right {
    display: flex;
    width: 350px;
    padding: 10px;
    flex-direction: column;
    color: #fff;
}

.apps-games .apps-games-container .apps-games-cards .app-game .buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.apps-games .apps-games-container .apps-games-cards .app-game .buttons a {
    padding: 5px;
    margin: 0 10px 0 15px;
    z-index: 1000;
    color: #fff;
}

.apps-games .apps-games-container .apps-games-cards .app-game .buttons a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.apps-games .apps-games-container .apps-games-cards .app-game .buttons img {
    width: 120px;
    z-index: 10;
    transition: transform 0.5s;
}

.apps-games .apps-games-container .apps-games-cards .app-game .buttons img:hover {
    transform: scale(1.05);
}

.apps-games svg {
    position: absolute;
    bottom: 0;
}


/* about section */

section.about {
    background: #173841;
    position: relative;
    min-height: 80vh;
    padding: 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about .title {
    padding: 0 20px 30px 20px;
    text-align: center;
}

.about .title h2 {
    font-size: 3.5em;
    color: #fff;
}

.about .columns-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.about .column:nth-child(1) {
    width: calc(40% - 20px);
}

.about .column:nth-child(2) {
    width: calc(60% - 20px);
}

.about .column {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about .column img {
    width: 400px;
    border-radius: 15px;
    box-shadow: 4px 4px 20px rgba(40, 121, 141, 0.8);
    background-color: #ddd;
    /* background-color: #000; */
    transition: all 0.5s;
}

.about .column img:hover {
    transform: scale(1.05);
}

.about .column .text-about {
    padding: 40px;
    margin: 0 20px;
    border-radius: 20px;
    background-color: rgba(7, 23, 27, 0.411);
    color: #fff;
}

.about .column .text-about p {
    text-align: justify;
    font-size: 21px;
    line-height: 25px;
}

.about .column .text-about h3 {
    font-size: 26px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about .column a,
.about .column a:visited {
    align-self: flex-start;
    display: inline-block;
    margin-top: 25px;
    padding: 12px 0;
    text-decoration: underline;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 1s ease;
}

.about .column a:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
}

.about .column a:active {
    border-color: transparent;
}


/* contact section */

.contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(45deg, #000000cc, #09485878), url(/images/contact-background.jpg) no-repeat;
    background-position: top center;
    background-size: 120% 120%;
    animation: background-animation 20s ease-in-out infinite;
}

.contact .svg-content {
    height: 150px;
    overflow: hidden;
    width: 100%;
}

.contact svg {
    height: 100%;
    width: 100%;
}

.contact svg:nth-child(1) {
    top: 0;
    bottom: 100%;
}

.contact svg:nth-child(2) {
    bottom: 0;
}

.contact-content {
    width: 100%;
    padding: 30px 200px 40px 200px;
}

.contact .contact-content .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact .content h2 {
    font-size: 3.5em;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.contact .content p {
    font-weight: 300;
    color: #fff;
}

.contact-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.contact-container .contactInfo {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.contact-container .contactInfo .box {
    position: relative;
    padding: 20px 30px;
    display: flex;
    align-items: center;
}

.contact-container .contactInfo .box .icon {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.contact-container .contactInfo .box .icon i {
    font-size: 24px;
    color: var(--secundary-color);
}

.contact-container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}

.contact-container .contactInfo .box .text h3 {
    font-weight: 500;
    color: #00bcd4;
    margin-bottom: 4px;
}

.contact-container .contactInfo .box .text a {
    color: #fff;
}

.contactForm {
    width: 45%;
    padding: 20px 30px;
    background: #fff;
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 16px;
}

.contactForm .inputBox:last-child {
    margin-top: 5px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox input.input-error,
.contactForm .inputBox textarea.input-error {
    border-bottom: 2px solid red;
}

.contactForm .inputBox label {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: .5s;
    color: #666;
}

.contactForm .inputBox input:focus~label,
.contactForm .inputBox textarea:focus~label,
.contactForm .inputBox label.has-content {
    color: var(--secundary-color);
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForm .inputBox .icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 12px;
    right: 5px;
    pointer-events: none;
    z-index: 2;
}

.contactForm .inputBox .icon-error {
    color: red;
}

.contactForm .inputBox .icon-success {
    color: green;
}

.hidden {
    display: none;
}

.contactForm .inputBox input[type="submit"] {
    width: 100px;
    background: var(--secundary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

.contactForm .inputBox input[type="submit"]:hover {
    background-color: var(--main-color-clear);
}

.contactForm .inputBox .error-message {
    margin-top: -2px;
    height: 14px;
    margin-bottom: 4px;
    font-size: 12px;
    color: red;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 45px;
    height: 11px;
}

.lds-ellipsis div {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00bcd4;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 24px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 36px;
    animation: lds-ellipsis3 0.6s infinite;
}

.contactForm .form .inputBox .response-content {
    display: inline;
    margin-left: 10px;
}

.contactForm .form .inputBox .response-content span.success {
    color: green;
}

.contactForm .form .inputBox .response-content span.error {
    color: red;
}

.success-icon {
    color: green;
}

.success-icon.hidden {
    display: none;
}

.error-icon {
    color: red;
}

.error-icon.hidden {
    display: none;
}

.hidden {
    display: none;
}


/* footer section */

.footer {
    height: 15vh;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer img {
    margin-right: 15px;
}

.footer .footer-container {
    position: absolute;
    top: -20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url(/images/zenbyte-portrait.jpg);
    padding: 10px;
    border-radius: 20px;
}

.footer span {
    color: #fff;
    font-size: 50px;
    font-weight: 600;
}

.footer img {
    height: 50px;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(18px, 0);
    }
}

@media(max-width: 991px) {
    .home .home-content .text-1 h1 {
        font-size: 60px;
    }
    section.apps-games {
        padding-bottom: 180px;
    }
    section.about{
        padding: 60px 60px 30px 60px;
    }
    .about .columns-container {
        flex-direction: column;
        width: 100%;
    }
    .about .title {
        margin-top: 20px;
    }
    .about .column:nth-child(1) {
        width: 100%;
    }
    .about .column:nth-child(2) {
        margin: 40px 0;
        width: 105%;
    }
    .about .column .text-about {
        margin: 0;
        padding: 20px;
    }
    .contact-content {
        padding: 20px;
    }
    .contact-content .contact-container {
        flex-direction: column;
    }
    .contact-content .contact-container .contactInfo {
        margin-bottom: 40px;
        margin-left: 50px;
    }
    .contact-content .contact-container .contactInfo,
    .contact-content .contact-container .contactForm {
        width: 100%;
    }
    .contact {
        background-size: cover;
    }
}

@media (max-width: 620px) {
    .about .column .text-about {
        padding: 0;
        background: none;
    }
    section.apps-games {
        padding-bottom: 120px;
    }
    section.apps-games .apps-games-container {
        padding: 15px 20px;
    }
    section.apps-games .apps-games-container h2 {
        font-size: 3em;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game {
        height: 180px;
        width: 450px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-left {
        width: 180px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game h3 {
        font-size: 32px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-right {
        width: 270px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .buttons a {
        padding: 5px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .buttons img {
        width: 100px;
        z-index: 100;
        transition: transform 0.5s;
    }
    .footer span {
        color: #fff;
        font-size: 2em;
        font-weight: 600;
    }
    section.about{
        padding: 60px 30px 30px 30px;
    }
}

@media (max-width: 520px) {
    .apps-games .apps-games-container .apps-games-cards .app-game {
        height: 150px;
        width: 380px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-left {
        width: 150px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game h3 {
        font-size: 28px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-right {
        width: 230px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .buttons a {
        font-size: 14px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .buttons img {
        width: 70px;
    }
    .about .column img {
        width: 85%;
    }
}

@media (max-width: 400px) {
    .apps-games .apps-games-container .apps-games-cards .app-game {
        height: 120px;
        width: 320px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-left {
        width: 120px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game h3 {
        font-size: 24px;
    }
    .apps-games .apps-games-container .apps-games-cards .app-game .column-right {
        width: 180px;
    }
}

@keyframes background-animation {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}