body{
    margin: 0;
}

h1{
    font-size: clamp(1px, 5rem, min(8vh, 10vw));
}

h2{
    font-size: clamp(1px, 4rem, min(7vh, 9vw));
}

h3{
    font-size: clamp(1px, 3rem, min(6vh, 8vw));
}

h4{
    font-size: clamp(1px, 2rem, min(5vh, 7vw));
}

p{
    font-size: clamp(1px, 2rem, 4vmin);
}

button{
    width: 100%;
    background-color: gold;
    font-size: clamp(1px, 2rem, 5vmin);
    border-radius: clamp(5px, 2rem, 50px);
    border-width: 10px;
}

.service{
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-self: center;
}

.project{
    position: relative;
    left: 0%;
    transition: all 1s;
    top: 0%;
    max-width: 120vh;
}

.project-images{
    display: flex;
    height: fit-content;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.5s;
    scroll-behavior: smooth;
    max-height: 80%;
}

.project-image-holder{
    position: relative;
    max-width: 120vh;
}

#left-arrow{
    position: absolute;
    background-color: rgba(200, 200, 200, 0.8);
    height: 15%;
    width: 15%;
    z-index: 1;
    top: 40%;
    left: 5%;
    cursor: pointer;
}

#left-arrow::after{
    content: "";
    display: block;
    background-color: white;
    height: 5%;
    width: 49%;
    left: 20%;
    top: 25%;
    position: relative;
    transform: rotate(-25deg);
}

#left-arrow::before{
    content: "";
    display: block;
    background-color: white;
    height: 5%;
    width: 49%;
    left: 20%;
    top: 60%;
    position: relative;
    transform: rotate(25deg);
}

#right-arrow{
    position: absolute;
    background-color: rgba(200, 200, 200, 0.8);
    height: 15%;
    width: 15%;
    z-index: 1;
    top: 40%;
    right: 5%;
    cursor: pointer;
}

#right-arrow::after{
    content: "";
    display: block;
    background-color: white;
    height: 5%;
    width: 49%;
    left: 30%;
    top: 25%;
    position: relative;
    transform: rotate(25deg);
}

#right-arrow::before{
    content: "";
    display: block;
    background-color: white;
    height: 5%;
    width: 49%;
    left: 30%;
    top: 60%;
    position: relative;
    transform: rotate(-25deg);
}

.project img{
    height: 50%;
    max-width: 100%;
    top: 0;
    object-fit: cover;
    position: relative;
    top: 0%;
    user-select: none;
}

.project h3{
    top: 50%;
    width: calc(100% - 4px);
    text-align: center;
    background-color: rgba(0,80,200,0.6);
    border: solid rgba(200,200,0,0.5) 2px;
    margin: 0;
}

.project p{
    top: 50%;
    width: calc(100% - 4px);
    background-color: rgba(0,80,200,0.6);
    border: solid rgba(200,200,0,0.5) 2px;
    margin: 0;
    height: 8ch;
}

.services{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.body{
    color: gold;
    width: 100%;
}

.body-service{
    background-color: black;
    color: gold;
    width: 100%;
}

.dots{
    position: absolute;
    width: 30%;
    height: 10%;
    bottom: 5%;
    z-index: 1;
    left: 50%;
    right: 50%;
    justify-self: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dot{
    background-color: white;
    border-radius: 100%;
    width: 5vmin;
    height: 5vmin;
    z-index: 2;
    cursor: pointer;
}

.dot.selected{
    background-color: grey;
}

/*END*/

.nav{
    height: 10vh;
    /*background-image: linear-gradient(black, rgba(0,0,0,0.5));*/
    background-color: black;
    color: gold;
    display: flex;
    position: relative;
    z-index: 10;
}

.nav-links{
    width: -webkit-fill-available;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(1px, 4rem, 7vmin);
}

.nav-links a{
    text-decoration: none;
    cursor: pointer;
}

.nav-img{
    height: 80%;
    max-width: 10%;
    display: block;
    justify-self: anchor-center;
    align-self: center;
}

.nav-img img{
    max-height: 100%;
    max-width: 100%;
}

.nav-drop-item{
    position: relative;
    width: fit-content;
}

.nav-drop-item::before{
    content: "";
    display: block;
    position: absolute;
    width: clamp(1px, 3rem, 5vmin);
    height: 0.5vh;
    background-color: gold;
    left: 100%;
    top: 50%;
    transform: rotate(60deg);
    transition: all 0.5s;
    border-radius: 0px 5px 5px 0px;
}

.nav-drop-item::after{
    content: "";
    display: block;
    position: absolute;
    width: clamp(1px, 3rem, 5vmin);
    height: 0.5vh;
    background-color: gold;
    left: calc(100% + calc(calc(clamp(1px, 3rem, 5vmin) / 2) - 2px));
    top: 50%;
    transform: rotate(-60deg);
    transition: all 0.5s;
    border-radius: 5px 0px 0px 5px;
}

.nav-drop-item.hovered::before{
    transform: rotate(-60deg);
}

.nav-drop-item.hovered::after{
    transform: rotate(60deg);
}

.nav-drop-down{
    display: flex;
    flex-direction: column;
    height: 0px;
    overflow: hidden;
    background-color: black;
    position: absolute;
    top: 100%;
    transition: all 0.5s;
}

.nav-drop-down a{
    border: solid gold 2px;
}

.nav-drop{
    display: flex;
    flex-direction: column;
    position: relative;
}

#home-top{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5vh 10% 5vh 10%;
    min-height: 80vh;
}

#home-top p{
    margin-right: 40%;
    max-height: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#home-top button{
    width: 100%;
    background-color: gold;
    border-radius: 50px;
    border-width: 10px;
}

.home-title{
    font-size: clamp(1px, 3rem, min(5vh, 8vw));
}

.body{
    color: gold;
}

.body-div{
    background-color: black;
}

#background-image{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0vh;
    right: 0;
    background-image: url(./constructionWorker.webp);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: -5;
}

#background-image-mask{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    background-image: linear-gradient(to right, rgba(0,0,0,1) 20%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0));
    background-size:contain;
    background-repeat: no-repeat;
    z-index: -4;
}

.service-button{
    height: 30vmax;
    width: 30vmax;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-self: center;
    margin: 2% 0%;
}

.service-button img{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    object-fit: cover;
}

.service-button h3{
    position: absolute;
    top: 50%;
    width: calc(100% - 4px);
    text-align: center;
    background-color: rgba(0,80,200,0.6);
    border: solid rgba(200,200,0,0.5) 2px;
    margin: 0;
}

.services-button{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mission-statement{
    margin: 0% 5%;
    border: solid gold 2px;
    padding: 0% 3%;
}

.footer{
    color: gold;
    background-color: rgb(30, 30, 30);
    text-align: center;
    padding-top: 5%;
}

a{
    color: yellow;
}

a:hover{
    color: rgb(255, 196, 0);
}

.footer-img{
    max-height: 10vh;
    display: block;
    justify-self: center;
}

.contact-body{
    height: fit-content;
    min-height: calc(61vh - 20%);
    background-size: cover;
    font-size: clamp(10px, 2rem, 4vw);
    height: 100%;
    padding: 10% 5%;
    background-color: rgba(0,0,0,0.5);
}

.contact-background{
    background-color: rgba(0,0,0,0.5);
    color: gold;
    min-height: 61vh;
    background-image: url(./contact-background.jpg);
    background-size: cover;
    position: relative;
    right: 0px;
    width: 100%;
}

.background{
    background-color: rgba(0,0,0,0.5);
    height: 100%;
    padding: 10% 5%;
    margin: 0;
}

.mission-list{
    font-size: clamp(1px, 2rem, 4vmin);
}

.flex{
    display: flex;
}

.column{
    flex-direction: column;
}

.center{
    align-items: center;
}

@media(orientation: landscape){

    #home-top{
        height: 80vh;
    }

    .service-img{
        max-width: 30%;
    }

    .services-button{
        flex-direction: row;
    }

    .project{
        margin: 0% 10%;
    }

    #hamburger-container{
        display: none;
    }

}

@media(orientation: portrait){
    
    .nav-links{
        display: none;
    }

    .nav-img{
        max-width: 50%;
    }

    .nav{
        flex-direction: row;
        justify-content: space-between;
    }

    #background-image{
        background-image: url(./BackgroundPhone.webp);
        background-size: cover;
    }

    #home-top{
        height: 80vh;
    }

    .service-body{
        flex-direction: column-reverse;
    }

    .service-img{
        max-width: 100%;
    }

    .push-right{
        margin-left: 30%;
    }

    .push-left{
        margin-right: 30%;
    }

    .services-button{
        flex-direction: column;
    }

    .dots{
        width: 70%;
    }
    
    .dot{
        background-color: white;
        border-radius: 100%;
        z-index: 2;
    }

    #hamburger-button{
        height: 100%;
        width: min(70px, 10vw);
        position: relative;
        z-index: 5;
        top: 0;
        pointer-events: all;
        cursor: pointer;
        padding-right: min(50px, 1vw);
        user-select: none;
        display: flex;
        justify-content: left;
        right: min(50px, 2vw);
    }
    
    #hamburger::before{
        content: "";
        display: block;
        background-color: gold;
        width: 100%;
        height: 100%;
        position: absolute;
        top: -400%;
        left: 0%;
        transition: all 0.5s;
        border-radius: 100px;
    }
    
    #hamburger{
        background-color: gold;
        width: min(70px, 10vw);
        height: 5%;
        position: absolute;
        top: 50%;
        right: 0px;
        transition: all 0.5s;
        border-radius: 100px;
        justify-self: anchor-center;
    }
    
    #hamburger::after{
        content: "";
        display: block;
        background-color: gold;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 400%;
        left: 0%;
        transition: all 0.5s;
        border-radius: 100px;
    }
    
    #hamburger-button.clicked{
    
        .navigation-div{
            left: 0px;
        }
    
        #hamburger::before{
            background-color: red;
            top: 0%;
            transform: rotate(90deg);
        }
        
        #hamburger{
            background-color: red;
            transform: rotate(45deg);
        }
        
        #hamburger::after{
            background-color: red;
            top: 0%;
            transform: rotate(90deg);
        }
    
    }

}

.navigation-div{
    position: fixed;
    padding-top: 10vh;
    height: 90vh;
    width: 100vw;
    top: 0;
    background-color: #0D0D0D;
    z-index: 9;
    display: block;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s;
    left: 100vw;
    overflow: auto;
}

.navigation-div a{
    font-size: clamp(10px, 5rem, 10vmin);
    margin: min(5%, 50px);
    text-decoration: double;
    user-select: none;
}

.navigation-div a:hover{
}

.navigation-div a:active{
    transition: none;
}