/*
Theme Name: Davcas Engineering
Theme URI: https://example.com/davcas-engineering
Author: fobertwebsites.com
Author URI: https://example.com
Description: A custom theme for Davcas Engineering.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: davcas-engineering
*/

/* DAVCAS ENGINEERING THEME */
@import url(./css/footer.css);
@import url(./css/header.css);
@import url(./css/home.css);
@import url(./css/internal.css);
@import url(./css/font/font.css);

html, body {
    scroll-behavior: smooth;
    overflow: auto;
    font-family: "Gideon Roman", serif;
    font-weight: 400;
    font-style: normal;
    color: #363636;
}
.container {
    width: 100%;
    max-width: 1500px;
    padding: 15px 20px;
    margin: 0 auto;
}
.flex-holder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}
.list-holder {
    width: 100%;
    margin: 0 auto;
}
.page .page-content .row {
    padding: 50px 15px;
}
a {
    text-decoration: none;
    color: #363636;
}
a:hover {
    text-decoration: none;
    color: #2B7881;
    transition: all 0.3s ease-in-out;
}
.dropdown-menu {
    --bs-dropdown-link-active-bg: #fff;
}
li,
p {
    font-size: 23px;
}
h1 {
    font-size: 55px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}
h2 {
    font-size: 55px;
    font-weight: 400;
    color: #2B7881;
    text-transform: uppercase;
}
h3 {
    font-size: 48px;
    font-weight: 400;
    color: #fff;
}
h4 {
    font-size: 35px;
    font-weight: 400;
}
h5 {
    font-size: 30px;
    font-weight: 400;
}
.main-btn {
    background-color: #2B7881;
    border: 3px solid #2B7881;
    color: #fff;
    font-size: 32px;
    padding: .5rem 1rem;
    max-width: 250px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.main-btn:hover {
    background-color: transparent;
    border: 3px solid #fff;
    color: #fff;
}
.main-btn.secondary {
    background-color: transparent;
    border: 3px solid #fff;
    color: #fff;
    font-size: 25px;
    padding: .5rem 1rem;
    
}
.main-btn.secondary:hover {
    background-color: #fff;
    border: 3px solid #fff;
    color: #2B7881;
}
.center {
    text-align: center;
}
.line {
    width: 100%;
    max-width: 500px;
    height: 3px;
    background-color: #2B7881;
    margin: 0 auto;
}
.line.animation.animated {
    animation: lineAnimation 1s ease-in-out;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}
@keyframes lineAnimation {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Fade In Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* CONSTRUCTION OVERLAY */
/* .construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    margin: 0 auto;
}
.construction-overlay .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000
}
.construction-overlay h1 {
    color: #fff;
}
.construction-overlay p {
    color: #fff;
}
.construction-overlay a.main-btn {
    max-width: 50%;
    margin: 20px auto;
} */
    

@media screen and (max-width: 1025px) {
    .main-btn {
        font-size: 24px;
        padding: .5rem 1rem;
        max-width: 200px;
    }
    li,
    p {
        font-size: 20px;
    }
    
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 40px;
    }
    li,
    p {
        font-size: 18px;
    }
    
}