* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --main-font: 2.2rem;
    --p-font: 1.1rem;
}

html::-webkit-scrollbar {
    width: 0.8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5rem;
}

header {
    width: 100%;
    top: 0;
    right: 0;
    z-index: 100;
    position: sticky;
    background: #000000;
    box-shadow: 0px 2px 18px 0 rgb(129 162 182 / 20%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 8%;
    transition: 0.3s;
}

.navbar {
    display: flex;
}

.navbar a {
    font-size: var(--p-font);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 10px;
    transition: all 0.4s ease;
    text-align: center;
    color: #fff;
}

.navbar a:hover {
    background: var(--text-color);
    color: #eaded1;
}

body {
    background: #8b796c;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/img6.png) no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 50rem;
    padding-bottom: 10rem;
}

.home .content {
    text-align: center;
    width: 60rem;
}

.home .content h3 {
    color: var(--black);
    font-size: 3rem;
}

.home .content h3 span {
    color: var(--orange);
}

.home .content p {
    color: var(--light-color);
    font-size: 1.7rem;
    padding: 1rem 0;
    line-height: 1.8;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --main-font: 2.2rem;
    --p-font: 1.1rem;
}

body {
    background: #8b796c;
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #00baf0;
    background: #000000;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    height: 50px;
    padding: 1em;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu>li {
    margin: 0 1rem;
    overflow: hidden;
}

.menu a {
    font-size: var(--p-font);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 10px;
    transition: all 0.4s ease;
    text-align: center;
    color: #fff;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: "";
    margin-top: -8px;
}

.menu-button::after {
    content: "";
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/img6.png) no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 50rem;
    padding-bottom: 10rem;
}

.home .content {
    text-align: center;
    width: 60rem;
}

.home .content h3 {
    color: var(--black);
    font-size: 3rem;
}

.home .content h3 span {
    color: var(--orange);
}

.home .content p {
    color: var(--light-color);
    font-size: 1.7rem;
    padding: 1rem 0;
    line-height: 1.8;
}

button {
    background-color: #4caf50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 15px;
    cursor: pointer;
}

.question {
    margin: 35px;
    max-width: 768px;
    font-weight: bold;
}

.question p {
    text-align: center;
    font-size: 38px;
}

.result {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 22px;
    font-style: italic;
}

.answer {
    margin-left: 20px;
}

.result {
    margin-left: 20px;
    font-style: italic;
}

.timeline {
    position: relative;
    max-width: 1700px;
    margin: 100px auto;
}

.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
}

.text-box {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    font-size: 20px;
}

.text-box p {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
}

.text-box a {
    padding: 20px 30px;
    background-color: #fff;
    position: center;
    border-radius: 6px;
    font-size: 20px;
    display: block;
    margin: auto;
    text-align: center;
    border: 1px solid black;
    padding: 10px;
    width: 150px;
    text-decoration: none;
    color: black;
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: #fff;
    top: 0;
    left: 50%;
    margin-left: -3px;
}

.contact {
    padding: 80px 17%;
    background: var(--text-color);
}

.main-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-content-left li {
    margin-bottom: 15px;
    position: left;
}

.contact-content-left li a {
    display: block;
    color: var(--bg-color);
    font-size: var(--p-font);
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact-content-left li a:hover {
    transform: translateX(-10px);
}

.contact-content-right li {
    margin-bottom: 15px;
    position: center;
}

.contact-content-right li a {
    display: block;
    color: var(--bg-color);
    font-size: var(--p-font);
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact-content-right li a:hover {
    transform: translateX(-10px);
}

.action form {
    text-align: center;
}

.action form input[type="email"] {
    width: 460px;
    max-width: 100%;
    padding: 12px 15px;
    background: #515151;
    color: var(--bg-color);
    border: none;
    outline: none;
    margin: 0px 10px 20px 0px;
    font-size: 16px;
    font-weight: 600;
}

.action form input[type="submit"] {
    padding: 10px 35px;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    outline: none;
    margin: 0px 10px 20px 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.last {
    text-align: center;
    padding: 17px;
    background: #000000;
}

.last p {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo a {
    font-size: var(--p-font);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 10px;
    transition: all 0.4s ease;
    text-align: center;
    color: #fff;
}

input[type="text"] {
    border: 3px solid black;
    border-radius: 4px;
    height: 35px;
    width: 350px;
    font-size: 18px;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
}

.rasp {
    text-align: center;
    margin: 50px;
    font-size: 22px;
    font-style: bold;
    text-decoration: underline;
}

.rasp h1 {
    color: #000;
    margin: 50px;
}

.rasp a {
    color: #000;
    margin: 15px;
    font-weight: 900;
}

img {
    margin: 15px;
    width: 1024px;
}

H1 {
    margin: 25px;
}

@media screen and (max-width: 1024px) {
    .menu-button-container {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 50px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle~.menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked~.menu li {
        border: 1px solid #333;
        height: 2.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
    }

    .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
    }

    .home {
        display: flex;
        align-items: center;
        justify-content: center;
        background: url(../img/img6.png) no-repeat;
        background-position: center;
        background-size: cover;
        padding-top: 50rem;
        padding-bottom: 1rem;
    }

    .container {
        width: 70%;
    }

    .timeline {
        align-items: center;
    }

    .timeline::after {
        width: 0px;
        height: 0%;
    }

    .left-container {
        left: 0;
    }

    .right-container {
        left: 0;
    }

    img {
        width: 764px;
    }
}

@media only screen and (max-width: 768px) {
    .menu-button-container {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 50px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle~.menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked~.menu li {
        border: 1px solid #333;
        height: 2.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
    }

    .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
    }

    /* home */
    .home {
        padding-top: 25rem;
        padding-bottom: 5rem;
    }

    .home .content {
        width: 100%;
    }

    .home .content h3 {
        font-size: 2rem;
    }

    .home .content p {
        font-size: var(--p-font);
    }

    /* timeline */
    .timeline {
        margin: 50px 0;
        font: 0px;
    }

    .container {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }

    .timeline::after {
        width: 0px;
        height: 0%;
    }

    /* contact */
    .contact {
        padding: 50px 5%;
    }

    .main-contact {
        grid-template-columns: repeat(1, auto);
        justify-items: center;
        text-align: center;
    }

    .contact-content-left li,
    .contact-content-right li {
        margin: 0;
    }

    .action form input[type="email"],
    .action form input[type="submit"] {
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .home {
        display: flex;
        align-items: center;
        justify-content: center;
        background: url(../img/img6.png) no-repeat;
        background-position: center;
        background-size: cover;
        padding-top: 20rem;
        padding-bottom: 1rem;
    }

    img {
        width: 300px;
    }
}