
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'become';
    src: url('fonts/become.otf') format('opentype');
}

html {
    scroll-behavior: smooth;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}
/* Reset CSS */

/* Main CSS */

body {
    font-family: "Poppins", 'become', sans-serif;
    font-weight: 100;
}

.font {
    font-family: "Frank Ruhl Libre";
}

.font_alt {
    font-family: "Nanum Gothic", sans-serif;
}

main {
    position: relative;
}

main div.video {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation-duration: 4s;
}

main div.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

main::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(98, 62, 42, .60);
}

main section div.text {
    position: absolute;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    gap: 25px;
    z-index: 1;
    padding: 100px 0;
    box-sizing: border-box;
}

main section div.text h3 {
    color: white;
    font-size: 28px;
    letter-spacing: 1px;
}

main section div.text > img {
    width: 250px;
    height: auto;
}

main section div.text p {
    font-size: 30px;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
}

main section div.text a.btn {
    background-color: white;
    color: rgba(98, 62, 42, .9);
    border-radius: 25px;
    padding: 10px 50px;
    margin-top: 50px;
    letter-spacing: 1px;
    font-weight: 300;
}

main section.collective {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: flex-end;
    align-content: flex-end;
}

main section.collective div.text {
    align-items: flex-end;
    align-self: flex-end;
    align-content: flex-end;
    padding: 50px;
    gap: 40px;
}

main section.collective div.text > a {
    font-weight: 300;
    font-size: 30px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition-duration: .5s;
}

main section.collective div.text > a img {
    width: 40px;
    height: auto;
    transform: rotate(270deg);
    filter: invert(1);
    display: none;
    transition-duration: .5s;
}

main section.collective div.text > a:hover img {
    display: block;
    transition-duration: .5s;
}

main section.collective div.text > a::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 3px;
    background-color: white;
    bottom: -5px;
    right: 0;
    transition-duration: .5s;
}

main section.collective div.text > a:nth-child(2):after {
    width: 180%;
    transition-duration: .5s;
}

main section.collective div.text > a:nth-child(3):after {
    width: 160%;
    transition-duration: .5s;
}

main section.collective div.text > a:nth-child(4):after {
    width: 140%;
    transition-duration: .5s;
}

main section.collective div.text > a:nth-child(5):after {
    width: 120%;
    transition-duration: .5s;
}

main section.collective div.text > a:nth-child(6):after {
    width: 100%;
    transition-duration: .5s;
}

main section.collective div.social_media {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

main section.collective div.social_media img {
    filter: invert(1);
    width: 40px;
    height: auto;
}

main section div.logo {
    position: absolute;
    left: 50px;
    top: 50px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    z-index: 99;
}

main section div.logo img {
    width: 100px;
    height: auto;
}

main section div.logo span {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-bottom: -2px;
}

main section div.logo span h3 {
    color: white;
    font-weight: 300;
    font-size: 25px;
    letter-spacing: 1px;
}

main section div.logo span p {
    font-size: 14px;
    color: white;
    font-family: 'Roboto', sans-serif;
}

main section.academy div.text {
    width: 80%;
}

main section.academy div.text div.buttons {
    display: flex;
    gap: 25px;
}

main section.academy div.text p {
    width: 90%;
    font-size: 20px;
}

main section.academy div.text div.buttons a.btn {
    background-color: rgb(225, 219, 201);
    border-radius: 5px;
}

main section.search {
    gap: 100px;
    justify-content: flex-end;
}

main section.search form {
    position: absolute;
    width: 40%;
    top: 33%;
    bottom: 0;
    margin: auto 0;
}

main section.search form::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 11px;
    background: url(/images/icons/search.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 40px;
    height: 40px;
    z-index: 999;
    filter: invert(1);
}

main section.search form input {
    width: 100%;
    font-size: 20px;
    font-weight: 200;
    display: block;
    border: 3px solid white;
    background: transparent;
    padding: 15px 50px;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    color: white;
    font-family: "Poppins", sans-serif;
}

main section.search form input::placeholder {
    color: white;
}

main section.search div.text {
    width: 100%;
    padding: unset;
    padding: 20px 0;
    gap: 100px;
}

main section.search div.text div.buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
}

main section.search div.text div.buttons div {
    width: 20%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

main section.search div.text div.buttons div h3 {
    font-size: 18px;
    font-weight: 400;
}

main section.search div.text div.buttons div p {
    font-size: 14px;
    font-weight: 200;
    text-align: start;
    line-height: 1.5em;
    letter-spacing: .4px;
}

main section.search div.text div.buttons div img {
    width: 50px;
    height: auto;
    font-family: "become", sans-serif;
}

main section.search div.text div.buttons div a {
    border-radius: 0;
    font-weight: 500;
}

main section.search div.footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    align-items: center;
}

main section.search div.footer a, main section.search div.footer p {
    letter-spacing: unset;
    font-size: 14px;
    color: white;
    font-weight: 400;
    transition-duration: .5s;
}

main section.search div.footer a:hover {
    text-decoration: underline;
    transition-duration: .5s;
}

main section.footer {
    background-color: rgb(166, 122, 100);
}
/* Main CSS End */

main section.footer {
    padding: 50px;
    gap: 50px;
    box-sizing: border-box;
    justify-content: flex-end;
}

main section.footer div.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    box-sizing: border-box;
    position: relative;
}

main section.footer div.buttons div {
    width: 20%;
    border: 1px solid white;
    padding: 25px;
    box-sizing: border-box;
}

main section.footer div.buttons div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

main section.footer div.buttons div h3 {
    color: white;
    font-weight: 300;
}

main section.footer div.buttons div ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

main section.footer div.buttons div ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

main section.footer div.buttons div ul li img {
    width: 25px;
    height: auto;
    filter: invert(1);
}

main section.footer div.buttons div ul li p {
    color: white;
    line-height: 1.5em;
    font-size: 14px;
    font-weight: 300;
}

main section.footer p.social_media {
    font-size: 25px;
    color: white;
    position: relative;
    font-weight: 300;
}

main section.footer div.social_media {
    display: flex;
    gap: 20px;
}

main section.footer div.social_media img {
    width: 30px;
    height: auto;
    filter: invert(1);
    border: 1px solid black;
    border-radius: 50%;
    padding: 10px;
}

main section.footer a.btn {
    border: 1px solid white;
    border-radius: 25px;
    color: white;
    padding: 10px 50px;
    position: relative;
    font-weight: 300;
    font-style: italic;
}

@media only screen and (max-width: 600px) {
    main section div.logo {
        left: 20px;
        top: 20px;
    }
    
    main section div.logo img {
        width: 50px;
    }
    main section div.text {
        width: 90%;
    }

    main section div.text > img {
        width: 200px;
    }

    section.slider {
        
    }

    main section.collective div.text {
        gap: 30px;
        height: 100vh;
        justify-content: flex-end;
    }

    main section.collective div.text > a {
        font-size: 20px;
    }

    main section.collective div.text > a::after {
        width: 180%;
    }

    main section.collective div.text > a:nth-child(2):after {
        width: 170%;
    }

    main section.collective div.text > a:nth-child(3):after {
        width: 160%;
    }

    main section.collective div.text > a:nth-child(4):after {
        width: 150%;
    }

    main section.collective div.text > a:nth-child(5):after {
        width: 160%;
    }

    main section.collective div.text > a:nth-child(6):after {
        width: 140%;
    }

    main section.collective div.social_media {
        margin-top: 25px;
    }

    main section.collective div.social_media img {
        width: 20px;
    }

    main section.search {
        overflow-y: scroll;
        height: auto;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 50px 0;
        gap: 0;
    }

    main section.search div.logo {
        display: none;
    }

    main section.search form {
        display: none;
    }

    main section.search div.text {
        gap: 0;
        position: relative;
        height: auto;
        padding: 0;
        flex-wrap: nowrap;
    }

    main section.search div.text div.buttons {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    main section.search div.text div.buttons div {
        width: 100%;
        padding: 8px 20px;
        flex-direction: row;
        align-items: center;
    }

    main section.search div.text div.buttons div span {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    main section.search div.text div.buttons div h3 {
        font-size: 15px;
        width: 100px;
        text-align: start;
    }

    main section.search div.text div.buttons div p {
        font-size: 12px;
    }

    main section.search div.footer {
        margin-top: 50px;
    }

    main section.search div.footer a, main section.search div.footer p {
        font-size: 10px;
    }
}