html {
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

@font-face {
    font-family: "Nexa-ExtraLight";
    src: url('font/Nexa-ExtraLight.ttf');
}

@font-face {
    font-family: "Nexa-Heavy";
    src: url('font/Nexa-Heavy.ttf');
}

/* desktop version */
@media only screen and (min-width: 1024px),
only screen and (min-width: 768px) and (orientation: landscape) {
    body {
        overflow: hidden;
        height: 100%;
        margin: 0;
        padding: 0;
        background-image: url("img/clear-Desktop.jpg");
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: cover;
    }

    .container {
        position: relative;
        margin-top: 100px;
        margin-right: auto;
        margin-left: 220px;
    }

    .title {
        position: absolute;
        font-size: 80px;
        color: white;
        font-family: "Nexa-Heavy", sans-serif;
        margin-right: auto;
        line-height: 0.0;
    }

    .subtitle {
        position: absolute;
        font-size: 40px;
        color: white;
        font-family: "Nexa-ExtraLight", sans-serif;
        line-height: 0.2;
        margin-top: 130px;
    }

    .gradient {
        position: absolute;
        margin-top: 130px;
        height: 10px;
        width: 450px;
        border: none;
        background: linear-gradient(-130deg, #eb4712, #969696);
        background-size: 200% 100%;
        -webkit-animation: Animation 5s ease infinite;
        -moz-animation: Animation 5s ease infinite;
        animation: Animation 5s ease infinite;
        box-shadow: 0px 3px 6px #111d23;
    }

    @-webkit-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @-moz-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }


    .contact-button {
        font-size: 60px;
        font-family: "Nexa-ExtraLight", sans-serif;
        background-image: url("img/button.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        color: #ffffff;
        bottom: 60px;
        left: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-50%);
        width: 460px;
        height: 120px;
        position: absolute;
        z-index: 1;
        text-decoration: none;
        line-height: 1;
        border: none;
        padding-bottom: 10px;
        overflow: hidden;
    }

    .contact-button .text-default,
    .contact-button .text-hover {
        position: absolute;
        transition: opacity 0.5s ease;
    }

    .contact-button .text-hover {
        opacity: 0;
    }

    .contact-button:hover .text-default {
        opacity: 0;
    }

    .contact-button:hover .text-hover {
        cursor: alias;
        opacity: 1;
    }

    .boy {
        width: 300px;
        height: 300px;
        margin-top: 100px;
        margin-left: auto;
        margin-right: 50px;
        box-sizing: border-box;
        border: none;
        border-radius: 50%;
        box-shadow: 0 10px 15px 0px rgba(0, 0, 0, 0.8);
        transform: translatey(0px);
        animation: float 6s ease-in-out infinite;

        img {
            width: 100%;
            height: auto;
        }
    }

    @keyframes float {
        0% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translatey(0px);
        }

        50% {
            box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
            transform: translatey(-20px);
        }

        100% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translatey(0px);
        }
    }

}

/* mobile version */
@media only screen and (max-width: 1024px) and (orientation: portrait),
only screen and (max-width: 767px) {
    body {
        background-size: cover;
        background-image: url("img/clear-Mobile.jpg");
        background-position: 0% 50%;
	background-repeat: no-repeat;
    }

    .container {
        position: relative;
        margin-top: 40px;
        margin-right: auto;
        margin-left: 10px;
    }

    .title {
        position: absolute;
        font-size: 60px;
        color: white;
        font-family: "Nexa-Heavy", sans-serif;
        margin-right: auto;
        line-height: 0.0;
    }

    .subtitle {
        position: absolute;
        font-size: 30px;
        color: white;
        font-family: "Nexa-ExtraLight", sans-serif;
        line-height: 0.2;
        margin-top: 110px;
    }

    .gradient {
        position: absolute;
        margin-top: 100px;
        height: 10px;
        width: 350px;
        border: none;
        background: linear-gradient(-130deg, #eb4712, #969696);
        background-size: 200% 100%;
        -webkit-animation: Animation 5s ease infinite;
        -moz-animation: Animation 5s ease infinite;
        animation: Animation 5s ease infinite;
        box-shadow: 0px 3px 6px #111d23;
    }

    @-webkit-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @-moz-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    .contact-button {
        font-size: 40px;
        font-family: "Nexa-ExtraLight", sans-serif;
        background-image: url("img/button.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        color: #ffffff;
        bottom: 0px;
        left: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-50%);
        width: 360px;
        height: 120px;
        position: absolute;
        z-index: 1;
        text-decoration: none;
        line-height: 1;
        border: none;
        padding-bottom: 10px;
        overflow: hidden;
    }

    .contact-button .text-default,
    .contact-button .text-hover {
        position: absolute;
        transition: opacity 0.5s ease;
    }

    .contact-button .text-hover {
        opacity: 0;
    }

    .contact-button:hover .text-default {
        opacity: 0;
    }

    .contact-button:hover .text-hover {
        cursor: alias;
        opacity: 1;
    }

    .boy-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 150vh;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .boy {
        width: 100px;
        height: 100px;
        margin-left: 20px;
        margin-bottom: 150px;
        box-sizing: border-box;
        border: none;
        border-radius: 50%;
        box-shadow: 0 10px 15px 0px rgba(0, 0, 0, 0.8);
        animation: float 6s ease-in-out infinite;

        img {
            width: 100%;
            height: auto;
        }
    }

    @keyframes float {
        0% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translateY(0px);
        }

        50% {
            box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
            transform: translateY(-20px);
        }

        100% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translateY(0px);
        }
    }




}

/* landscape mode for mobile version */
@media only screen and (max-width: 1024px) and (orientation: landscape) {
    body {
        background-image: url("img/clear-Desktop.jpg");
        background-size: cover;
        background-position: 50% 50%;
	background-repeat: no-repeat;
    }

    .container {
        position: relative;
        margin-top: 10px;
        margin-right: auto;
        margin-left: 80px;
    }

    .title {
        position: absolute;
        font-size: 50px;
        color: white;
        font-family: "Nexa-Heavy", sans-serif;
        margin-right: auto;
        line-height: 0.0;
    }

    .gradient {
        position: absolute;
        margin-top: 80px;
        height: 10px;
        width: 350px;
        border: none;
        background: linear-gradient(-130deg, #eb4712, #969696);
        background-size: 200% 100%;
        -webkit-animation: Animation 5s ease infinite;
        -moz-animation: Animation 5s ease infinite;
        animation: Animation 5s ease infinite;
        box-shadow: 0px 3px 6px #111d23;
    }

    .subtitle {
        position: absolute;
        font-size: 30px;
        color: white;
        font-family: "Nexa-ExtraLight", sans-serif;
        line-height: 0.2;
        margin-top: 80px;
    }

    @-webkit-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @-moz-keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    @keyframes Animation {
        0% {
            background-position: 0% 0%;
        }

        50% {
            background-position: 100% 0%;
        }

        100% {
            background-position: 0% 0%;
        }
    }

    .contact-button {
        font-size: 40px;
        font-family: "Nexa-ExtraLight", sans-serif;
        background-image: url("img/button.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        color: #ffffff;
        bottom: 0px;
        left: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-50%);
        width: 360px;
        height: 120px;
        position: absolute;
        z-index: 1;
        text-decoration: none;
        line-height: 1;
        border: none;
        padding-bottom: 10px;
        overflow: hidden;
    }

    .contact-button .text-default,
    .contact-button .text-hover {
        position: absolute;
        transition: opacity 0.5s ease;
    }

    .contact-button .text-hover {
        opacity: 0;
    }

    .contact-button:hover .text-default {
        opacity: 0;
    }

    .contact-button:hover .text-hover {
        cursor: alias;
        opacity: 1;
    }

    .boy-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 150vh;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .boy {
        width: 100px;
        height: 100px;
        margin-left: 60px;
        margin-top: 100px;
        box-sizing: border-box;
        border: none;
        border-radius: 50%;
        box-shadow: 0 10px 15px 0px rgba(0, 0, 0, 0.8);
        animation: float 6s ease-in-out infinite;

        img {
            width: 100%;
            height: auto;
        }
    }

    @keyframes float {
        0% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translateY(0px);
        }

        50% {
            box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
            transform: translateY(-20px);
        }

        100% {
            box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
            transform: translateY(0px);
        }
    }
}