@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
}

body {
    background: #0c122c;
    background-image: url('images/bg-desktop.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 50vmin;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

main {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4%;
    margin-bottom: 100px;
    transition: all ease 0.6s;
}

.logoAndImages {
    padding: 4rem 9rem 4rem 3rem;
    background-color: #1d2c67;
    border-radius: 10px 100px 10px 10px;
}

.images {
    display: flex;
    gap: 15px;
}

.iconDocument,
.iconFolder,
.iconUpload {
    width: 50px;
    height: 50px;
    margin-top: 30px;
    padding: 0.9rem;
    border-radius: 12px;
    background-color: #0c122c;
}

.iconDocument:hover,
.iconFolder:hover,
.iconUpload:hover {
    filter: invert(100%) sepia(94%) saturate(745%) hue-rotate(261deg) brightness(125%) contrast(92%);
}

.download {
    height: 180px;
    background-color: #1d2c67;
    padding: 3rem 3rem 0 3rem;
    border-radius: 10px;
}

.downloadP {
    margin-bottom: 20px;
    font-weight: 100;
    color: #cccccc;
}

.downloadP strong {
    background: linear-gradient(269deg, #ffa399, #ff4d97, #ffb2dd, #c685fb);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

.remain-box {
    background-color: white;
    color: #000;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 40px;
    font-weight: 700;
    padding: 15px 20px;
    position: absolute;
    top: -120px;
    left: 66%;
    width: 200px;
    height: 80px;
}

.relative {
    position: relative;
}

.subtext {
    color: #808080;
}

.remain-box:before {
    content: "";
    position: absolute;
    border-right: 20px solid white;
    border-top: 20px solid white;
    border-left: 20px solid transparent;
    border-bottom: 20px solid transparent;
    bottom: -15px;
    right: 0px;
}

.formaDeFora {
    background-color: #0c122c;
    position: relative;
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 24px;
    border-radius: 20px;
}

.barraDeDentro {
    background: linear-gradient(87deg, #ffa399, #ff4d97, #e887af, #e495de, #bf5ad3);
    background-size: 400%;
    -webkit-animation: downloadEfect 1s ease infinite;
    -moz-animation: downloadEfect 1s ease infinite;
    -o-animation: downloadEfect 1s ease infinite;
    animation: downloadEfect 1s ease infinite;
    position: relative;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 450px;
    height: 18px;
    border-radius: 40px;
    animation: downloadEfect 4s ease infinite;
    transition: 1.6s;
}

.bolaDeLoad {
    background-color: #fff;
    margin: 3px 3px 4px 3px;
    position: absolute;
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.infoDownload {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.infoDownload>p {
    font-weight: 700;
}

@media (max-width: 1100px) {
    body {
        background-image: url('images/bg-mobile.png');
        background-repeat: repeat-y;
        background-size: 200%;
    }

    main {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .logoAndImages {
        width: 100%;
        padding: 3rem 8rem 3rem 3rem;
        border-radius: 10px 100px 10px 10px;
    }

    .download {
        width: 100%;
        height: 180px;
        padding: 2rem;
    }

    .images {
        display: flex;
        gap: 15px;
    }

    .iconDocument,
    .iconFolder,
    .iconUpload {
        width: 50px;
        height: 50px;
        margin-top: 30px;
        padding: 0.9rem;
        border-radius: 12px;
    }

    .downloadP {
        text-align: center;
    }

    .remain-box {
        padding: 15px 20px;
        position: relative;
        top: 78px;
        left: 25%;
        width: 200px;
        height: 70px;
    }

    .relative {
        position: absolute;
    }

    .remain-box:before {
        display: none;
    }

    .formaDeFora {
        width: 100%;
        height: 24px;
    }

    .barraDeDentro {
        width: 80%;
        height: 18px;
    }

    .bolaDeLoad {
        margin: 3px 3px 4px 3px;
        width: 15px;
        height: 15px;
    }

    .infoDownload {
        margin-top: 15px;
    }
}

@media (max-width: 400px) {
    body {
        background-size: 230%;
    }

    main {
        width: 100%;
    }

    .logoAndImages {
        padding: 2rem;
        border-radius: 10px 100px 10px 10px;
    }

    .remain-box {
        padding: 15px;
        position: relative;
        font-size: 30px;
        top: 78px;
        width: 160px;
        height: 60px;
    }
}

@media (max-width: 320px) {
    .remain-box {
        left: 10%;
        top: 78px;
    }
}

@-webkit-keyframes downloadEfect {
    0%{background-position:0% 47%}
    50%{background-position:100% 54%}
    100%{background-position:0% 47%}
    50%{width: 80%;}
    75%{width: 90%;}
    100%{width: 100%;}
}
@-moz-keyframes downloadEfect {
    0%{background-position:0% 47%}
    50%{background-position:100% 54%}
    100%{background-position:0% 47%}
    50%{width: 80%;}
    75%{width: 90%;}
    100%{width: 100%;}
}
@-o-keyframes downloadEfect {
    50%{width: 80%;}
    75%{width: 90%;}
    100%{width: 100%;}
    0%{background-position:0% 47%}
    50%{background-position:100% 54%}
    100%{background-position:0% 47%}
}
@keyframes downloadEfect {
    50%{width: 80%;}
    75%{width: 90%;}
    100%{width: 100%;}
    0%{background-position:0% 47%}
    50%{background-position:100% 54%}
    100%{background-position:0% 47%}
}