@import url('https://fonts.googleapis.com/css2?family=K2D:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=K2D:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* http://www.rw-designer.com/cursor-set/blue-gradient-no-shadow */

* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    background-color: #77C0EE;
    line-height: 1.5;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}
/* * {
    border: 1px solid red;
} */

:root {
    --primary-text-color: #075D97;
    --text-size: 22px;
    --hover-color: #014076;
    --cursor: url("../images/cursors/Normal\ Select.png") 0 0, pointer;
    --hand-cursor: url("../images/cursors/Link\ Select.png") 0 0, pointer;
}

body {
    cursor: var(--cursor);
}

a,
button,
input[type="button"],
#navbar>ul>li>img:hover {
    cursor: var(--hand-cursor);
}

#home-content {
    display: grid;
    margin-left: 50px;
    position: relative;
    z-index: 10;
}

#home-content-text {
    display: flex;
    justify-content: center;
    height: 90%;
}


#home-content-text>div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 55%;
    word-wrap: break-word;
    font-size: 20px;
}

#home-content-text>div>h1 {
    font-family: "Abril Fatface", cursive;
    font-weight: 400;
    color: var(--primary-text-color);
    font-size: 55px;
    margin: 5px 0 15px 0;
}

#home-content-text>div>p {
    margin: 0;
}

#home-content-text>div>button {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    width: 190px;
    height: 62px;
    background-color: var(--primary-text-color);
    border: none;
    margin-top: 33px;
    transition: 0.5s ease-in-out;
}

#home-content-text>div>button:hover {
    background-color: var(--hover-color);
}

#home-content-text>div>button>a {
    color: white;
    font-size: 20px;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    word-wrap: break-word;
    text-decoration: none;
}


#home-character {
    width: 600px;
    height: auto;
    max-height: 93%;
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

.clouds-bg {
    position: absolute;
    bottom: 0;
    z-index: 5;
    overflow: hidden;
}

#cloud1-bg,
#cloud2-bg {
    width: 1800px;
}

#cloud1-bg {
    right: -100px;
}

#cloud2-bg {
    right: 200px;
    bottom: -10px;
    z-index: 3;
}

#cloud3-bg {
    z-index: 20;
    right: -5px;
    width: 800px;
    bottom: -30px;
}

#cloud-wrapper-mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    #home-content-img {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-top: auto;
    }

    #home-content-text>div {
        width: 100%;
        margin-left: 15px;
    }

    #home-content {
        margin-top: 100px;
    }

    #home-content-text>div>button {
        width: 200px;
        height: 67px;
    }

    #home-content-text>div>button>a {
        font-size: 23px;
    }

    #cloud3-bg {
        right: -140px;
        width: 1250px;
        bottom: 0px;
    }
}

@media screen and (max-width: 500px) {

    #home-content {
        display: flex;
        flex-direction: column;
        margin-right: 40px;
    }

    #cloud-wrapper-mobile {
        display: flex;
    }

    #cloud-wrapper {
        display: none;
    }

    .clouds-bg-mobile {
        width: 700px;
        height: auto;
        position: absolute;
        bottom: 0;
        z-index: 50;
        overflow: hidden;
    }

    #cloud1-bg-mobile {
        top: 0;
        z-index: 5;
        right: -90px;
        transform: rotate(-90deg);
    }

    #cloud2-bg-mobile,
    #cloud2-bg-mobile {
        width: 670px;
        bottom: -30px;
        right: -60px;
    }

    #home-content-text>div>p {
        font-size: 16px;
    }

    #home-content-text>div>h1 {
        font-size: 30px;
    }


    #home-content-text>div>button {
        display: none;
    }

    #home-character {
        width: 386px;
        margin-top: 15px;
        left: -10px;
    }

}
@media screen and (max-width: 500px) {
    html,
    body {
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    body {
        position: relative;
    }

    #home-content {
        display: block;
        margin: 0;
        padding: 150px 0 20px 0;
        min-height: 100vh;
        position: relative;
        z-index: 10;
    }

    #home-content-text {
        display: block;
        height: auto;
        position: relative;
        z-index: 20;
        padding: 15px 16px;
    }

    /* text block to the right */
    #home-content-text > div:first-child {
        width: 48%;
        margin-left: auto;
        margin-right: 0;
        display: block;
        text-align: left;
    }

    #home-content-text > div > h1 {
        font-size: 30px;
        line-height: 1.15;
        margin: 0 0 12px;
        max-width: 180px;
    }

    #home-content-text > div > p {
        font-size: 15px;
        line-height: 1.45;
        max-width: 185px;
        margin: 0;
    }

    #home-content-text > div > button {
        display: none;
    }

    /* character moved to left bottom */
    #home-content-img {
        position: fixed;
        bottom: 0%;
        left: 12px;
        width: auto;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        pointer-events: none;
        z-index: 12;
        transform: none;
    }

    #home-character {
        width: 150vw;
        height: auto;
        margin: 0;
        left: -24%;
        position: relative;
        z-index: 12;
    }

    /* clouds */
    #cloud-wrapper {
        display: none;
    }

    #cloud-wrapper-mobile {
        display: block;
        position: fixed;
        inset: auto 0 0 0;
        width: 100%;
        height: 220px;
        pointer-events: none;
        z-index: 11;
        overflow: hidden;
    }

    .clouds-bg-mobile {
        position: absolute;
        height: auto;
        max-width: none;
    }

    #cloud1-bg-mobile {
        width: 120%;
        left: -50%;
        bottom: 0;
        z-index: 11;
        transform: none;
    }

    #cloud2-bg-mobile {
        width: 130%;
        height: 250%;
        left: -19%;
        bottom: 0%;
        z-index: 10;
    }

  
}