@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

html {
    text-align: center;
    
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    
    
    /* yellow */
}

.container {
    height: 85vh;
    width: 100vw; /* Changed from 100vh to 100vw for full width */
    position: relative;
    overflow: hidden;
}

.container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fade 9s ease-in-out infinite;
}

.container img:nth-of-type(1) {
    animation-delay: 0s;
}
.container img:nth-of-type(2) {
    animation-delay: 3s;
}
.container img:nth-of-type(3) {
    animation-delay: 6s;
}
.container img:nth-of-type(4) {
    animation-delay: 9s;
}
.container img:nth-of-type(5) {
    animation-delay: 12s;
}


@keyframes fade {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}
header {
   
    font-size: 35px;
    color: white;
    padding: 20px;
    text-align: center;
}


.overlay {
    background-color: rgba(0,0,0,0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

}
.container img:nth-of-type(1) {
    animation-delay: 0s;
}

.container img:nth-of-type(2) {
    animation-delay: 3s;
}

.container img:nth-of-type(3) {
    animation-delay: 6s;
}

.container img:nth-of-type(4) {
    animation-delay: 9s;
}

.container img:nth-of-type(5) {
    animation-delay: 12s;
}

.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.center-content img#logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.center-content p {
    font-size: 1.5rem;
    max-width: 600px;
    line-height: 1.4;
}
 /*prevent logo from fading */
#logo {
    animation: none !important;
    position: relative;
    z-index: 21;
    
}
header {
    background-color: #036034;
    font-size: 35px;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    text-align: center;
    background-color: white;
    padding: 10px;
}

nav a {
    color: #036034;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

.slider {
    height: 250px;
    margin: auto;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 9));
    }

}

.slide {
    height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}
img {
    width: 100%;
    transition: transform 1s;
}

img:hover {
    transform: translateZ(20px);
}

/* Gradient Shadows*/

.slider::before,
.slider::after {
    background: linear-gradient(to right,  rgb(252, 252, 251) 0%,rgba(255,255,255,0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;

}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.container1 {
    display:flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5em;
    background: radial-gradient(circle,#32393c 19%, #00050e 99%);

}



.slider1{
    position: relative;
    height: 500px;
    width: 800px;
    border: 15px solid #465055;
    box-shadow: 0 25px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}
video{
    position:absolute;
    height: inherit;
    width: inherit;
    object-fit: cover;
    
}

.navbtns{
    position: relative;
}

.navbtns button{
    height: 70px;
    width: 70px;
    outline: none;
    background-color: transparent;
    color: #fff;
    font-size: 2em;
    border: 2px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    margin: 0 1em;

}

.navbtns button:active{
    background-color: #fff;
    color: #222;
}
.hero {
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #036034;
    text-align: center;
}

.hero h1 {
    font-size: 50px;
    margin: 0;
}

.hero p {
    font-size: 20px;
}


section {
    padding: 10px;
    text-align: center;
}

section h2 {
    color: #036034;
}

.serv {
    text-align: center;
    /* Center text inside the section */
}

.services div {
    justify-content: center;
    background-color: white;
    padding: 20px;
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
    /* Add some space between the service boxes */
    max-width: 300px;
    /* Optional: Set a max width for the service boxes */
}

.services {
    text-align: center;
    display: flex;
    /* Use flexbox for layout */
    justify-content: center;
    /* Center the child divs horizontally */
    flex-wrap: wrap;
    /* Allow wrapping of items if necessary */

}
.services h3 {
    color: #2980b9;
}

footer {
    background: linear-gradient(to right,#036034,#036034) ;
    color: white;    
    text-align: center;
    width: 100%;    
    bottom: 0;
    padding: 50px 0 15px;
    border-top-left-radius: 125px;
    font-size: 11px;
    line-height: 18px;
}
.row {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}
.col {
    flex-basis: 20%;
    padding: 24px;
    
}

.col h3 {
    
    margin-bottom: 40px;
    position: relative;
}

.underline{
    
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
}
.underline span {
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 1s linear infinite;
}

@keyframes moving{
    0%{
        left: 5%;
    }
    100%{
        left: 95%;
    }
}
#flogo {
    width:60%;
    margin-bottom: auto;
}
#phone {
    text-decoration: none;    
}
#email {
    text-decoration: none;    
}



.contact-button {
    background-color: #036034;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}


@media only screen and (max-width: 600px) {

    

    header {
        padding: 1%;
        width: 99%;

    }
    nav {
        padding: 1%;
        width: 99%;

    }
    nav a {
        justify-content: center;
        color: #036034;
        text-decoration: none;
        font-size: 14px;

    }

    #logo {
        width: 80%;

    }

       .roofing{
        display: flexbox;
        padding: 40px;
    }



.container1 {
    
    display:flex;
    min-height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5em;
    background: radial-gradient(circle,#32393c 19%, #00050e 99%);

}

.slider1{
    position: relative;
    height: 400px;
    width: 400px;
    border: 15px solid #465055;
    box-shadow: 0 25px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}


    #copy {
        margin-right: 10%;
    }

    #cont {
        margin-right: 10%;
        font-size: 14px;
    }

    #par1 {
        display: flex;
    }
    
    #par2 {
        display: flex;
    }
    footer {
        background: linear-gradient(to right,#036034,#036034) ;
        color: white;    
        text-align: center;
        width: 100%;    
        bottom: 0;
        padding: 50px 0 15px;
        border-top-left-radius: 125px;
        font-size: 11px;
        line-height: 18px;
    }
    .row {
        width: 90%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
    }
    .col {
        flex-basis: 50%;
        padding: 3px;
        
    }
    
    .col h3 {
        
        margin-bottom: 40px;
        position: relative;
    }
    
    .underline{
        
        width: 100%;
        height: 5px;
        background: #767676;
        border-radius: 3px;
        position: absolute;
        top: 25px;
        left: 0;
    }
    .underline span {
        width: 15px;
        height: 100%;
        background: #fff;
        border-radius: 3px;
        position: absolute;
        top: 0;
        left: 10px;
        animation: moving 1s linear infinite;
    }
    
    @keyframes moving{
        0%{
            left: 2%;
        }
        100%{
            left: 92%;
        }
    }

    #divine {
        width: 35%;
    }
    #flogo {
        width:60%;
        margin-bottom: auto;
    }
}

@media only screen and (min-width: 601px) {    

    header {
        padding: 1%;
        width: 99%;

    }
    nav {
        padding: 1%;
        width: 99%;

    }
    nav a {
        justify-content: center;
        color: #036034;
        text-decoration: none;
        font-size: 16px;

    }

    .roofing{
        display: flexbox;
        padding: 40px;
    }

    #logo {
        width: 70%;

    }


.container1 {
    
    display:flex;
    min-height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5em;
    background: radial-gradient(circle,#32393c 19%, #00050e 99%);

}

.slider1{
    position: relative;
    height: 400px;
    width: 600px;
    border: 15px solid #465055;
    box-shadow: 0 25px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}
 

    #copy {
        margin-right: 10%;
    }

    #cont {
        margin-right: 10%;
        font-size: 14px;
    }
    footer {
        background: linear-gradient(to right,#036034,#036034) ;
        color: white;    
        text-align: center;
        width: 100%;    
        bottom: 0;
        padding: 50px 0 15px;
        border-top-left-radius: 125px;
        font-size: 11px;
        line-height: 18px;
    }
    .row {
        width: 85%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;

    }
    .col {
        flex-basis: 50%;
        padding: 3px;
        
    }
    
    .col h3 {
        
        margin-bottom: 40px;
        position: relative;
    }
    
    .underline{
        
        width: 100%;
        height: 5px;
        background: #767676;
        border-radius: 3px;
        position: absolute;
        top: 25px;
        left: 0;
    }
    .underline span {
        width: 15px;
        height: 100%;
        background: #fff;
        border-radius: 3px;
        position: absolute;
        top: 0;
        left: 10px;
        animation: moving 1s linear infinite;
    }
    
    @keyframes moving{
        0%{
            left: 3%;
        }
        100%{
            left: 93%;
        }
    }

    #divine {
        width: 35%;
    }
    #flogo {
        width:60%;
        margin-bottom: auto;
    }
}

@media only screen and (min-width: 768px) {

    

    header {
        padding: 1%;
        width: 99%;

    }
    nav {
        padding: 1%;
        width: 99%;

    }
    nav a {
        justify-content: center;
        color: #036034;
        text-decoration: none;
        font-size: 16px;

    }

    #logo {
        width: 55%;

    }


    #dove {
        width: 45%;
    }



    #copy {
        margin-right: 10%;
    }

    #cont {
        margin-right: 10%;
        font-size: 14px;
    }
    footer {
        background: linear-gradient(to right,#036034,#036034) ;
        color: white;    
        text-align: center;
        width: 100%;    
        bottom: 0;
        padding: 50px 0 15px;
        border-top-left-radius: 125px;
        font-size: 11px;
        line-height: 18px;
    }
    .row {
        width: 85%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
    }
    .col {
        flex-basis: 55%;
        padding: 33px;
        
    }
    
    .col h3 {
        
        margin-bottom: 40px;
        position: relative;
    }
    
    .underline{
        
        width: 100%;
        height: 5px;
        background: #767676;
        border-radius: 3px;
        position: absolute;
        top: 25px;
        left: 0;
    }
    .underline span {
        width: 15px;
        height: 100%;
        background: #fff;
        border-radius: 3px;
        position: absolute;
        top: 0;
        left: 10px;
        animation: moving 1s linear infinite;
    }
    
    @keyframes moving{
        0%{
            left: 5%;
        }
        100%{
            left: 88%;
        }
    }

    #divine {
        width: 40%;
    }
    #flogo {
        width:60%;
        margin-bottom: auto;
    }
}

/* Styles for desktops */
@media only screen and (min-width: 1024px) {

    header {
        padding: 1%;
        width: 100%;

    }
    nav {
        padding: 1%;
        width: 100%;

    }
    nav a {
        justify-content: center;
        color: #036034;
        text-decoration: none;
        font-size: 16px;

    }

    .container {
    height: 95vh;
    width: 100vw; /* Changed from 100vh to 100vw for full width */
    position: relative;
    overflow: hidden;
}

    #logo {
        
        width: 25%;

    }


    #divine {
        width: 25%;
    }



    #copy {
        margin-right: 10%;
    }

    #cont {
        margin-right: 10%;
        font-size: 14px;
    }

    footer {
        background: linear-gradient(to right,#036034,#036034) ;
        color: white;    
        text-align: center;
        width: 100%;    
        bottom: 0;
        padding: 50px 0 15px;
        border-top-left-radius: 125px;
        font-size: 11px;
        line-height: 18px;
    }
    .row {
        width: 90%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
    }
    .col {
        flex-basis: 20%;
        padding: 24px;
        
    }
    
    .col h3 {
        
        margin-bottom: 40px;
        position: relative;
    }
    
    .underline{
        
        width: 100%;
        height: 5px;
        background: #767676;
        border-radius: 3px;
        position: absolute;
        top: 25px;
        left: 0;
    }
    .underline span {
        width: 15px;
        height: 100%;
        background: #fff;
        border-radius: 3px;
        position: absolute;
        top: 0;
        left: 10px;
        animation: moving 1s linear infinite;
    }
   
    #flogo {
        width:60%;
        margin-bottom: auto;
    }


}
