body {
    background-color: black; 
    margin: 0px;
}

.upr {
    margin: auto;
    max-width: 1500px;
    min-width: 600px;
}

.uppr {
    margin: auto;
    max-width: 1500px;
    min-width: 100px;
}

.logo {
    width: 100%;
}

section {
    width: 50%;
    margin: auto;
    text-align: center;
    padding-bottom: 20px;
}

.sp {
    width: 100%;
    height: 40px;
}

.blb {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
    align-content: stretch;
    color: rgb(100, 104, 128);
}

.tn {
    margin: 0px;
    max-width: 100%;
    min-width: 600px;
    margin-left: 20px;
    margin-right: 0px;
    padding: 1em;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

@media (max-width: 400px) {
    .logo {
        width: 183%;
    }
    .upr {
        min-width: 100px;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }
    section {
        width: 90%;
    }
    .blb {
        overflow: visible;
    }
    .tn {
        min-width: 100px;
        grid-template-columns: 100%;
    }
    .lnx:nth-child(5) {
        grid-row: 2;
    }
    .lnx:nth-child(6) {
        grid-row: 4;
    }
    .lnx:nth-child(7) {
        grid-row: 6;
    }
    .blb {
        font-size: 0.8em;
    }
}

@media (max-width: 720px) and (min-width: 400px) {
    .logo {
        width: 700px;
    }
    .upr {
        min-width: 100px;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }
    section {
        width: 80%;
    }
    .blb {
        overflow: visible;
    }
    .tn {
        min-width: 100px;
        grid-template-columns: 50% 50%;
    }
    .lnx:nth-child(n+5):nth-child(-n+6) {
        grid-row: 2;
    }
    .blb {
        font-size: 0.9em;
    }
}

.cat {
    width: 90%;
    height: 96%;
    border: solid 4px;
    border-radius: 20px;
    border-color: rgb(53, 55, 68);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ipc {
    width: 95%;
    border-radius: 20px;
}

.lnx {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    padding: 1em;
    padding-top: 10px;
    justify-content: center;
}

.ssh {
    position: relative;
    width: 85%;
    height: 85%;
    display: inline-block;
    overflow: hidden;
}

.ssz {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    transition: all linear 0.3s;
    opacity: 1;
}

.sszh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all linear 0.3s;
    opacity: 0;
}

.ssh:hover img.ssz {
    opacity: 0.5;
}

.ssh:hover img.sszh {
    opacity: 1;
}

.afn {
    width: 60%;
    text-align: center;
    border-width: 1px;
    border-color: rgb(53, 55, 68);
}

footer {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 10px;
}

a {
    color: rgb(100, 104, 128);
}