@font-face {
    font-family: 'PixelifySans';
    src: url('/assets/styles/fonts/Pixelify/static/PixelifySans-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

* {
    font-family: 'PixelifySans', sans-serif;
    color: white;
}

main {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 555;
    background-color: transparent;
}

#service-modal, #projects-modal, #contact-modal {
    position: fixed;
    z-index: 999;
    background-color: black;
    width: 50%;
    height: 65%;
    margin-top: 7.5%;
    overflow-y: scroll;
    padding: 0.5em;
    border: solid 2px white;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

#contact-modal {
    overflow: hidden;
}

.backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

icon {
    font-size: 2em;
    color: white;
    cursor: pointer;
    justify-self: right;
}

.main-cont {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}
.main-cont p {
    text-shadow: -1px 0 rgb(110, 110, 110), 0 1px rgb(110, 110, 110), 1px 0 rgb(110, 110, 110), 0 -1px rgb(110, 110, 110);
    color: black;
    font-size: 10em;
    margin-bottom: 25vh;
}



#projects-modal {
    overflow-x: hidden;
}

.gallery {
    position: relative;
    width: 100%;
    display: flex;
}
.g-item {
    margin: 6%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.g-item img {
    border: solid 2px wheat;
    width: 100%;
    height: auto;
}

#g-prev {
    height: 5em;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#g-prev img{
    height: 100%;
    border: solid 2px wheat;
}
.active {
    border: solid 4px white !important;
}

.btns {
    padding-top: 1em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}
.btns button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.testim {
    width: 300%;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 5%;
    margin-left: 0;
    transition: ease 250ms;
    -webkit-transition: ease 250ms;
    -moz-transition: ease 250ms;
    -ms-transition: ease 250ms;
    -o-transition: ease 250ms;
}

.t-item {
    display: flex;
    flex-direction: column;
}

.top {
    display: flex;
    gap: 1em;
}

.top img {
    height: 5em;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.b {
    height: .5em;
    width: .5em;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.tActive {
    background-color: rgba(255, 255, 255, 0.75);
}


#c-form {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#c-form input[type="email"] {
    font-family: sans-serif;
    width: 25%;
}
#c-form textarea {
    font-family: sans-serif;
    color: black;
    width: 40%;
    height: 20%;
}
#c-form input[type="submit"] {
    color: black;
    font-size: 1.2em;
    cursor: pointer;
}





























/* Scroll bar styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #333 #f0f0f0;
}

body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}