@import './assets/fonts.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body{
    background-color: white;
    padding: 0 3vmax;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 5vw;
    gap: 8vw;
}

.container{
    width: fit-content;
    display: flex;
    gap: 6vw;
    flex-direction: column;
}

.logo_and_name{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7vw;
}

.logo{
    width: 18vw;
}

.name_and_org{
    display: flex;
    flex-direction: column;
}

.name{
    font-size: 7vw;
}

.org{
    font-size: 2vw;
}

.info{
    display: flex;
    gap: 8.5vw;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    font-size: 4vw;
}

.downloads{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2vw;
}

.size{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}

.age{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}

.download{
    color: white;
    display: flex;
    padding: 3vw 0;
    justify-content: center;
    align-items: center;
    border-radius: 10vw;
    border: 0;
    background: #092;
    font-size: 4vw;
}

.img{
    display: flex;
    gap: 3vw;
    align-self: stretch;
}

.reviewDiv{
    display: flex;
    gap: 3vw;
    align-self: stretch;
}

.scroll{
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.img img{
    width: 28%;
    border-radius: 2vw;
}

#more{
    display: none;
}

#seeMore{
    outline: none;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #0B57CF;;
}

.descrName{
    font-size: 1.54rem;
    font-weight: 600;
}

.tag{
    width: fit-content;
    padding: 3vw 9vw;
    border-radius: 3vw;
    border: .5vw solid #535353;
}

.security{
    display: flex;
    padding: 8vw 5vw;
    flex-direction: row;
    gap: 4vw;
    font-size: 1rem;
    border-radius: 3vw;
    border: .5vw solid #707070;
}

.rating{
    width: 90vw;
}

.review{
    width: 100%;
    scroll-snap-align: none center;
}

.footerCont{
    width: fit-content;
    display: flex;
    gap: 6vw;
    flex-direction: row;
    margin-bottom: 4vw;
}

.discl{
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-height: 70%;
    border-radius: 3vw;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
}


.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.close-sec {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
}


.close-sec:hover,
.close-sec:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    color: #bbb;
}

.logo2{
    width: 30vw;
}

.minfin{
    display: flex; 
    gap: 1vw;
}

.minfin img{
    width: 8vw;
}

.minfin p{
    font-size: .5rem;
}

.credentials{
    font-size: .6rem;
}

.tel{
    color: #2F41B0;
    font-size: 1rem;
}

.help{
    height: initial;
    display: flex; 
    gap: 2vw;
}

.help p {
    font-size: 1rem;
}

.disclText{
    font-size: .6rem;
}

@media screen and (orientation: landscape) {
    .lightbox-content{
        border-radius: 1vw;
    }

    .descrName{
        font-size: 3rem;
    }

    .logo2{
        width: 25vw;
    }

    .minfin img{
        width: 6vw;
    }

    .minfin p{
        font-size: .9rem;
    }

    .credentials{
        font-size: .9rem;
    }

    .tel{
        font-size: 2rem;
    }

    .help{
        height: 4vw;
    }

    .help p{
        font-size: 2rem;
    }

    .disclText{
        font-size: .9rem;
    }
}
