#page-body {
    overflow-x: hidden;
    overflow-y: hidden;
}

#content {
    position: absolute;

    width: 1300px;
    height: fit-content;

    min-width: 300px;

    left: 50%;
    transform: translateX(-50%);
}

.page {
    width: 100%;
    height: fit-content;

    margin: auto;
}

#home {
    height: 100vh;
}

#home::before {
    width: 100%;

    content: "";
    position: absolute;
    z-index: -1;
    top: -70vh;
    left: 0;
    right: 0;
    height: 90%;
    background-color: #ffffff00;

    background-size: 40px 40px;
    background-image: radial-gradient(circle, #ffffff3a 1px, rgba(255, 255, 255, 0) 1px);

    mask-image: radial-gradient(circle, black 2%, rgba(0, 0, 0, 0) 60%);
}

#home-header-container {
    width: 100%;
    height: 50%;

    margin: auto;
    margin-top: 200px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header-location-box {
    display: block;
}

#header-location-box p {
    font-weight: 600;
    font-size: 20px;

    color: rgba(255, 255, 255, .37);

    float: right;
}

#header-location-box img {
    float: left;

    margin-top: 20px;
    margin-right: 5px;

    filter: opacity(37%);

    height: 24px;
}

#home-header-main {
    text-align: center;
}

#home-header-main h1 {
    font-size: 64px;
    font-weight: bold;

    margin-top: -15px;
    margin-bottom: 0;
}

#home-header-main h2 {
    color: var(--color-accent);

    font-size: 36px;

    margin-top: 0;
    margin-bottom: 20px;
}

#home-contact-items {
    display: flex;
    flex-direction: row;

    margin-bottom: 0;
}

.home-contact-item {
    width: 45px;
    height: 45px;

    background-color: #0d0d10;

    outline-style: solid;
    outline-width: 1px;
    outline-color: #2b2b2e;
    outline-width: 1px;

    border-radius: 10px;

    margin-right: 24px;

    cursor: pointer;

    transition: all .1s;
}

.home-contact-item img {
    height: 20px;
    
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-contact-item:hover {
    outline-color: var(--color-accent);
    outline-width: 2px;
}

#home-sub-info {
    text-align: center;

    font-size: 16px;

    width: 70%;

    color: var(--color-text-sub);

    margin-top: 20px;
}

#technologies {
    margin-top: -100px;
    height: fit-content;

    
}

.section-header h1 {
    font-size: 40px;
    font-weight: bold;

    margin-bottom: 0;
}

.section-header p {
    font-size: 16px;
    font-weight: normal;

    color: var(--color-text-sub);

    margin-top: 5px;
}

#tech-list-container {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.tech-list-item {
    flex: 1 1 calc(25% - 15px);
    min-width: 300px;

    height: 73px;

    border-radius: 10px;

    background-color: #212121;

    outline-color: #746d6d00;
    outline-style: solid;
    outline-width: 1px;

    transition: background-color .2s, outline-color .2s;
}

.tech-list-item:hover {
    background-color: #303030;
    
    outline-color: #746D6D;
}

.tech-list-item img {
    height: 75%;

    border-radius: 10px;

    float: left;

    position: relative;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
}

.tech-list-item h1 {
    margin-top: 15px;
    margin-bottom: 0;
    margin-left: 70px;

    font-size: 20px;
    font-weight: 600;
}

.tech-list-item p {
    margin-top: 0;
    margin-left: 70px;

    color: rgba(255, 255, 255, 0.8);

    font-weight: 300;
    font-size: 15px;
}

#work {
    margin-top: 250px;
}

#work-section-list-container {
    width: 100%;
    height: fit-content;

    margin-bottom: 20px;

    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

#work-section-list-container img {
    height: 30px;

    opacity: .9;
}

.work-filter-item {
    width: 150px;

    height: fit-content;

    border-radius: 7px;

    background-color: #212121;

    outline-color: #746d6d00;
    outline-style: solid;
    outline-width: 1px;

    margin-right: 3px;

    transition: background-color .2s, outline-color .2s;
}

.work-filter-item-selected {
    background-color: #303030;

    outline-color: #746D6D;
}

.work-filter-item:hover {
    background-color: #303030;
    
    outline-color: #746D6D;
}

.work-filter-item h1 {
    pointer-events: none;

    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 5px;

    font-size: 18px;
    font-weight: normal;
}


#work-list-container {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.work-list-item {
    position: relative;

    flex: 1 1 calc(25% - 15px);
    min-width: 600px;

    height: 400px;
    border-radius: 10px;

    background-color: transparent;
    outline-color: #746d6d00;
    outline-style: solid;
    outline-width: 1px;

    overflow: hidden;

    cursor: pointer;

    transition: margin-top .3s;
}

.work-list-item-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;

    filter: blur(2px) contrast(125%) brightness(100%);

    mask: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;

    transition: all .3s;
}

.work-list-item:hover .work-list-item-cover {
    transform: scale(1.05);
    filter: blur(2px) contrast(150%);
}

.work-list-item-header {
    position: absolute;
    top: 55%;
    left: 5%;

    height: 20%;

    z-index: 3;
}

.work-list-item-tags-container {
    position: absolute;
    top: 72.5%;
    left: 5%;

    color: rgba(255, 255, 255, 0.726);

    font-size: 13pt;
    
    z-index: 3;
}

.work-list-item-tags-container span {
    background-color: #000000;
    padding: 5px;
    border-radius: 6px;

    margin-right: 2px;
}

.work-list-item-desc {
    position: absolute;
    top: 76%;
    left: 5%;

    color: rgba(255, 255, 255, 0.726);

    font-size: 15pt;
    
    z-index: 3;
}

.flex-grid-cover-full {
    min-width: 100%;
}

@media screen and (max-width: 1350px){
    #content {
        width: 100vw;
    }

    .page {
        width: 98%;

        padding-left: 1%;
    }

    .tech-list-item {
        width: 23.5%;
    }
}

@media screen and (max-width: 1000px){
    .page-scale {
        width: 90%;
    }

    #home-header-main h1 {
        font-size: 50px;
    }

    #home-header-main h2 {
        font-size: 40px;
    }
}

@media screen and (max-width: 610px) {
    .work-list-item {
        min-width: 100%;
    }
}

@media screen and (max-width: 480px){
    .page {
        width: 90%;
    }

    .page-scale {
        width: 80%;
    }

    #home-header-main h1 {
        font-size: 40px;
    }

    #home-header-main h2 {
        font-size: 25px;
    }
}