@import url('./color.css');

@font-face {
    font-family: 'SF Pro';
    src: url('../fonts/SF-UI-Text-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'SF Pro', Arial, sans-serif;
    font-size: 16px;
}

html, body {
  overflow-x: hidden;
}

.container {
}

.header {
    padding-top: 19px;
    display: flex;
    justify-content: center;
}

.header__back {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.header__back span {
    color: var(--color-blue);
}

.header__content {
    display: flex;
    grid-gap: 15px;
    padding-top: 12px;
    margin: 0px 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo img {
    width: 113px;
    height: auto;
    border-radius: 25px;
}

.header__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header__info h1{
    font-size: 21px;
}

.header__info p{
    font-size: 14px;
    color: var(--color-gray);
}

.header__btn {
    background-color: var(--color-blue);
    color: var(--color-light);
    border-radius: 16px;
    display: flex;
    width: 71px;
    height: 31px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header__download {
    align-self: flex-end;
}

.about {
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.about-container {

    border-top: 0.5px solid var(--color-gray-light);
    display: flex;
    padding-top: 15px;
    align-items: center;
    padding: 12px 10px;
    margin: 20px;
}

.about-item {
    height: 60px;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-wrap: nowrap;
    word-wrap: break-word;
}

.about-item__title {
    font-size: 11px;
    color: var(--color-gray-light);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-item__subtitle {
    font-size: 13px;
    color: var(--color-gray);
}

.line {
    height: 40px;
    width: 0.5px;
    background-color: var(--color-gray-light);
}

.line--first {
    margin-left: 23px;
    margin-right: 20px;
}

.line--second {
    margin-left: 20px;
    margin-right: 5px;
}

.line--last {
    margin-left: 5px;
    margin-right: 10px;
}


.preview-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.preview img {
    object-fit: cover;
    flex-shrink: 0;
    width: 190px;
    height: 382px;
    border-radius: 27px;
}


.nav {
    display: flex;
    justify-content: center;

    /*update*/
    
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: 5px 0px 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gray-nav);

}

.nav--hidden {
    width: 100%;
    height: 75px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 25px; */
    gap: 45px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-text {
    font-size: 9px;
    color: var(--color-gray);
}

.error {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: var(--color-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error__container {
    background-color: var(--color-light);
    width: 297px;
    height: 127px;
    border-radius: 20px;
    text-align: center;
}

.error-title {
    font-size: 20px;
    margin: 23px 0px 1px;
    font-weight: bold;
}

.error-subtitle {
    font-size: 15px;
}

.error-btn {
    border-top: 1px solid var(--color-gray-light);
    margin-top: 20px;
    color: var(--color-blue);
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0px;
}

.hidden {
    display: none;
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

@media screen and (max-width: 430px) {

    .preview {
        width: 445px;
        padding-left: 20px;
        overflow: hidden;

    }
    .about {
        width: 390px;
        padding-left: 20px;
        overflow: hidden;

    }

    .preview img {
        width: 220px;
        height: 442px;
    }

}

/* @media screen and (max-height: 745px) {
    .container {
        display: flex;
        flex-direction: column;
        height: 100svh;
        justify-content: space-between;
    }

    .header {
        padding-top: 10px;
    }

    .about-container {
        padding: 12px 10px;
    }

    .nav-container{
        padding: 5px 0px;
        margin-top: 0px;
    }
} */
