
body{
    background-color:#2082e4;
    background-image: linear-gradient(rgba(255,255,255,0.2) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.2) 2px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

section h1{
    font-family: "Oswald", sans-serif !important;
    font-weight:400 !important;
    font-size:40px !important;
}

section h1 span{
    color:#0095da;
}

.hasbg{
    background:#fff;
}

/************NAVBAR START************/
#paper-back {
    width: 100%;
    height: 100vh;
    background-color:#2082e4;
    background-image: linear-gradient(rgba(255,255,255,0.2) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.2) 2px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 33px;
}
#paper-back nav {
    padding: 120px 34px;
}
#paper-back nav a {
    display: block;
    margin-bottom: 25px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

#paper-window {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 2;
}
#paper-window.tilt {
    overflow: hidden;
    pointer-events: none;
}
#paper-window.tilt #paper-front {
    transform: rotate(10deg) translateZ(0);
}

#paper-front {
    pointer-events: auto;
    position: relative;
    z-index: 3;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transform-origin: center 70%;
    transition: all 0.3s ease;
}

#container section h1, #container section p.lead  {
    text-align: center;
}
#container section:first-of-type {
    padding-top: 5vh;
}
#container section:first-of-type h1 {
    font-size: 45px;
}
#container section:first-of-type p {
    font-size: 18px;
}
@media (max-width: 600px) {
    #container section:first-of-type {
        padding-top: 15vh;
    }
    #container section:first-of-type h1 {
        font-size: 30px;
    }
    #container section:first-of-type p {
        font-size: 18px;
    }
}
#container section:nth-of-type(2n) {
    background-color: #fff;
}

.hamburger {
    position: fixed;
    z-index: 4;
    top: 30px;
    left: 30px;
    width: 45px;
    height: 34px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.hamburger span {
    position: relative;
}
.hamburger span, .hamburger span:before, .hamburger span:after {
    display: block;
    width: 45px;
    height: 6px;
    background-color: #243040;
    border-radius: 2px;
}
.hamburger span:before, .hamburger span:after {
    content: "";
    position: absolute;
}
.hamburger span:before {
    bottom: -14px;
}
.hamburger span:after {
    bottom: -28px;
}

.close {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 45px;
    height: 34px;
    cursor: pointer;
}
.close:before, .close:after {
    content: "";
    position: absolute;
    display: block;
    width: 45px;
    height: 6px;
    top: 50%;
    background-color: white;
    border-radius: 2px;
}
.close:before {
    transform: translateY(-50%) rotate(45deg);
}
.close:after {
    transform: translateY(-50%) rotate(-45deg);
}

/************NAVBAR END************/

.social-media p a {
    border: 1px solid #e6e6e6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 4px;
}
.social-media p a span {
    color: #4d4d4d;
}
.social-media p a:hover {
    background: #03ccff;
    border-color: #03ccff;
}
.social-media p a:hover span {
    color: #fff;
}
@media (max-width: 991.98px) {
    .social-media p a {
        border-color: #fff;
        width: 30px;
        height: 30px;
    }
    .social-media p a span {
        color: #fff;
    }
}


/******************************/

.mainslider {
    position: relative;
    width: 100%;
    height: 600px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.item {
    width: 150px;
    height: 200px;
    list-style-type: none;
    position: absolute;
    bottom: 0%;
    right:0%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;

    &:nth-child(1),
        &:nth-child(2) {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        box-shadow: none;
        opacity: 1;
        border-radius:20px;
    }

    &:nth-child(3) {
        left: 50%;
    }
    &:nth-child(4) {
        left: calc(50% + 220px);
    }
    &:nth-child(5) {
        left: calc(50% + 440px);
    }
    &:nth-child(6) {
        left: calc(50% + 660px);
        opacity: 0;
    }
}

.content {
    width: min(30vw, 400px);
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    font: 400 0.85rem helvetica, sans-serif;
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;

    & .title {
        font-family: "arial-black";
        text-transform: uppercase;
    }

    & .description {
        line-height: 1.7;
        margin: 1rem 0 1.5rem;
        font-size: 0.8rem;
    }

    & button {
        width: fit-content;
        background-color: rgba(0, 0, 0, 0.1);
        color: white;
        border: 2px solid white;
        border-radius: 0.25rem;
        padding: 0.75rem;
        cursor: pointer;
    }
}

.item:nth-of-type(2) .content {
    display: block;
    animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;

    & .btn {
        background-color: rgb(6, 181, 221);
        color: rgb(255, 255, 255);
        border: 2px solid rgba(0, 0, 0, 0.6);
        margin: 0 0.25rem;
        border-radius: 50%;
        cursor: pointer;

        &:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }
    }
}

@media (min-width: 650px) and (max-width: 900px) {
    .content {
        & .title {
            font-size: 1rem;
        }
        & .description {
            font-size: 0.7rem;
        }
        & button {
            font-size: 0.7rem;
        }
    }
    .item {
        width: 160px;
        height: 270px;

        &:nth-child(3) {
            left: 50%;
        }
        &:nth-child(4) {
            left: calc(50% + 170px);
        }
        &:nth-child(5) {
            left: calc(50% + 340px);
        }
        &:nth-child(6) {
            left: calc(50% + 510px);
            opacity: 0;
        }
    }
}

@media (max-width: 650px) {
    .content {
        & .title {
            font-size: 0.9rem;
        }
        & .description {
            font-size: 0.65rem;
        }
        & button {
            font-size: 0.7rem;
        }
    }
    .item {
        width: 130px;
        height: 220px;

        &:nth-child(3) {
            left: 50%;
        }
        &:nth-child(4) {
            left: calc(50% + 140px);
        }
        &:nth-child(5) {
            left: calc(50% + 280px);
        }
        &:nth-child(6) {
            left: calc(50% + 420px);
            opacity: 0;
        }
    }
}


/**************************************/
.footer-classic a, .footer-classic a:focus, .footer-classic a:active {
    color: #fff !important;
    text-decoration:none;
}

.footer-classic p, .footer-classic h5{
    color:#fff;
}

.nav-list li {
    padding-top: 5px;
    padding-bottom: 5px;
    color:#fff;
}

.nav-list li a:hover:before {
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    color:#fff;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li a:before {
    content: "\f14f";
    font: 400 21px/1 "Material Design Icons";
    color: #fff;
    display: inline-block;
    vertical-align: baseline;
    margin-left: -28px;
    margin-right: 7px;
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
}
.contact-list{
    color:#ffff;
}

/*****************BLOGS ARTICLES******************/
.articles .card {
    border:1px solid #ccc;
}
.articles .card-body h5{
    text-align:left;
    font-family: "Oswald", sans-serif;
}
.articles .card-body p{
    text-align:left;
}
.articles .card-body a{
    color:#000;
    text-decoration:none;
}


/*projects*/
.filters {
    margin-bottom: 20px;
}
.filter {
    margin-right: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #007BFF;
    color: #007BFF;
    background-color:#fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.filter:hover {
    background-color: #0056b3;
    color:#fff;
}
#gallery {
    display: flex;
    flex-wrap: wrap;
}
/* Card Container */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the cards */
}

/* Individual Card */
.gallery-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 10px; /* Margin for spacing between cards */
    flex: 1 1 calc(33.333% - 20px); /* Default to 3 columns with margins considered */
}

/* Card Image */
.gallery-image {
    background-size: cover;
    background-position: center;
    height: 200px; /* Fixed height for uniformity */
}

/* Card Content */
.gallery-content {
    padding: 15px;
}

/* Card Title */
.gallery-title {
    font-size: 1.5em;
    margin: 0 0 10px;
    color: #333; /* Dark gray */
    font-weight: bold;
    font-family: "Oswald", sans-serif !important;
}

/* Card Description */
.gallery-description {
    color: #666; /* Lighter gray for description */
    font-size: 0.95em;
}

/* Hover Effect */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(100% - 20px); /* 1 column on smaller screens */
    }
}

/*******************/
/*GALLERY*/
.gallery-container {
    background-color: #fff;
    padding: 30px 50px;
}

.gallery-container h1 {
    text-align: center;
    margin-top: 50px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}

.gallery-container p.page-description {
    text-align: center;
    margin: 25px auto;
    font-size: 18px;
    color: #999;
}

.tz-gallery {
    padding: 40px;
}

/* Override bootstrap column paddings */
.tz-gallery .row > div {
    padding: 2px;
}

.tz-gallery .lightbox img {
    width: 100%;
    border-radius: 0;
    position: relative;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    font-family: 'Glyphicons Halflings';
    content: '\e003';
    pointer-events: none;
    z-index: 9000;
    transition: 0.4s;
}


.tz-gallery .lightbox:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(46, 132, 206, 0.7);
    content: '';
    transition: 0.4s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {
    opacity: 1;
}

.baguetteBox-button {
    background-color: transparent !important;
}

/* Custom CSS for centering the form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom:25px;
}
.login-form {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/*CSS*/
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #333;
    align-content: center;
}
.upload-area.dragover {
    border-color: #000;
    background-color: #f0f0f0;
}
.upload-area p {
    margin: 0;
    font-size: 15px;
    color:#333;
}

.upload-area i {
    margin: 0;
    font-size: 72px;
    color:#e1e1e1;
}

.file-list {
    margin-top: 20px;
}
.file-list ul {
    list-style-type: none;
    padding: 0;
}
.file-list li {
    margin-bottom: 10px;
}

/*File manager thumbnails*/
.thumbnails-container {
    display: flex;
    padding: 22px 10px;
    border: 1px solid #ccc;
    min-height: 169px;
    overflow-x: scroll;
}

.thumbnail {
    position: relative;
    margin-right: 15px;
}

.thumbnail img {
    width: 150px;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.thumbnail p {
    font-size:12px;
    color:#333;
    position: absolute;
}

.copy-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #fff;
    border: none;
    padding: 0px 4px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer !important;
    background:#be0000;
}

.copy-button i {
    font-size:12px;
    color:#fff;
}

.copy-button:hover {
    background-color: #45a049;
}

#contentform label, #contentform input::placeholder, #contentform textarea::placeholder, #contentform select, #contentform select option{
    font-size: 14px;
}
#contentform label, #contentform input, #contentform textarea, #contentform select{
    box-shadow:none;
}


.checkbox-wrapper-31:hover .check {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    top: 2px;
    left: 5px;
}
.checkbox-wrapper-31 .background {
    fill: #ccc;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
}
.checkbox-wrapper-31 input[type=checkbox]:hover {
    cursor: pointer;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .background {
    fill: #6cbe45;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .stroke {
    stroke-dashoffset: 0;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .check {
    stroke-dashoffset: 0;
}