@font-face {
    font-family: 'Brick';
    src: url('/assets/fonts/brick/Brick.woff');
}

body {
    background-color: #000;
    background-image: url(/assets/img/background_landing.jpg);
    background-color: #000;
    background-image: url(/assets/img/background_landing.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    margin: 0;
}

p, h3, label {
    font-family: 'Poppins', sans-serif;
}

header.header__main {
    display: flex;
    max-width: 80%;
    margin: auto;
    justify-content: center;
    align-items: center;
    padding: 4rem 0rem 6rem 0rem;
}

a.link__page {
    display: block;
    margin: auto;
}

.links__social__media { 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem
}

.links__social__media i{ 
    color: #707070;
    font-size: 22px;
} 

.links__social__media-mobil {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 40px;
    display: none;
}

.links__social__media-mobil i {
    color: #707070;
    font-size: 22px;
}

.container__info {
    max-width: 540px;
    margin: 0 auto;
}

.title__landing {
    font-family: 'Brick';
    color: #0c0c0c;
    text-shadow: 
    1px  0px 0px #FFF200,
    0px  1px 0px #FFF200,
    -1px  0px 0px #FFF200,
    0px -1px 0px #FFF200;
    font-size: 5.6rem;
    margin: 0;
}

.container__info p.text__copy {
    color: #fff;
    max-width: 530px;
    margin-top: 4rem;
}

.container__info h3 {
    color: #fff;
    font-size: 1.2rem;
    max-width: 435px;
    margin-top: 5rem;
}

.flex__intructions {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 3rem;
    padding-left: 4rem;
}

.flex__intructions p {
    color: #fff;
    max-width: 530px;
    margin: 0;
}

.container__form {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
    background-color: rgba(27, 27, 27, 0.8);
    border-radius: 2rem;
    padding: 2rem 3rem;
}

form label {
    color: #fff;
    margin-top: 2rem;
}

form input {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #FFF200;
    color: #fff;

    &:focus-visible {
        border-bottom: 1px solid #FFF200;
        outline: -webkit-focus-ring-color auto 0px;
    }
}

.form_group {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.form_group > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

input[type=file]::-webkit-file-upload-button {
    display: none;
}

.upload__icon {
    margin-left: 10px;
}

.submit__form {
    background-color: #FFF200;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 6px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;

    &:hover {
        cursor: pointer;
    }
}

.form_group_upload {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.container__progress {
    display: none;
    justify-content: center;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}

.progress-container {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

span#upload-percentage {
    color: #FFF200;
    font-family: 'Poppins';
}

progress::-webkit-progress-value {
    background-color: #FFF200;
    border-radius: 20px;
    height: 20px;
}

progress {
    background-color: #000;
    border-radius: 20px;
    height: 20px;
    width: 350px;
    max-width: 80%;
}

progress::-webkit-progress-bar {
    background-color: #000;
    border-radius: 20px;
    height: 20px;
}

span#estimated-time {
    font-family: 'Poppins';
    font-size: 12px;
    color: #fff;
}

.container__success {
    text-align: center;
    display: none;
}

.container__success h2 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
}

.container__success p {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.container__success img {
    margin-top: 20px;
}

.footer__landing {
    background-color: #1B1B1B;
    color: #737373;
    display: flex;
    padding: 0rem 8rem;
    justify-content: space-between;
}

.footer__landing p {
    font-size: 0.8rem;

    &:hover {
        text-decoration: underline;
        cursor: pointer;
    }
}

a.link__footer, a.link__popup {
    text-decoration: none;
    color: #737373;
}

.popup__layout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.popup__body {
    background-color: #1B1B1B;
    width: 650px;
    height: 650px;
    border-radius: 2rem;
    padding: 1rem 2rem;
    overflow: scroll;
}

.popup__content {
    padding: 2rem;
}

.popup_close {
    position: sticky;
    float: right;
    top: -16px;
    padding-top: 10px;
    
    &:hover {
        cursor: pointer;
    }
}

.popup__text h2 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.popup__text p {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: justify;
}

.error {
    background-color: #ff3838;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 30px;
    font-family: 'Poppins';
    font-size: 10px;
    color: #fff;
}

form#upload-form {
    padding-bottom: 3rem;
}

#server-message p {
    font-size: 10px;
    color: #fff;
}

/* Responsive */

@media only screen and (max-width: 600px) {
    
    .img__text {
        width: 260px;
    }

    .container__info {
        max-width: 85%;
    }

    .form_group {
        flex-direction: column;
    }

    .form_group > div {
        flex: auto;
    }

    .container__form {
        max-width: 75%;
        padding: 1rem 1.6rem;
    }

    .footer__landing {
        flex-direction: column;
        align-items: center;
        padding: 0rem;
    }

    .form_group_upload {
        flex-direction: column;
        align-items: center;
    }

    .submit__form {
        margin-top: 20px;
    }

    .links__social__media {
        display: none;
    }

    .links__social__media-mobil {
        display: flex;
    }

    .title__landing {
        font-size: 3rem;
    }

    .container__info p.text__copy {
        max-width: 290px;
    }

    .flex__intructions {
        padding-left: 3rem
    }

    .title__landing, .container__info p.text__copy, .container__info h3 {
        margin-left: 42px;
        margin-top: 2rem;
    }

    header.header__main {
        padding: 4rem 0rem 2rem 0rem;
    }

    form#upload-form input {
        font-size: 18px;
    }

    body {
        background-image: url(/assets/img/background_mobil.png);
    }

}

/* Responsive */