:root {
    --ff-head: 'Roboto', sans-serif;
    --ff-copy: 'Merriweather', serif;
    --pri-col-100: #60BAD8;
    --pri-col-200: #98C21D;
    --pri-col-300: #FF6700;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    background: #242424;
    background: linear-gradient(146deg, rgba(27, 27, 27, 1) 0%, rgba(59, 59, 59, 1) 100%);
    margin: 0px;
    position: relative;
    min-height: 100vh;
}

h2 {

    font-family: var(--ff-head);
    font-size: 2.6rem;
    font-weight: 300;
    margin-top: 0px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    border-block-end: 1px solid #fff;
    border-width: 40%;
    width: calc(100% - 180px);
    position: absolute;
}

p {
    font-family: var(--ff-copy);
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-block: 1rem;
}

h1 {
    color: var(--pri-col-300);
    font-family: var(--ff-head);
    font-size: 4rem;
    margin-block: 0px 1rem;
}

h2,
p {
    color: #fff;
}

.journey-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-inline: auto;
    min-width: 900px;
    max-width: 1440px;
    padding: 1rem;
    position: relative;
    height: 98vh;
}

.journeys-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-line-wrapper {
    display: flex;
    align-items: center;
    width: calc(100% - 400px);
}

.school-logo {
    max-width: 100%;
}

.logo-wrapper {
    background-color: #fff;
    border: 2px solid var(--pri-col-300);
    border-radius: 50vw 0px 0px 50vw;
    padding-inline: 1rem;
    width: 300px;
}


.line {
    height: 2px;
    width: calc(100% - 300px);
    background-color: var(--pri-col-300);
}


.card-holder {
    box-shadow: 0px 3px 10px hsl(0, 0%, 11%);
    display: block;
    position: relative;
    min-width: 900px;
    max-width: 1440px;
    margin-inline: auto;

}

.card {
    background: rgb(96, 186, 216);
    background-image: linear-gradient(180deg, var(--pri-col-100) 73%, var(--pri-col-200) 100%);
    border-radius: 10px;
    min-height: 650px;
    padding-inline: 1rem 1rem;
    padding-block: 1rem 2rem;
    opacity: 0;
    z-index: 10;
    transition: height 750ms, opacity 750ms linear;
}

.card .journey-text {
    transition: opacity 1000ms 750ms linear;
    opacity: 0;
}


.card[data-inview="true"] {
    transition: height 750ms, opacity 750ms linear;
    opacity: 1;
}

.card[data-inview="true"] .journey-text {
    opacity: 1;
}

.card[data-inview="false"] {
    display: none;
}

.sun {
    aspect-ratio: 1 / 1;
    background-image: url(../svg/HSLogoSun.svg);
    background-position: center center;
    background-size: 130%;
    border-radius: 50%;
    right: 0rem;
    top: -0.2rem;
    position: absolute;
    width: 130px;
    box-shadow: 0px 0px 25px 10px rgb(233, 213, 67);
    z-index: 1;
}

.cloud {
    display: block;
    height: 120px;
    left: 0rem;
    min-width: 100%;
    position: absolute;
    overflow: hidden;
}

.cloud-mid {
    top: 150px;
}

.cloud-low {
    top: 45%;
}

.cloud-one,
.cloud-two,
.cloud-three {
    display: block;
    opacity: 0.3;
    position: absolute;
    z-index: 10;
}

.cloud-one {
    width: 175px;
    animation: cloudmoveone 105s infinite;
}

.cloud-two {
    width: 105px;
    animation: cloudmovetwo 115s infinite;
}

.cloud-three {
    width: 155px;
    right: 50px;
    z-index: 0;
    animation: cloudmovetwo 205s infinite, cloudmovethree 155s infinite;
}


@keyframes cloudmoveone {
    from {
        opacity: 0;
        right: 10%;
    }

    to {
        opacity: 0.6;
        right: 110%;
    }
}

@keyframes cloudmovetwo {
    from {
        opacity: 0;
        left: 10%;
    }

    to {
        opacity: 0.6;
        left: 110%;
    }
}


@keyframes cloudmovethree {
    from {
        left: 110%;
        opacity: 0.7;
    }

    to {
        opacity: 0;
        left: 40%;
    }
}

.myname {
    font-family: var(--ff-head);
    font-weight: 900;
}

.journey-text {
    padding-inline: 3rem 8rem;
}

.sign-post {
    height: 400px;
    bottom: 1.5rem;
    right: 1rem;
    position: absolute;
    z-index: 1;
}

.sign-post-shadow {
    background-color: #38330e;
    border-radius: 50%;
    display: block;
    filter: blur(6px);
    height: 40px;
    position: absolute;
    right: 3.5rem;
    bottom: 1.2rem;
    width: 60px;
}

.basepost {
    background-color: #38330e;
    display: block;
    filter: blur(6px);
    height: 10px;
    position: absolute;
    right: 4rem;
    bottom: 2rem;
    width: 30px;
    z-index: 1;
}

.refugee-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.refugee-week-logo {
    background-color: #fff;
    border-radius: 50vw;
    margin-inline: auto;
    width: 300px;
}


.card-controls {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    height: 45px;
    width: 100%;
}

.prev-btn,
.next-btn {
    align-items: center;
    background-color: #242424;
    box-shadow: 0px 0px 8px 3px #121212;
    border-radius: 50vw;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: var(--ff-head);
    font-weight: 900;
    font-size: 1.5rem;
    height: 45px;
    justify-content: center;
    margin: 0px;
    padding: 0px;
    width: 100px;
    z-index: 100;
}

.controls-info {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 100;
    justify-content: center;
}

.btn-text {
    font-family: var(--ff-head);
    font-weight: 300;
    font-size: 1rem;
    vertical-align: middle;
}

.prev-btn:hover,
.next-btn:hover {
    transform: scale(1.1);
}

.journey-cnt {
    background-color: #242424;
    border-radius: 50vw;
    box-shadow: 0px 0px 8px 3px #121212;
    color: #fff;
    font-family: var(--ff-head);
    font-size: 1.4rem;
    font-weight: 900;
    padding: 0.5rem 1rem;
}

.journey-counter {
    font-weight: 300;
    text-align: center;
}


.approve {
    background-image: url(../images/approved.png);
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 200px;
    filter: blur(1px);
    height: 150px;
    mix-blend-mode: multiply;
    opacity: 0.4;
    position: relative;
    right: -1000px;
    rotate: 25deg;
    width: 300px;
}