/* Safari mobile view port heigh? vh vs dvh? */
/* Color of submit on button text */
/* active input highlight colour */
/* remove the about pages & projects pages for now? */
/* Resets */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

/* Variables */
:root {
    --light-blue: #62CAE3;
    --dark-blue: #00274D;
    --white: #FFF;
    --light-orange: #FFBF69;
    --dark-orange: #E37B62;
    --edge-padding: 15%;
}

html {
    color: var(--dark-blue);
    background-color: var(--white);
    font-size: 16px;
    font-family: Arial;
    overflow-x: hidden;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a,
a:visited {
    color: var(--dark-blue);
}

a:hover,
a:active {
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    background-color: var(--light-blue);
    padding-right: var(--edge-padding);
    padding-left: var(--edge-padding);
}

main {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 95vh;
    justify-content: center;
    padding-left: var(--edge-padding);
    padding-right: var(--edge-padding);
}

footer {
    padding: 2rem;
    color: var(--white);
    background-color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

address {
    font-style: normal;
}


label {
    display: block;
    font-weight: 1000;
    font-size: 1.2rem
}

input,
textarea {
    padding: 0.5rem;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--white);
    border-radius: 2px;
    border: 1px solid var(--dark-blue);
    box-sizing: border-box;
}

input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--dark-blue);
    transition: 0.2s ease;
}

textarea {
    min-height: 10rem;
}

button {
    cursor: pointer;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    display: block;
    width: max-content;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-right: 3rem;
    padding-left: 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--dark-blue);
    background-color: var(--dark-blue);
    text-align: center;
    font-size: 1rem;
    color: var(--white);
}

button:hover {
    color: var(--dark-blue);
    background-color: var(--white);
    transition: 0.5s ease;
}

button:disabled {
    visibility: hidden;
}

.logo {
    background: url(choto-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 55px;
    width: 50px;
    margin-right: 0.3rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

nav {
    margin-left: auto;
    display: flex;
}

nav>* {
    margin-left: 1.5rem;
}

.full {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.splash {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: url(choto_graph.png);
    background-color: var(--light-blue);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    color: var(--dark-blue);
    padding-left: var(--edge-padding);
    padding-right: var(--edge-padding);
}

.splash>h1 {
    margin-top: 15%;
    margin-bottom: 5%;
}

.link-outline,
.link-outline:visited {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-right: 3rem;
    padding-left: 3rem;
    border-style: none;
    border-radius: 0.5rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    display: block;
    width: max-content;
}

.link-outline:hover {
    transition: 0.5s ease;
}

.light-background,
.light-background:visited {
    color: var(--dark-blue);
    background-color: var(--white);
}

.light-background:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.dark-background,
.dark-background:visited {
    background-color: var(--dark-blue);
    color: var(--white);
}

.dark-background:hover {
    background-color: var(--light-blue);
    color: var(--dark-blue);
}

.callouts-txt {
    width: 50%;
    padding: 5%;
}

.callouts-svg {
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    margin: auto;
    background-position: center;
}

.callouts {
    display: flex;
    min-height: 30vh;
    align-items: center;
}

.rows {
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    align-items: center;
}

.dark-background:hover {
    color: var(--dark-blue);
    background-color: var(--light-blue);
}

.no-margin {
    margin: 0;
}

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

    :root {
        --edge-padding: 12%;
    }
}

@media screen and (max-width: 1200px) {
        :root {
        --edge-padding: 10%;
    }

    .splash {
        justify-content: flex-start;
        padding-top: 10%;
    }

}

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


    nav {
        display: none;
        visibility: hidden;
    }

    .callouts-svg {
        width: 200px;
        height: 200px;
    }

    .contact-us {
        width: 100%;
    }
}


@media screen and (max-height: 600px) {
    .splash {
        padding-top: 2%;
    }

    .splash>h1 {
        margin-top: 1%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

}

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

    :root {
        --edge-padding: 5%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .callouts-txt>h3 {
        text-align: center;
    }

    .logo-text {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .callouts {
        flex-direction: column;
    }

    .link-outline-center-small{
        margin-left: auto;
        margin-right: auto;
    }

    .order-last {
        order: 2;
    }

    .callouts-txt {
        width: 100%;
        display: flex;
        flex-direction: column;
        /*! align-items: center; */
    }

    .callouts-svg {
        width: 150px;
        height: 150px;
    }

    .slide-up-container {
        height: 3rem;

        ul {

            li {
                height: 3rem;
            }
        }
    }
}

.orange-color-gradient {
    background: linear-gradient(to right, var(--light-orange), var(--dark-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-up-container {
    height: 4.5rem;
    overflow: hidden;
    list-style: none;

    ul {

        animation: slide-up 8s infinite linear forwards;

        li {
            text-transform: uppercase;
            display: flex;
            height: 4.5rem;
            margin: 0;
            padding: 0;
            align-items: center;
        }
    }
}

@keyframes slide-up {

    0%,
    10% {
        transform: translateY(0%)
    }

    20%,
    30% {
        transform: translateY(-16.66%)
    }

    40%,
    50% {
        transform: translateY(-33.33%)
    }

    60%,
    70% {
        transform: translateY(-49.99%)
    }

    80%,
    90% {
        transform: translateY(-66.66%)
    }

    100% {

        transform: translateY(-83.33%)
    }
}
