:root {
    --font-oswald: 'Oswald', sans-serif;
    --font-raleway: 'Raleway', sans-serif;
    --font-mulish: 'Mulish', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    font-family: var(--font-raleway);
    font-size: 22px;
    /* background-image: url(/asset/IMAGES/joanna-kosinska-1_CMoFsPfso-unsplash.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    scroll-behavior: smooth;
}

.section-heading {
    font-size: 34px;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0px 0px 1px black;
    font-family: var(--font-mulish);
}

.main-wrapper {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-image: url(/asset/IMAGES/joanna-kosinska-1_CMoFsPfso-unsplash.webp);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.contact-banner {
    padding: 5px 0;
    font-family: var(--font-oswald);
    font-size: 0.5em;
    font-weight: 700;
    line-height: 110%;
    text-align: center;
    color: white;
    background-color: black;
}
.contact-banner a {
    letter-spacing: 0.5px;
    color: rgb(255, 196, 0);
}

header {
    width: 90%;
    margin: auto;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 40px;
    border: 2px double silver;
    box-shadow: 0px 0px 10px rgb(127, 114, 89);
    animation: flash 3s 0s 1 ease-in-out reverse;
}

.nav-links {
    width: auto;
    margin: auto;
    margin-right: 1rem;
}

.nav-link {
    margin: 0 5px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 600ms;
    animation: flash 1.5s 0s 1 ease-in-out forwards;
}

.nav-link:hover {
    color: rgba(107, 107, 107, 0.7);
    text-shadow: 0px 0px 2px white;
    /* box-shadow: 0px 15px 15px -15px #111 !important; */
}

main {
    width: auto;
    margin: auto;
    text-align: center;
}

.emtech-h1 {
    color: white;
    letter-spacing: 1.3px;
    font-size: 62px;
    text-shadow: 0px 0px 2px black;
    font-family: var(--font-oswald);
}

.border-bottom {
    border-bottom: 4px solid black;
    border-radius: 5px;
    animation: flash 2.2s 0s 1 ease-in-out forwards;
}

@keyframes flash {
    to {
        box-shadow: 0px 15px 15px -15px #111;
    }
}

.about-container {
    width: 70%;
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.card {
    width: 20rem;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: rgba(107, 107, 107, 0.85);
    border: 2px solid;
    border-radius: 10px;
    animation: flash 2.2s 0s 1 ease-in-out forwards;
}


.card-design-deploy {
    background-image: url(/asset/IMAGES/hal-gatewood-27bM7hQFD2o-unsplash.webp);
}

.card-seo-security {
    background-image: url(/asset/IMAGES/hal-gatewood-CcADlKdo94o-unsplash.webp);
}

.card-ecomm-apps {
    background-image: url(/asset/IMAGES/hal-gatewood-fyrZPSnhYfQ-unsplash.webp);
}

.card-design-deploy,
.card-seo-security,
.card-ecomm-apps {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-img-cont {
    width: 98%;
    margin-top: 2px;
    min-height: 140px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;

}

.card-img {
    width: 100%;
}

.img-h3 {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 10%;
    padding: 3px 5px;
    font-size: 34px;
    font-family: var(--font-mulish);
    font-weight: 800;
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0));
    border-radius: 10px;
    transition: all 800ms;
}

/* .img-h3:hover {
    text-shadow: 0px 0px 1px rgb(216, 18, 18);
    background-color: rgba(103, 98, 98, 0.924);
    border: 3px double white;
    border-left: none;
    border-right: none;
} */
.single-h2-right {
    margin-left: 5px;
}

.single-h2-left {
    margin-left: -1.5%;
}

.larger {
    font-size: 6rem;
    margin: -1%;
    color: rgb(255, 191, 0);
    filter: drop-shadow(0px 0px 1px rgb(0, 0, 0));
}

.card-body {
    margin: 0px 5px;
}

.card-text {
    margin: 10px auto;
    color: white;
    font-size: 1rem;
    font-family: var(--font-oswald);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: -1px 0 black, 0 1px black;
}

.one-card {
    margin-top: -100px !important;
}

footer {
    width: 90%;
    margin: auto;
    text-align: center;
}

/* ABOUT US */

.about-us {
    width: 90%;
    margin: 3rem auto;
}

.about-us-container {
    position: relative;
    width: 600px;
    height: 500px;
    margin: auto;
    margin-top: -40px;
    /* border: 5px double purple; */
}

.about {
    transform: skewy(5deg);
    z-index: 1;
    position: absolute;
    right: -150px;
    top: 70px;
    width: 410px;
    height: 220px;
    background-color: white;
    background-image: url(../IMAGES/about.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border: 2px solid rgb(78, 74, 69);
    border-radius: 5px;
    filter: drop-shadow(-1px 1px 2px rgb(136, 131, 131)) drop-shadow(1.5px 1px rgb(136, 131, 131)) drop-shadow(0.5px 0.5px rgb(136, 131, 131));
    transition: 600ms;
}

.about:hover {
    transform: scale(1.3);
    z-index: 10;
}

.garantee {
    z-index: 3;
    position: absolute;
    left: 110px;
    bottom: 20px;
    width: 370px;
    height: 220px;
    background-color: white;
    background-image: url(../IMAGES/guarantee.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border: 2px solid rgb(78, 74, 69);
    border-radius: 5px;
    filter: drop-shadow(0px 0px 2px rgb(136, 131, 131)) drop-shadow(-1.5px 1px rgb(136, 131, 131)) drop-shadow(0.5px 1px rgb(136, 131, 131));
    transition: 600ms;
}

.garantee:hover {
    transform: scale(1.3);
}

.testamonials {
    transform: skewy(-5deg);
    z-index: 1;
    position: absolute;
    left: -100px;
    top: 90px;
    width: 370px;
    height: 220px;
    background: white;
    background-image: url(../IMAGES/wordcloud-gef8cfc7b7_1280\ copy.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border: 2px solid rgb(78, 74, 69);
    border-radius: 5px;
    filter: drop-shadow(-1px 1px 2px rgb(136, 131, 131)) drop-shadow(-1.5px 1px rgb(136, 131, 131));
    transition: 600ms;
}

.testamonials:hover {
    transform: scale(1.3);
    z-index: 3;
}

.about-heading {
    width: 100%;
    background-color: rgb(209, 219, 238);
    color: rgb(0, 0, 0);
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    box-shadow: -0.5px 1px 2px white;
    /* text-shadow: 0px 0px 2px rgb(255, 255, 255); */
    letter-spacing: 2px;
}

.about-body {
    display: none;
    width: 90%;
    margin: auto;
    font-family: var(--font-mulish);
    letter-spacing: 0.5px;
    font-size: 0.7em;
    text-align: center;
    text-shadow: -0.5px 0px rgb(255, 196, 0), 0px 0.5px rgb(255, 196, 0);
}

.line {
    width: 50px;
    margin-right: 3px;
    height: 50px;
    background-color: black;
    border: 1px solid black;
}

.about,
.garantee,
.testamonials {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-container {
    width: 90%;
    margin: 15px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-item {
    width: 150px;
    height: 180px;
    margin: 10px 10px;
    padding: 0 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.574);
    border-radius: 5px;
    box-shadow: 0px 0px 2px black;
}

.portfolio-image {
    width: 100px;
    height: 100px;
    margin: 10px auto 15px;
    background-color: whitesmoke;
    border: 1px double black;
    border-radius: 5px;
}

.portfolio-link {
    font-size: 0.9rem;
    color: black;
    font-weight: 600;
    text-shadow: 0px 0px 1px white;
    transition: all 200ms;
}
.portfolio-link:hover {
    cursor: pointer;
    color: white;
    text-shadow: 0px 0px 1px black, 0px 1px 1px black;

}

footer {
    margin: 10px auto;
    color: white;
    text-shadow: 0px 0px 1px black;
}

@media only screen and (max-width: 945.5px) {
    .one-card {
        margin-top: 10px !important;
    }
}
@media only screen and (max-width: 920px) {
    .about {
        right: -90px;
    }
}

@media only screen and (max-width: 780px) {
    .about-us-container {
        width: 60%;
    }

    .about {
        right: -100px;
    }

    .garantee {
        left: 60px;
    }

    .about,
    .garantee,
    .testamonials {
        width: 280px;
    }
}

@media only screen and (max-width: 680px) {
    .garantee {
        left: 15px;
    }

    .testamonials {
        width: 270px;
    }
}

@media only screen and (max-width: 500px) {
    
    .nav-link {
        margin: 0 3px;
        font-size: 0.7em;
    }

    .card {
        width: 220px;
    }

    .img-h3 {
        font-size: 22px;
    }

    .larger {
        font-size: 4rem;
    }

    .about-us-container {
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
    }

    .about,
    .garantee,
    .testamonials {
        width: 240px;
        height: auto;
        margin: 3% auto;
        padding: 50px 0;
        display: block;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        /* width: 300px; */
        transform: skew(0);
    }

    .about:hover,
    .garantee:hover,
    .testamonials:hover {
        transform: scale(1.2);
    }

}

@media only screen and (max-width: 341px) {
    header {
        width: 95%;
    }
    .nav-link {
        margin: 0 2px 0 auto;
        font-size: 0.65em;
    }
}
