@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

* {
    /* border: solid 1px black; */
    box-sizing: border-box;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

/* 
Color list

 */

:root {
    --main-btn-color: #a6192e;
    --main-btn-text: #fff;
    --main-btn-hover: #fff;
    --main-btn-hover-text: #a6192e;
    --footer-color: #6d2077;
    --bg-blue: #005eb8;
    --bg-text: #fff;
}

html,
body {
    font-family: "Titillium Web", verdana, sans-serif;
    /* background-color: var(--bg-blue); */
    padding: 0;
    margin: 0;

}

body {
    background-image: linear-gradient(to right top, var(--main-btn-color), #ff3564);
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 1rem;
}

main {
    border: solid 1px var(--bg-text);
    padding: 1rem;
    height: 95vh;
}

header {
    width: 100%;
}

h1 {
    width: 100%;
    max-width: 10em;
    font-size: 5rem;
    word-wrap: break-word;
    color: var(--bg-text);
    line-height: 1.2;
}

/* nav start */
#menuToggle {
    display: block;
    /* position: relative; */
    /* top: 50px;
    left: 50px; */
    position: absolute;
    top: 3rem;
    right: 3rem;
    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: tomato;
}


#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: var(--bg-text);
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
    position: absolute;
    width: 300px;
    right: -500px;
    margin: 0;
    padding: 50px;
    padding-top: 125px;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;

    transform-origin: 0% 0%;
    /* transform: translate(-100%, 0); */

    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 10px 0;
    font-size: 22px;
}

/* ul {
    display: none;
} */

#menuToggle input:checked~ul {
    display: block;
    /* transform: none; */
    right: -10px;
}

/* nav end */
h2 {
    /* font-size: 4.5rem; */
    font-size: clamp(1.25rem, 0.9028rem + 2.7361vw, 4.375rem);
    max-width: 8em;
    word-wrap: break-word;
    font-weight: 300;
    line-height: 1;
}

section {
    display: flex;
    justify-content: center;
    color: var(--bg-text);
    gap: 1rem;
    /* margin: 1.5rem 1rem;
    padding: 1rem; */
    padding-top: 2rem;

}

#textBox {
    opacity: 0;
    transition: opacity ease-in-out 1s;
}

#arrowContainer {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}

#arrowContainer button {
    cursor: pointer;
    background: unset;
    border: solid 1px var(--bg-text);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin: .5rem;
}

#arrowContainer button:hover {
    opacity: .5;
}

#arrowContainer button i {
    font-size: xx-large;
    color: var(--bg-text);
}


.hidden {
    display: none;
}

.inline-middle {
    display: inline-block;
    width: 15rem;
    vertical-align: middle;
}


.mask {
    -webkit-mask-image: url(images/mask.png);
    mask-image: url(images/mask.png);
    -webkit-mask-size: 70%;
    mask-size: 70%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.col:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 90ch;
}

.col:first-of-type p {
    max-width: 50ch;
    font-size: clamp(0.625rem, 0.5556rem + 0.3472vw, 1.25rem);
}

.col:last-of-type {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col:last-of-type img:last-of-type {
    max-width: 30vw;
}

#floatImg {
    position: absolute;
    /* top: 50%;
    left: 50%; */
    /* transform: translate(50%, -50%); */
    /* transform-origin: 50% 50%; */
}

/* Animaiton powerd by Anisma.net*/
.scale-up-center {
    -webkit-animation: scale-up-center 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both;
    animation: scale-up-center 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both;
}

.slide-right {
    -webkit-animation: slide-right 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-right 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-10-22 11:28:44
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/**
 * ----------------------------------------
 * animation slide-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-right {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@media screen and (max-width:800px) {
    section {
        flex-direction: column-reverse;
    }

    .col:first-of-type {
        text-align: center;
        padding: 1rem;
    }

    .col:first-of-type p,
    h2 {
        max-width: unset;
    }

    .col:last-of-type {
        padding-top: 2rem;
    }

    .col:last-of-type img:last-of-type {
        max-width: 35vw;
    }

    h3 {
        margin: 0;
    }

    .inline-middle {
        display: block;
    }

}