@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

@font-face {
    font-family: 'Scriptina - Alternates';
    src: url('assets/fonts/Scriptina-Alternates.woff2') format('woff2'),
        url('assets/fonts/Scriptina-Alternates.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scriptina';
    src: url('assets/fonts/Scriptina.woff2') format('woff2'),
        url('assets/fonts/Scriptina.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Parachute Signature';
    src: url('assets/fonts/ParachuteSignature.woff2') format('woff2'),
        url('assets/fonts/ParachuteSignature.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



*, *:before, *:after {
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

body {
    border: 0;
    font-family: "Roboto", sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

section {
    position: relative;
}

.hero-section .container {
    position: absolute;
    padding: 40px 30px;
    border-radius: 10px;
    z-index: 2;
    bottom: 0;
    color: #fff;
}
#upload-status {
    padding: 0 15px;
    margin-top: 5px;
}

h1 {
    color: #fff;
    font-weight: 500;
    font-size: 36px;
    font-family: 'Scriptina';
}

h2 {
    font-weight: 500;
    font-size: 24px;
    font-family: 'Scriptina';
    margin-bottom: 20px;
}

button {
    background-color: #633b09;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease-in-out;
}
.bx-camera {
    font-size: 20px;
}
button:hover {
    background-color: #53320a;
}

#uploaded-images {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    padding: 15px;
    gap: 15px;
}

.bg-image-wrap {
    position: relative;
    padding-bottom: 100%;
}
.bg-image-wrap.portrait {
    padding-bottom: 120%;
}
.bg-image-wrap.border-radius {
    border-radius: 10px;
    overflow: hidden;
}
.hero-section .bg-image-wrap {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.bg-image-wrap.portrait::before {
    content: '';
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.5), transparent);
    z-index: 1;
}
.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#progress-bar-container {
    display: none;
    margin-top: 20px;
    width: calc(100% - 30px);
    height: 30px;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

#progress-bar {
    height: 100%;
    width: 0;
    background-color: #238630;
    text-align: center;
    color: white;
    line-height: 30px;
    border-radius: 5px;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    main {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
    #uploaded-images {
        padding: 15px 0;
    }
    #progress-bar-container {
        width: 100%;
    }
}