:root {
    --h2-position: 0%;
    --hr-position: calc(var(--h2-position) + 5%);
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    padding: 0;
    margin: 0;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #121212;
    color: #FFF;
}

header{
    margin: 0 0 0 0;
    background: #121212;
    position: fixed;
    width: 100%;
    z-index: 1;
}

nav{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    font-family: "hwt-tangent", sans-serif;
    font-weight: 400;
    font-style: normal;
    align-items: center;
    padding: 0 30px;
}

#nav-div{
    flex-flow: column;
    place-content: flex-start space-around;
    align-items: flex-start;
    height: 50vh;
    position: relative;
    background-color: rgb(18, 18, 18);
    padding: 30px;
    box-shadow: 0 10px 10px #000;
}

#nav-div > a{
    text-decoration: none;
    color: #fff;
}

.nav-svg{
    color: #f00;
}

@media screen and (width < 930px) {
    header{
        text-align: left;
        padding: 2vh 0;
        margin: 0 0 0 0;
        background: #121212;
        position: fixed;
        width: 100%;
    }

    nav{
        padding: 0 10vh;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: space-between;
        justify-content: space-between;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    nav > h1{
        font-size: 12pt;
    }
}

nav a{
    text-decoration: none;
    color: #a00;
    cursor: pointer;
}

nav a:hover{
    text-decoration: none;
    color: #F00;
}

#landing{
    height: 85vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#landing div{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#landing h1{
    font-family: "hwt-tangent", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 10px;
    font-size: 2rem;
}

#landing h1 span{
    color: #FFDF00;
    font-size: calc(100% + 30px);
    letter-spacing: 1px;
}

#landing p{
    letter-spacing: 2px;
    font-family: monospace;
}

#main-sub{
    display: flex;
    flex-direction: column;
}

#main-sub section{
    text-align: left;
    margin-left: 50px;
    margin-right: 80px;
}

@media screen and (width < 930px) {
    #main-sub section{
        margin-left: 10px;
        margin-right: 8px;
    }
}

h2{
    font-family: "hwt-tangent", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 5px;
    font-size: 3rem;
}

#different-a{
    font-family: monospace;
    font-weight: 800;
    font-style: normal;
    font-size: 60pt;
}

#message, #contact{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: linear-gradient(-135deg, #333, #121212, #000);
    width: 1000px;
    z-index: 3;
    border-radius: 25px;
}

#message p{
    text-align: left;
    padding-right: 10px;
    padding-left: 10px;
}

#contact form{
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 20px 80px;
    text-align: left;
}

#emailForm > input:not([type="submit"]), #emailForm > textarea{
    background: linear-gradient(180deg, #121212, transparent);
    border: 2px solid #a00;
    border-radius: 15px;
    min-height: 50px;
    color: #fff;
}

footer{
    display: flex;
    flex-direction: row;
    margin-top: 6rem;
    align-content: space-between;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(180deg, #121212, #050505);
}

footer a{
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    
}

footer span{
    display: flex;
    flex-wrap: wrap;
}

footer span a{
    padding: 10px;
}

.custom-hr {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 35%;
}
  
.custom-hr svg{
    fill: #F00;
}

.services-div{
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 80px 40px;
    overflow-x: auto;
}

.services-div div{
    display: flex;
    width: 100%;
    flex-direction: column;
    border: 2px solid #f5f5f5;
    border-radius: 25px;
    max-width: 300px;
    margin: 20px;
    padding: 20px;
    flex: 0 0 auto;
}

.carousal-div{
    position: relative;
    width: 100%;
    height: 35vh;
    overflow: hidden;
    margin: 15vh 0;
    display: flex;
    background-attachment: fixed;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
}

.services-item{
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    max-width: 500px;
    margin: 20px;
    padding: 20px;
    background-color: #fff7;
    color: #000;
}

.services-item.active {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
}

.services-item .title, .services-div .title{
    margin-bottom: 20px;
}

.controls {
    position: absolute;
    top: 50%;
    right: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-100%);
    z-index: 1;
    background-color: #0008;
    height: 110%;
    top: 105%;
    align-items: center;
}

#next {
    cursor: pointer;
    background: transparent;
    color: #F00;
    padding: 5px 10px;
    border-radius: 3px;
    user-select: none;
}

.indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.indicator {
    width: 50px;
    height: 5px;
    margin: 0 5px;
    background-color: #ccc;
    cursor: pointer;
    user-select: none;
}

.indicator.active {
    background-color: #f00;
}

#small-screen{
    display: none;
}

#contact a{
    text-decoration: none;
    color: #fff;
}

@media screen and (width < 930px) {
    #small-screen{
        display: unset;
    }

    #large-screen{
        display: none;
    }

    .carousal-div{
        height: 50vh;
        background-attachment: fixed;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        border-top: 1px solid #a00;
        border-top-left-radius: 25px;
        padding-top: 10px;
    }

    .carousal-div em{
        margin-left: 10px;
    }

    .services-item{
        height: unset;
        margin: unset;
        padding: unset;
        color: #000;
    }

    .controls{
        background: none;
        right: 0;
        align-items: center;
    }

    #next{
        padding: unset;
    }

    .services-div{
        margin: 80px 10px
    }

    #message{
        max-width: 90%;
        max-height: 90%;
    }

    #contact{
        max-width: 90%;
    }

    #emailForm{
        max-height: 60vh;
    }

    #message h2, #contact h2{
        font-size: revert;
    }

    #contact h2{
        margin-bottom: 0;
    }

    #contact p:nth-of-type(1){
        margin: 0;
    }

    #contact form{
    margin: revert;
    }

    nav{
        font-size: 18pt;
    }
}

::-webkit-scrollbar {
    background-color: #121212;
}

::-webkit-scrollbar-thumb {
    background-color: #212121; 
}

::-webkit-scrollbar-button {
    display: none;
}

section p{
    font-size: larger;
    margin-bottom: 50px;
}

section p:last-child{
    margin-bottom: 10px;
}

.cross{
    cursor: pointer;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    position: relative;
    position: absolute;
    left: 30px;
    top: 30px;
    color: #f00;
    font-size: large;
}

pre{
    text-align: left;
    padding: 40px;
}

.about-div, .visionmission {
    border: 2px solid #fff;
    border-radius: 25px;
    padding: 3rem 5rem;
    text-align: justify;
}

#designed-by{
    font-family: "Monospace";
    font-weight: 400;
    font-style: normal;
}

#icons{
    position: fixed;
    right: 10px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    color: #FFDF00;
    cursor: pointer;
}

.other-anchor{
    text-decoration: none;
    color: #808080;
    padding: 10px;
}

.title-hr{
    margin-left: var(--hr-position);
    width: 20%;
    background: #F00;
    height: 3px;
    border: none;
    margin-bottom: 5%;
}

.hr-2{
    margin-bottom: 20vh;
}

.h3-div{
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
    height: 10vh;
    background: linear-gradient(270deg, #FFDF00, #121211);
    margin: 10px;
    display: flex;
    align-items: center;
    font-family: Papyrus;
    padding-left: 50px;
    background-attachment: fixed;
    filter: sepia(1);
    background-position: center;
    background-size: auto;
    background-image: url(./../WEBP/blur.webp);
}

.border-p.one{
    border: 2px solid #fff;
    border-bottom: none;
    border-radius: 25px;
    padding: 20px;
}

.border-p.two{
    border: 2px solid #fff;
    border-top: none;
    border-radius: 25px;
    padding: 20px;
}

button[type=submit]{
    border: none;
    background-color: #f00;
    font-weight: 700;
    width: 30%;
    align-self: end;
    border-radius: 15px;
    height: 50px;
}

@media screen and (width < 930px) {
    .about-div, .visionmission{
        padding: 1rem 1rem;
        text-align: center;
    }

    #message{
        overflow-x: auto;
    }
}

#nav-div{
    display: none;
}

#login-form, #login-form form{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login-form{
    width: 100%;
    display: none;
    z-index: 2;
}

#login-form form{
    background: linear-gradient(-135deg, #333, #121212, #000);
    width: fit-content;
    padding: 10% 11%;
    border-radius: 50px;
    height: 30%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-evenly;
    color: #fff;
}

#login-form form > input:not([type="submit"]){
    border-radius: 15px;
    height: 50px;
    width: 250px;
    background: linear-gradient(180deg, #121212, transparent);
    border: 2px solid #a00;
    color: #fff;
}

#login-buttons{
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
}

#login-buttons input{
    background-color: #fff;
    border: none;
    border-radius: 15px;
    width: 100%;
}

#login-buttons input[value="Cancel"] {
    background-color: #a00;
    color: #fff;
}

#login-buttons input:hover{
    background-color: #ffc0cb;
    box-shadow: -5px 5px 5px inset #2e2727;
}

#login-buttons input[value="Cancel"]:hover{
    background-color: #800;
    box-shadow: -5px 5px 5px inset #000;
}

#form-background{
    background-color: #000000ef;
    width: 100%;
    height: 100vh;
}

#register{
    height: unset !important;
}

#register > select{
    background: transparent;
    border-radius: 15px;
    color: #fff;
    border-color: #f00;
    width: 100%;
    height: 50px;
    appearance: none;
    padding: 10px;
}

#register > select > option{
    background-color: #121212;
}

#register > select > option:focus{
    background-color: #323232;
}

#register #login-buttons input{
    height: 50px;
}

#dark-div{
    background: #000000ef;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#gallery-div{
    display: grid;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;
    align-content: space-evenly;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (width < 930px) {
    #gallery-div{
        grid-template-columns: repeat(1, 1fr);
    }
}

#gallery-div > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 10px;
    margin: 2px;
}

#gallery-div > div > img:nth-of-type(1), #desktopUpload{
    width: 400px;
    height: 300px;
}

#gallery-div > div > img:nth-of-type(2), #mobileUpload{
    width: 300px;
    height: 400px;
}

#middle-grid{
    grid-column: 2/3;
}

.img-delete{
    border: none;
    background: linear-gradient(45deg, #808080, transparent);
    border-radius: 10px;
    height: 35px;
    width: 30%;
    font-size: 18pt;
}

.gallery-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 10px;
    margin: 2px;
}

.uploadFile::file-selector-button, .remove-file{
    border: none;
    background: linear-gradient(45deg, #808080, transparent);
    height: 35px;
    font-size: 18pt;
}

.remove-file{
    background: linear-gradient(45deg, #ff0000, transparent);
}

.upload{
    border: none;
    background: linear-gradient(45deg, #808080, transparent);
    border-radius: 10px;
    height: 35px;
    font-size: 18pt;
}

#desktopUpload, #mobileUpload{
    box-shadow: -3px 3px 3px inset #000;
}

#res{
    text-shadow: 5px 5px #000;
}

.orane-back{
    background-image: url('./../WEBP/orange-machine.webp');
}

#gallery-title{
    font-family: "hwt-tangent", sans-serif;
    font-weight: 400;
    font-style: normal;
}