
@media only screen and (max-width: 1280px){
    .portfolio-grid {
            padding: 15px 0 15px 0;
            width: calc(100% - 20px);
            column-count: 2;
            column-gap: 15px;
            border: none;
        }
    
        .post {
            border-radius: 10px;
            margin-bottom: 15px;
        }
    
        .post p {
            display: none;
            padding: 5;
            font-size: 12pt;
            bottom: -30px;
        }
    
        .videoIcon {
            top: 14px;
            right: 14px;
            opacity: 1;
        }

        .video-icon {
            width: 42px;
            height: auto;
            background-size: contain;
        }
    
        .post.video:hover .videoIcon {
            filter: blur(0px);
            opacity: 1;
            top: 14px;
            right: 14px;
        }
        #pagination-controls-top {
            margin-bottom: 0;
        }
        .videoIcon img {
            width: 48px;
            height: auto;
        }
    
        #aboutInfo {
            margin-bottom: 20px;
            margin-right: 15px;
        }
    
        .byemreCopyright {
            font-size: 14pt;
            font-weight: 600;
            font-family: "Roboto Slab", sans-serif;
            width: 100px;
            height: auto;
            top: 12px;
            left: 12px;
        }
    
        .media-container {
            height: fit-content;
            width: fit-content;
            overflow: auto;
            max-height: 100%;
        }
        @keyframes fadeInModal {
            0% {
                opacity: 0;
                transform: scale(1.025);
            }
            66.6%{
                opacity: 0;
                transform: scale(1.025);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
        .modal.close{
            opacity: 0;
            transform: scale(1.025);
        }
        #modalContent {
            background-color: transparent;
            position: relative;
            margin: 0 auto;
            width: 100%;
            height: auto;
            user-select: none;
            padding: 0;
        }
        #modalMedia{
            user-select: none;
            overflow: auto;
            width: 100%;
            max-height: 65vh;
        }
        .byemreCopyright {
            width: 100px;
            height: auto;
            top: 12px;
            left: 12px;
        }
        .modal-footer {
            width: 100%;
            padding: 10px;
            gap: 10px;
        }
        .share-icon, .view-icon, .clap-icon, .createNote-icon, .svg-frame{
            font-size: 16pt;
            width: 42px;
            height: 42px;
        }
        .i-icon, .i span{
            font-size: 18pt;
            width: 32px;
            height: 32px;
        }
        .i{
            width: 42px;
            height: 42px;
        }
        .modalHeader {
            width: 100%;
            gap: 10px;
            padding: 10px;
        }
    
        .modalHeader h2 {
            margin: 0;
            font-size: 16pt;
        }
        .geri-don{
            padding: 10px 15px;
        }
        .geri-don-icon{
            width: 28px;
            height: 24.3px;
        }
        .modal .cat {
            user-select: none;
            font-size: 10pt;
            min-width: max-content;
            margin: 10px 0 0 0;
            font-weight: 500;
        }
        
        .i {
            font-size: 14pt;
        }
    
        .i[data-tooltip]::after {
            width: 150px;
            white-space: wrap;
            overflow: hidden;
            transform: translateX(-85%);
        }
        .share-icon[data-tooltip]::after {
            width: 120px;
            white-space: wrap;
            overflow: hidden;
            transform: translateX(-50%);
        }
        .createNote[data-tooltip]::after{
            transform: translateX(-20%);

        }
        .iconGroup {
            gap: 3px;
        }
    

.paper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 1% 7%;
    margin: 0 auto 0 auto;
    background-color: transparent;
    border-radius: 0px;
    gap: 30px;
    animation: paperComing forwards 0.75s;
}

.quick-info{
    width: 40%;
}
.paper-name{
    font-size: 24pt;
    bottom: 36px;
}
.paper-title{
    font-size: 12pt;
}
#tapto {
    padding: 10px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: calc(100% - 20px);
    height: 57px;
    overflow: hidden;
    border-radius: 10px;
    margin: 10px auto 10px auto;
    transition: 0.3s all;
    cursor: pointer;
}
.adminContainer{
    width: 100%!important;
    padding: 0 20px;
    margin: 0;
}
.pForm{
    gap: 10px;
}}
@media only screen and (max-width: 768px) {
.note-modal-content {
    padding: 20px;
    border-radius: 20px;
    width: calc(100% - 20px);
}
.note-modal-content input{
    font-size: 12pt;
}
    #notifications {
        position: fixed;
        bottom: 15px;
        right: none;
        width: calc(100% - 20px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        }
    .adminContainer{
        width: 100%!important;
        padding: 0 10px;
        margin: 0;
    }
    #postForm{
        margin: 0 10px;
    }
        .post-group {
            margin-top: 7.5px;
            gap: 10px;
        }
    
        #title {
            width: 100%;
            font-size: 13pt;
        }
    
    
        .form-header label {
            margin: 0 0 4px 0;
            padding: 0;
            font-size: 11pt;
        }
    
        #preview-container {
            display: flex;
            gap: 4px;
            overflow: auto;
        }
    
        #preview-container img, #preview-container
        video {
            max-height: 150px;
        }
    
        .photo-video-thumbnail-input {
            font-size: 11pt;
        }
    
        .photo-video-thumbnail-input label {
            font-size: 11pt;
            top: 4px;
            left: 10px;
        }
    
        .form-header #file-input {
            width: 100%;
            padding-top: 24px;
        }
    .main-video-container {
    opacity: 0.85;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    overflow: hidden;
    z-index: -1; 
    pointer-events: none; 
    transition: opacity 0.5s ease; 

}

#tapto {
    padding: 10px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 48px;
    overflow: hidden;
    border-radius: 15px;
    transition: 0.3s all;
    cursor: pointer;
}

.paper {
        width: 100%;
        padding: 0;
        gap: 15px;
        margin: 0;
        animation: paperComing 0.75s forwards;
    }

    .quick-info {
        width: 100%;
        overflow: hidden;
        margin: 0;
        z-index: -1;
        border-radius: 0;
        text-align: center;
        color: white;
        background-color: transparent;
    }

    .pp {
        display: inline-block;
        border-radius: 0;
    }

    .paper-wrapper {
        display: flex;
        flex-direction: column-reverse;
        justify-content: normal;
        align-items: flex-start;
    }

    .paper-content {
        background-color: transparent;
        padding: 12px 15px;
    }

    #paper-content-2 {
        display: none;
    }

    .paper-name {
        font-size: 28pt;
        position: absolute;
        font-family: "Roboto Slab", sans-serif;
        width: 100%;
        bottom: 30px;
        text-shadow: 0 0 10px #151525, 0 0 15px #151525, 0 0 20px #151525, 0 0 25px #151525;
        background-color: transparent;
        backdrop-filter: blur(0);
        border-radius: 0;
    }

    .paper-title {
        border-radius: 0;
        font-size: 14pt;
        position: absolute;
        text-shadow: 0 0 10px #151525, 0 0 15px #151525, 0 0 20px #151525, 0 0 25px #151525;
        backdrop-filter: blur(0);
        width: 100%;
        bottom: 10px;
        background-color: transparent;
        padding: 0;
    }

    .paper-content p {
        font-size: 13pt;

    }

    .paper-content h1 {
        font-size: 24pt;
    }
.paper-content h2 {
    margin-top: 0;
    font-size: 20pt;
    font-family: "Roboto Serif", serif;
    border-bottom: 2px solid #707070;
    font-weight: 600;
    color: white;
}
    .paper-content h3 {
        font-size: 18pt;
    }

    .table-wrapper {
        margin-top: 15px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 22px;
    }

    .paper-table {
        border-radius: 20px;
    }

    .paper-content th,
    .paper-content td {
        padding: 10px;
        font-size: 13pt;
    }

    .paper-table tbody {
        max-height: 250px;
    }

    .paper-content th {
        font-size: 15pt;
        padding: 20px 10px;
    }
    .midtext{
        top: 80%;
        left: 45%;
    }
    .panelForm{
        margin: 10px 0 0 0;
    }
    .admin-panel{
        width: 100%;
        margin: 0;
        padding: 3% 2%;
    }
    #footerForm{
        padding: 3% 5%;
    }
    .loginForm{
        width: calc(100% - 15px);
        padding: 15px;
    }
    .inputForm{
        width: 100%!important;
    }
    .inForm{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
        gap: 7.5px;
        }
        .button-b, .button-item{
            font-size: 12pt;
            white-space: nowrap;
        }
        .bulk{
            margin: 0 0 10px 0;
            overflow: hidden;
        }
        .button-group{
            width: 100%;
            overflow-x: scroll;
            justify-content: start;
        }
        .button-item{
            margin: 5px 0;
        }
    #title-input{
        font-size: 12.4pt;
    }
    form{
        width: calc(100% - 15px);
        padding: 0;
        margin: 25px auto 30px auto;
    }
    #ategory-list{
        margin-top: 0;
    }
    .buttonForm{
        font-size: 13pt;
    }

    .mainPostContainer{
        width: calc(100% - 15px);
        padding-top: 140vh;
        padding-bottom: 0;
    }
    .mainPostWrapper {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        margin-top: 200px;
        margin-bottom: 200px;
    }
    .mainPostWrapper-link{
        text-shadow: 0 0 10px #151525,0 0 15px #151525,0 0 20px #151525,0 0 25px #151525;
        font-size: 21pt;
        left: 2%;
    }
    .mainPost {
        position: absolute;
        width: 68%;
        max-width: 100%;
        height: auto; 
        object-fit: cover;
        object-position: center;
        opacity: 1;
        background-repeat: no-repeat;
        transition: transform 0.3s ease-out;
        z-index: 1;
    }
    .mainPost:nth-child(2) {
        left: 0px;
    }
    
    .mainPost:nth-child(3) {
        right: 0px;
    }
    footer{
        font-size: 16pt;
        padding: 30px 0 50px 0!important;
    }
    .footer-left{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px 0;
        margin: 0;
        align-items: center;
    }
    #yavuz[data-tooltip]:hover::after{
        opacity: 1;
        visibility: visible;
    }
#yavuz {
    bottom: 8px;
    right: 11px;
}
#yavuz .material-symbols-rounded {
        font-size: 9pt;
    }
#yavuz p {
    font-size: 8pt;
}       
#yavuz strong {
    font-size: 14pt;
}

.category-list,
.legal-list,
.tag-list {
    gap: 4px;
    margin: 4px auto;
    max-width: calc(100% - 15px);
    padding-bottom: 6px;
}

.category-list::-webkit-scrollbar,
.legal-list::-webkit-scrollbar,
.tag-list::-webkit-scrollbar,
.apagination::-webkit-scrollbar {
    width: 4px;
    height: 3px;
}

.category-list::-webkit-scrollbar-thumb,
.legal-list::-webkit-scrollbar-thumb,
.tag-list::-webkit-scrollbar-thumb,
.apagination::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 6px 6px 6px #ffffff75;
}

.category-item,
.legal-item,
.tag-item {
    margin: 2px;
    font-size: 14px;
    transform: scale(0.96);
}
.category-item:hover,
.legal-item:hover,
.tag-item:hover {
    background-color: #b2b2b7; 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); 
    transform: scale(1);
}
.category-item:active,
.legal-item:active,
.tag-item:active {
    transform: scale(0.94);
}
.apagination {
    margin: 0 auto 0 auto;
    max-width: calc(100% - 15px);
}
#pagination-controls-top {
    margin-bottom: 8px;
}
#pagination-controls-bottom {
    margin-top: 0;
}
.pagination-btn {
    font-size: 14px;
    transform: scale(0.9);
}

.pagination-btn:active {
    transform: scale(0.8);
}
.portfolio-grid{
    padding: 0;
    width: calc(100% - 20px);
    column-count: 1;
}
.post{
    border-radius: 15px;
    margin-bottom: 10px;
    min-height: 193px;
}
.post p{
    display: none;
    padding: 5;
    font-size: 12pt;
    bottom: -30px;
}
.videoIcon{
    top: 14px;
    right: 14px;
}
.post.video:hover .videoIcon{
    filter: blur(0px);
    opacity: 1;
    top: 14px;
    right: 14px;
}
.video-icon{
    opacity: 0.75;
    width: 50px;
    height: auto;
}

#aboutInfo{
    margin-bottom: 20px;
    margin-right: 15px;
}
}
@media only screen and (max-width: 368px){
.portfolio-grid{
    padding: 12px 0;
    width: calc(100% - 15px);
    column-count: 1;
    column-gap: 12px;
}
}
