
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin:0px;
    padding:0px;
    box-sizing: border-box;
    font-family:'Poppins',sans-serif;
}

body {
    background: #F2F2F2;
}

header {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 30px;
    position: fixed;
    width: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.01);
    z-index: 100;
}

header input {
    display: none;
}

.logo {
    display: flex;
    gap: 15px;
}
.logo h1 {
    color: #007AFF;
    font-size: 28px;
    font-weight: 800;
}
.logo h1 span {
    color: #312ECB;
}

nav {
    display: flex;
    gap: 50px;
}

nav .menu{
    position:relative;
}
nav .menu a {
    text-decoration: none;
    color: black;
    font-size: 22px;
    font-weight: bold;
    transition: 0.3s;
}
nav .menu a:hover {
    color: #312ECB;
}
nav .menu ul{
    position:absolute;
    background:#fff;
    border:1px solid #ddd;
    border-radius:3px;
    height:0px;
    padding:8px 16px;
    opacity:0;
    list-style:none;
}
nav .menu:hover ul{
    height:auto;
    opacity:1;
    transition:0.3s;
}
nav .menu ul li a{
    font-size:16px;
    font-weight:500;
}

nav .menu{
    position:relative;
}
nav .menu ul{
    position:absolute;
    right:0px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:3px;
    width:180px;
    height:0px;
    padding:8px 16px;
    opacity:0;
    list-style:none;
}
nav .menu:hover ul{
    height:auto;
    opacity:1;
    transition:0.3s;
}
nav .menu ul li a{
    display:block;
    padding:4px 0px;
}
/**/
.container{
    Padding-top:120px;
}
.container-box{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-start;
    padding-bottom:100px;
}
.container .title{
    font-weight:700;
    font-size:25px;
    text-align:center;
    color: black;
    padding:16px 0px 16px 0px;
}
/**/
.box{
    margin:10px;
    box-shadow:0px 5px 20px rgba(0,0,0,0.3);
    border-radius:5px;
}
.box .img{
    width:400px;
    height:400px;
}
.box .img img{
    width:100%;
    height:100%;
    border-radius:5px;
}
.box .details{
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #dee2e6;
}
.box .details div{
    width:100%;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.box .details .info a,
.box .details .wp a{
    background:#f2f3f4;
    text-decoration:none;
    padding:10px 20px;
    color:#333;
    font-size:16px;
    border-radius:55px;
    cursor:pointer;
    box-shadow:0px 5px 10px rgba(0,0,0,0.2);
}
.box .details .wp a:hover{
    background:#32D850;
    transition:0.3s;
}
.box .more{
    width:385px;
    height:0;
    opacity:0;
    transition:0.3s;
    margin:0px;
    overflow:auto;
    font-size:14px;
}
.box.active .more{
    height:200px;
    opacity:1;
    margin:7px;
    visibility:visible;
}
.box .more h4{
    font-weight:500;
    padding-left:7px;
}
.box .more ul,p{
    list-style:none;
    padding-left:14px;
}
.box .more ul span{
    font-family:monospace;
    font-size:12px;
}
/**/
html{
    scroll-behavior:smooth;
}
.progress-up{
    position:fixed;
    bottom:20px;
    right:10px;
    margin-right:-16rem;
    transition:0.4s all;
    display:flex;
    justify-content:center;
    flex-direction:column;
}

.progress-up.active{
    margin:0;
}
.progress-up{
    text-align: end;
}
.progress-up .text{
    margin:1rem;
}
.progress-up .text a{
    border-radius:0.3rem;
    padding:0.5rem;
    background:#333;
    color:#fff;
    cursor:pointer;
    text-decoration:none;
    
}
.progress-up .text.top i{
    padding:0.4rem 0.4rem;
    font-size:1.2rem;
    background:#333;
    color:#fff;
    border-radius:0.3rem;
    cursor:pointer;
}
/**/
@media (max-width: 768px) {
    nav {
        gap:20px;
    }
    nav {
        position: absolute;
        top: 100px;
        background: white;
        left: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
        height: 0;
        transition: 0.5s;
        overflow: hidden;
    }
    nav .menu a:nth-child(1) {
        /*margin-top: 50px;*/
    }

    header label {
        width: 28px;
        height: 18px;
        position: relative;
        cursor:pointer;
    }
    header label div {
        width: 100%;
        height: 4px;
        background: #312ECB;
        position: absolute;
        transform: translateY(-50%);
        border-radius: 99px;
        transition: 0.3s;
        transform: scale(1);
    }
    header label div:nth-child(1) {
        top: 0;
    }
    header label div:nth-child(2) {
        top: 50%;
    }
    header label div:nth-child(3) {
        top: 100%;
    }
    header input:checked ~ nav {
        height: 100vh;
    }
    header input:checked ~ label div:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
    }
    header input:checked ~ label div:nth-child(3) {
        transform: rotate(-45deg);
        top: 50%;
    }
    header input:checked ~ label div:nth-child(2) {
        transform: scale(0);
        opacity: 0;
    }

    /**/

    nav .menu ul{
        width:100%;
        border:none;
        margin:0px;
        padding:0px;
    }
    nav .menu ul{
        position:static;
        top:auto;
        height:auto;
        opacity:1;
    }

    /**/

    .logo h1 {
        padding-top:7px;
        font-size:20px;
    }
    .logo svg{
        width:45px;
        height:35px;
    }
    /**/
    .box .more{
        width:auto;
    }
    .box .details .info a,
    .box .details .wp a{
        font-size:14px;
    }
    .box .img{
        width:100%;
        height:100%
    }

}
