@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.raleway-head {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.open-sans-subhead {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    cursor: default;
}

a,
i {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background: #1DA8CD;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 10px;
    outline: none;
    background-color: #2E2E2E;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    scale: 0.6;
    transition: 0.3s;
    max-height: 90px;
    max-width: 90px;
}

#myBtn img {
    max-width: 60px;
}

#myBtn:hover {
    background-color: #555;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: #1A2529;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
}

.riac {
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-left: 3px solid white;
}

.svnit {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.logo-image {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.logo-image img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;

    ul {
        display: flex;
        list-style: none;
    }

    ul li {
        padding: 0 10px;
    }

    ul li a {
        color: white;
        font-size: 20px;
        position: relative;
    }

    ul li a::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 4px;
        background-color: white;
        bottom: -2px;
        left: 0;
        transform-origin: right;
        transform: scaleX(0);
        transition: transform .3s ease-in-out;
    }

    ul li a:hover::before {
        transform-origin: left;
        transform: scaleX(1);
    }
}

header p {
    padding: 10px;
    font-size: 23px;
}

main {
    position: relative;
}

.intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-msg {
    padding: 70px;

    h1 {
        font-size: 60px;
        padding: 10px;
    }

    p {
        font-size: 25px;
        padding: 10px;
    }
}


.button {
    display: inline-block;
    margin: 10px;
    padding: .5rem 1.25rem;
    border-radius: 10rem;
    color: #000000;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .1rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid black;

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10rem;
        z-index: -2;
    }

    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: black;
        transition: all .3s;
        border-radius: 10rem;
        z-index: -1;
    }

    &:hover {
        color: #fff;

        &:before {
            width: 100%;
        }
    }
}

.intro-image {
    padding: 60px;
}

.about {
    position: relative;
    background-color: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .logo-image {
        height: 80px;
        width: 80px;
        border-radius: 50%;
    }

    .logo-image img {
        height: 80px;
        width: 80px;
        border-radius: 50%;
    }

    h1 {
        text-align: center;
        font-size: 60px;
        padding: 20px;
    }

    p {
        font-size: 25px;
        padding: 10px 200px;
        text-align: center;
    }

    .bgimage {
        position: absolute;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.key-focus {
    position: relative;
    background-color: #1A2529;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.title {
    padding-top: 20px;
    text-align: center;
}

.title h1 {
    font-size: 60px;
    padding: 20px;
    color: #1DA8CD;
}

.title p {
    font-size: 25px;
    padding: 10px 200px;
}

.timeline {
    margin: 4em auto;
    max-width: 34.15em;
}

.checkpoint {
    max-width: 34em;
    padding-top: 2em;
    padding-bottom: 2em;
    position: relative;
}

.checkpoint div {
    border: 2px solid #888;
    border-radius: 1em;
    padding: 1.5em;
}

.checkpoint h2 {
    color: #1DA8CD;
}

.checkpoint p {
    line-height: 27px;
    color: #ccc;
}

.checkpoint:nth-child(odd) {
    border-left: 3px solid #888;
    padding-left: 3em;
    transform: translateX(17em);
}

.checkpoint:nth-child(even) {
    border-right: 3px solid #888;
    padding-right: 3em;
    transform: translateX(-17em);
}

.checkpoint:nth-child(odd)::before,
.checkpoint:nth-child(even)::before {
    content: "";
    background-color: #888;
    width: 3em;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.checkpoint:nth-child(odd)::before {
    left: 0;
}

.checkpoint:nth-child(even)::before {
    right: 0;
}

.checkpoint:nth-child(odd) div::before,
.checkpoint:nth-child(even) div::before {
    content: "";
    background: #1DA8CD;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.checkpoint:nth-child(odd) div::before {
    left: -0.5em;
}

.checkpoint:nth-child(even) div::before {
    right: -0.5em;
}

.events {
    position: relative;
    padding-bottom: 100px;
    background-color: #CDF3E5;
}

.event-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event {
    height: 400px;
    width: 400px;
    background-color: #F4F4F4;
    margin: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 3%;
    transition: .1s ease;

    h3 {
        font-size: 20px;
        padding-top: 0;
        padding: 20px;
    }

    p {
        padding: 40px;
        font-size: 20px;
    }
}

.event img {
    padding: 20px;
}

ul {
    line-height: 2;
    padding: 0 20px 0 40px;
}

ul li {
    font-size: 15px;
}

.event:hover {
    scale: 1.01;
}

.joinus {
    position: relative;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outro-msg {
    padding: 70px;

    h1 {
        font-size: 60px;
        padding: 30px 10px;
        color: #1DA8CD;
    }

    h3 {
        font-size: 30px;
        padding: 10px;
        color: #1DA8CD;
    }

    p {
        font-size: 17px;
        padding: 10px;
    }

    p a {
        color: white;
    }

    p a:hover {
        color: #1DA8CD;
    }
}

.outro-image {
    padding: 60px;
}

.social-icons {
    padding: 10px;
}

.social-icons i {
    color: white;
    font-size: 25px;
    padding: 5px;
}

.social-icons i:hover {
    color: #1DA8CD;
}

footer {
    position: relative;
    background-color: #000000;
    color: white;
}

.bottombar {
    padding: 30px;

    p {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .event {
        scale: 0.8;
    }
}

@media (max-width: 600px) {
    .intro-image img {
        scale: 0.8;
    }

    .outro-image img {
        scale: 0.8;
    }
}

@media (max-width: 630px) {
    .riac p {
        display: none;
    }

    header {
        justify-content: center;
    }
}

@media (max-width: 750px) {
    button {
        display: none;
    }

    .intro-msg h1,
    .about h1,
    .title h1 {
        font-size: 50px;
    }
}

@media (max-width: 1090px) {
    .links {
        display: none;
    }
}

@media (max-width: 1150px) {
    .timeline {
        width: 80vw;
    }

    .timeline .checkpoint {
        width: 100%;
        transform: none;
        padding-left: 0;
        padding-right: 0;
        border: none;
    }

    .timeline .checkpoint::before {
        width: 3px;
        height: 4em;
        top: -2em;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline .checkpoint div::before {
        top: -0.5em;
        left: 50%;
        transform: translateX(-50%);
    }

    .event-container {
        flex-direction: column;
    }

    .joinus {
        flex-direction: column-reverse;
    }

    .about p,
    .title p {
        padding: 10px 50px;
    }
}

@media (max-width: 1230px) {
    .intro {
        flex-direction: column;
    }
}