
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Semi+Condensed:wght@400;500;600;700;800;900&display=swap');

:root {
    --clr: #fa3;
    --clr-o: #fa4a;
}

* {
    font-family: 'Sofia Sans Semi Condensed', sans-serif;
}

body {
    margin: 0;
    background: #111;
}

header {
    z-index: 5;
    border-bottom: 5px #111 solid;
    background: linear-gradient(70deg ,var(--clr) 50%, #111 50%);
    padding: 0 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 75px;
}

.logo-h2 {
    margin-left: 20px;
    font-size: 30px;
    color: #111;
    transition: color 400ms ease;
}

.logo-a {
    width: 600px;
    justify-content: left;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-a:hover > .logo-h2{
    color: #444;
}

.nav-links {
    width: 500px;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--clr);
    text-decoration: none;
    font-size: 25px;
    transition: color 400ms ease;
}

.nav-link:hover {
    color: var(--clr-o);
}

.main {
    padding: 10px;
    width: 1100px;
    background-color: #151515;
    box-shadow: #151515 0 0 30px 20px;
}

.main-container {
    margin: 0;
    padding: 50px 0px 50px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    background: url(./img/background.png) 40px/40px;
}

.art {
    border: #fa3 2px solid;
    border-radius: 20px;
    padding: 20px;
    margin: 25px 0;
}
.art-h1 {
    font-size: 30px;
    color: white;
}

.art-p {
    font-size: 20px;
    color: white;
}

.art-link {
    color: var(--clr);
    text-decoration: none;
    font-size: 15px;
    transition: color 400ms ease;
}

.art-link:hover {
    color: var(--clr-o);
}

.footer {
    width: calc(100% - 40px);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #111;
    margin-top: -20px;
    text-align: center;
    color: white;
}

.other {
    width: 300px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.on-site {
    font-weight: 700;
    cursor: default;
    color: var(--clr-o);
    text-decoration: underline;
}

.main-h1 {
    text-align: center;
    font-size: 50px;
    color: var(--clr);
}

.check-mark-v {
    width: 100px;
}

.check-mark-h {
    margin-right: 30px;
    height: 60px;
}

.about-list-v {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 350px);
    width: 1000px;
}

.about-list-h {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-sub-list-v {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    width: 1000px;
}

.about-seg {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-hint {
    display: none;
}

.about-list-item-v {
    border: #fa3 2px solid;
    border-radius: 20px;
    height: 300px;
    width: 250px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.about-sub-list-item-v {
    background-color: #222;
    padding: 0px 15px;
    position: relative;
    width: 200px;
    display: flex;
    align-items: center;
    text-align: center;
    box-shadow: #222 0 0 10px 0;
    margin: 20px 0;
}

.about-list-item-h {
    width: 1000px;
    border: #fa3 2px solid;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 10px 30px;
    margin-bottom: 30px;
}

.about-list-big-item-h {
    width: 1000px;
    border: #fa3 2px solid;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    padding: 10px 30px;
    margin-bottom: 30px;
}

.about-list-item-content-h {
    display: flex;
    width: 1000px;
    justify-content: left;
    align-items: center;
}

.about-list-item-h2 {
    margin-bottom: 0;
    color: white;
}

.about-sub-list-item-h2 {
    color: white;
    font-size: 20px;
    font-weight: 300;
}

.about-list-item-d {
    color: #fffa;
    font-size: 15px;
}

.about-list-item-text {
    width: 800px;
}

.hr {
    margin-top: 50px;
    width: 1000px;
    border-color: #fa3;
}

.error-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    color: white;
}

.error-oops {
    font-size: 120px;
    margin: 0;
}

.error-h1 {
    margin: 0;
    font-size: 50px;
}

.error-a {
    font-size: 30px;
    color: var(--clr);
    margin-top: 20px;
    text-decoration: none;
    transition: color 500ms ease;
}

.error-a:hover {
    color: var(--clr-o);
}

.t{
    color: white;
    box-shadow: #111 0 0 10px 10px;
    border: var(--clr) 2px solid;
    border-radius: 20px;
}

.td a {
    color: white;
    text-decoration: none;
    transition: color 500ms ease;
}

.td a:hover {
    color: #aaa;
}

.td {
    padding: 10px;
    border-top: var(--clr) 2px solid;
    border-right: var(--clr) 2px solid;
    transition: background-color 300ms ease;
}

.th {
    padding: 10px;
    border-right: var(--clr) 2px solid;
    background: var(--clr);
    border-color: #111;
    color: #111;
}

.th:nth-child(1) {
    border-radius: 20px 0px 0px 0; 
}

tr:hover {
    background: #222;
}


th:nth-last-child(1) {
    border-radius: 0 20px 0px 0;
}

tr:nth-last-child(1) > td:nth-last-child(1) {
    border-radius: 0 0px 20px 0; 
}

.th:nth-last-child(1) {
    border-right: none;
}

.td:nth-child(1) {
    width: 200px;
}

.td:nth-child(2) {
    width: 400px;
}

.td:nth-child(3) {
    width: 200px;
}

.td:nth-child(4) {
    width: 200px;
}

.td:nth-last-child(1) {
    border-right: none;
}

.th {
    text-align: left;
}

.table-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sorting {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.sort-btn {
    text-decoration:none ;
    margin: 0;
    background: none;
    width: 40px;
    font-size: 20px;
    text-align: center;
    color: var(--clr);
    border: #151515 1px solid;
    border-right: 1px var(--clr) solid;
    cursor: pointer;
    transition: color 500ms ease, border 500ms ease;
}

.sort-btn:hover {
    color: var(--clr-o);
    border: 1px var(--clr) solid !important;
}

.sort-btn:nth-last-child(1) {
    border: #151515 1px solid;
    transition: color 500ms ease, border 500ms ease;
}

.footer-link {
    color: var(--clr);
    text-decoration: none;
    font-size: 25px;
    transition: color 400ms ease;
}

/* compatibility */

@media screen and (max-width: 900px) {

    .scroll-hint {
        animation: op ease 3s infinite ;
        position: absolute;
        translate: 0px -70px;
        align-self: flex-end;
        display: flex;
        transition: opacity 500ms ease;
    }

    .scroll-hint p {
        color: white;
        margin-right: 10px;
    }

    .check-mark-v {
        width: 5rem;
    }

    .hr {
        width: 75%;
    }

    .about-seg .main-h1 {
        font-size: 2.5rem;
    }

    .about-list-v {
        scroll-snap-type: x proximity;
        display: flex;
        width: 300px;
        overflow: scroll;
        align-items: center;
        justify-content: flex-start;
    }

    .about-list-item-v {
        scroll-snap-align: center;
        width: 65vw;
        margin: 0 10px;
        flex-shrink: 0;
        height: auto;
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 10px;
    }

    .about-list-item-h {
        padding: 30px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 60vw;
    }

    .about-list-big-item-h {
        padding: 30px;
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 60vw;
    }

    .check-mark-h {
        margin: 0;
    }

    .about-list-item-text {
        width: 70vw;
    }

    .about-list-item-content-h {
        flex-direction: column;
        align-items: center;
        width: 70vw;
    }

    .about-sub-list-v {
        justify-content: center;
        align-items: center;
        width: 70vw;
        display: flex;
        flex-direction: column;
    }

    .header {
        background: linear-gradient(176deg, var(--clr) 33%, #111 33%);
        flex-direction: column;
        height: 325px;
    }

    .logo-a {
        width: calc(100vw - 40px);
        padding: 5px 20px;
    }

    .logo-h2 {
        font-size: 25px;
    }

    .nav-links {
        width: 350px;
        display: grid;
        grid-template-columns: repeat(2, 150px);
        grid-template-rows: repeat(3, 50px);
        gap: 10px;
    }
    
    nav .on-site {
        background-color: var(--clr);
        color: #111;
    }

    .nav-link {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        height: 40px;
        border: var(--clr) 2px double;
        border-radius: 10px;
        text-align: center;
    }

    .nav-link:nth-child(2) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
    }

    .table-container {
        justify-content: flex-start;
        width: 90%;
        overflow: auto;
        border: var(--clr) 2px solid;
        border-radius: 20px;
    }

    .t {
        border: none;
    }

    .main {
        width: 80vw;
    }

    .sorting {
        display: flex;
        flex-wrap: wrap;
    }

    .sorting-table {
        width: 50px;
        display: flex;
        flex-direction: column;
    }

    .sort-btn-table {
        border-right: none;
        border-bottom: #fa3 2px solid;
    }

    .main-table {
        display: flex;
        align-items: flex-start;
    }

}

@keyframes op {
    0%{opacity: 0;}
    50%{opacity: 1;}
    100%{opacity: 0;}
}