@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;
    text-decoration: none;
    color: #452f93;
}

body {
    font-family: sans-serif;
    font-size: 1.2rem;
    /* background-color: #fff; */
    background-color: whitesmoke;
    overflow-x: hidden;
}

h2 {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
}

h3 {
    font-family: 'Nunito', sans-serif;
    font-size: large;
}

h5 {
    margin-top: 2%;
    font-size: medium;
    color: #6e4ee2;
}

header {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #bfadff;
}

nav {
    background-color: #bfadff;
    height: 10%;
    transition: .5s ease-in-out;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 20px #452f93;
}

.container {
    box-shadow: 0 -2px 20px #452f93;
}

nav .nav-links {
    display: flex;
    list-style: none;
    width: 70%;
    height: auto;
    max-width: 700px;
    align-items: center;
    justify-content: space-around;
}

nav .nav-links a {
    color: #452f93;
    text-decoration: none;
    transition: 0.5s;
}


nav .nav-links a:hover {
    font-size: 1.25rem;
    font-weight: bold;
    transition: 0.5s;
}


header nav #logo {
    width: 10vw;
    height: auto;
}

.header-intro {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* font-size: 60%; */
    padding-bottom: 5rem;
    padding-top: 2%;
}

body .container {
    padding-bottom: 0.7rem;
    overflow: hidden;
    width: 100vw;
    height: auto;
    position: relative;
}

body .container .slider {
    width: 500%;
    height: 100%;
    display: flex;
    left: 0;
}

.slider .slide {
    width: 20%;
    transition: .6s;
}

.buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.buttons a {
    height: 8px;
    width: 30px;
    border: 2px solid #6e4ee2;
    margin: 0 5px;
    border-radius: 10px;
}

a.active {
    transition: .5s;
    transform: scale(0.999);
    background: #6e4ee2;
    animation: animate .4s;
}

.body-text {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    font-size: x-large;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
}

body .container .slider .slide {
    position: relative;
    float: left;
    width: 20%;
    height: 100%;
}

body .container .slider .slide .caption {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 3%;
    padding-bottom: 5%;
}

body .container .slider .slide .caption .btn {
    width: 50vw;
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
    color: #fff;
}

body .container .slider .slide .caption .btn .btn-one {
    text-decoration: none;
    padding: 1rem;
    border: 2px solid #6e4ee2;
    border-radius: 5px;
    font-weight: bold;
    transition: .3s;
    font-size: 80%;
}

body .container .slider .slide .caption .btn .btn-one:hover {
    background-color: #6e4ee2;
    color: #fff;
}

body .container .slider .slide .caption .btn .btn-two {
    text-decoration: none;
    padding: 1rem;
    background-color: #6e4ee2;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    font-size: 80%;
}

body .container .slider .slide .caption .btn .btn-two:hover {
    transform: scale(0.98);
}

footer {
    width: 100%;
    background-color: #bfadff;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    /* box-shadow: 0px -2px 25px 2px #452f93; */
}

footer .footerText {
    width: 120%;
    color: #452f93;
    font-size: 60%;
}

footer img {
    width: 5%;
}

#topBtn {
    position: fixed;
    bottom: 3%;
    right: 1%;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #452f93;
    color: white;
    cursor: pointer;
    padding: 1%;
    border-radius: 100%;
    font-size: 80%;
}

@media screen and (max-width:600px) {
    body {
        position: relative;
        height: 100vh;
    }

    header {
        height: auto;
    }

    .container {
        height: calc(150vh - 5em);
    }

    .container img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    nav {
        width: 100%;
        height: 10vh;
        position: fixed;
        z-index: 3;
        box-shadow: none;
    }

    header nav #logo {
        width: auto;
        height: auto;
    }

    #topBtn {
        position: fixed;
        bottom: 20px;
        right: 30px;
        z-index: 99;
        border: none;
        outline: none;
        background-color: #452f93;
        color: white;
        cursor: pointer;
        padding: 1%;
        border-radius: 100%;
        font-size: 80%;
    }

    .dropdown {
        position: absolute;
        right: 4%;
        top: 50%;
        transform: translate(-4%, -50%);
        cursor: pointer;
        z-index: 3;
    }

    .body-text{
        font-size: medium;
    }

    .caption{
        font-size: medium;
    }

    .line {
        width: 5vw;
        height: 0.4vh;
        background-color: #fff;
        margin: 5px;
    }

    #topBtn{
        visibility: hidden;
    }

    nav .nav-links {
        position: absolute;
        background-color: #6e4ee2;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(80px at 50% 0%);
        -webkit-clip-path: circle(10% at 95% 2%);
        transition: all 1s ease-out;
        pointer-events: none;
    }

    nav .nav-links a {
        color: whitesmoke;
    }

    .nav-links.open {
        clip-path: circle(1000px at 90% 0%);
        -webkit-clip-path: circle(1000px at 90% 0%);
        pointer-events: all;
    }

    body .container .slider .slide .caption {
        font-size: 0.7rem;
        padding: 10px 0 70px;
        z-index: 3;
    }

    body .container .slider .slide .caption h5 {
        padding-bottom: 5%;
    }

    body .container .slider .slide .caption .btn {
        width: 100%;
        margin-top: 5px;
        padding-bottom: 2vh;
        font-size: 150%;
    }

    .header-intro {
        width: 120vw;
        height: auto;
        font-size: 2.7vw;
        margin-top: 13vh;
        margin-left: -9%;
        position: relative;
    }

    .header-intro img {
        width: 100%;
        height: auto;
        max-width: calc(100vh - 5em);
    }

    .header-intro h2,
    h3 {
        font-size: 170%;
    }

    .buttons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        padding-bottom: 6vh;
    }

    footer .footerText {
        font-size: 3vw;
    }

    footer img {
        width: 4%;
    }

    footer {
        height: 7vh;
        /* position: fixed; */
        font-size: 90%;
        bottom: 0;
        left: 0;
    }
}