* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #fdfdfd;
    --main-color: #5BDED6;
    --white-color: #fdfdfd;
    --text-color: #fdfdfd;
    --border-color: #348F89;
    --shadow-color: rgba(0, 0, 0, .2);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .5s;
    background: black;
}

.header.sitcky {
    /*background: var(--bg-color);*/
    background: var(--main-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 1.7em;
    cursor: default;
    color: var(--main-color);
}

.logoimg {
    height: 30px;
    left: 0;
}

.navbar a {
    position: relative;
    color: var(--main-color);
    font-size: 1.1em;
    margin-left: 12px;
    text-decoration: none;
    padding: 6px 15px;
    font-weight: 600;
    border-radius: 20px;
}

.header.sticky .navbar a {
    color: var(--main-color);
}

.header.sticky .navbar a.active {
    color: var(--main-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    border-radius: 20px;
    transform: translateY(10px);
    opacity: 0;
    transition: .5s;
}

.header.sticky .navbar a::before{
    background: var(--main-color);
    opacity: .7;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

.navbar a:hover::after {
    transform: translateY(0);
    opacity: 1;
}

html {
    font-size: 90%;
    overflow-x: hidden;
}

body {
    background-color: black;
    }

section{
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}
.home {
    display: flex;
    align-items: center;
}

.content {
    color: #fff;
    text-align: center;
    letter-spacing:  .1em;
    text-shadow: 0 0 10px rgba(0,0,0, .8);
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 500px;
    background: transparent;
    /*border: 2px solid var(--main-color);
    border-radius: 10px;*/
    margin-top: 20px;
}

.container .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background: transparent;
    border: 2px solid var(--main-color);
    padding: 80px;
    color: black;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 10px;
}

.content .logo {
    font-size: 40px;
    text-align: left;
    color: black;
}

.text-sci h2 {
    font-size: 30px;
    color: #348F89;
}

.text-sci p {
    font-size: 16px;
    margin: 20px 0;
    text-align: justify;
    color: #348F89;
}

.social-icons a i {
    font-size: 30px;
    color: #348F89;
    margin-right: 10px;
    transition: .5s ease;
}

.social-icons a:hover i {
    transform: scale(1.2);
}

.container .ceglogo {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 58%);
    height: 100%;
    border: 2px solid #348F89;
    border-radius: 10px;
}

.ceglogo img {
    position: absolute;
    right: 0;
    width: 100%;
    pointer-events: none;
}

/*.services */
.services-container {
    position: relative;
    display: flex;
    top: 50%;
    left: 10%;
    width: 75%;
    height: 500px;
    background: transparent;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 20rem;
    background: transparent;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
}

.services-box h3 {
    font-size: 1.6rem;
    color: var(--main-color);
}

.services-box p {
    font-size: 1.2rem;
    margin: 1rem 0 3rem;
    color: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    border: .2rem solid transparent;
    font-size: 1rem;
    color: black;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
 }   

.btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.heading {
    font-size: 3.5rem;
    text-align: center;
    color: var(--main-color);
}

.product {
    padding-bottom: 10rem;
}

.product-container {
    position: relative;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    top: 50%;
    left: 10%;
    width: 75%;
    height: 500px;
    background: transparent;
    margin-top: 20px;
}

.product-box {
    flex: 1 1 20rem;
    background: transparent;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    flex-wrap: wrap;
}

.product-box h4 {
    position: relative;
    text-align: center;
    font-size: 30px;
    color: var(--main-color);
}
.product-img {
    top: 0;
    left: 0;
    height: 200px;
    width: 49%;
    display: flex;
    border: 2px solid var(--main-color);
    border-radius: 10px;
    align-items: center;
    padding: 20px;
    justify-content: space-between;
    float: left;
}

.product-img img {
    height: 100%;
    width: 100% 80px;
}

.product-about {
    position: relative;
    top: 0;
    right: 0;
    width: 49%;
    height: 200px;
    display: flex;
    border: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 20px;
    float: left;
    text-align: center;
}

.product-about p {
    color: var(--main-color);
    font-size: 16px;
    text-align: center;
}

.product-btn {
    display: inline-block;
    padding: 1.2rem 1.2rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    border: .2rem solid transparent;
    font-size: 1rem;
    color: black;
    /*letter-spacing: .1rem;*/
    font-weight: 600;
    transition: .5s ease;
    height: 50px;
 }   

.product-btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.about-container {
    position: relative;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    top: 50%;
    left: 10%;
    width: 75%;
    height: 500px;
    background: transparent;
    margin-top: 20px;  
    border: 2px solid var(--main-color);
    border-radius: 10px;
}

.text-about p{
    font-size: 20px;
    margin: 20px 0;
    text-align: justify;
    color: var(--main-color);
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--main-color);
    /*background: var(--bg-color);*/
    background: transparent;
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--main-color);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
}

.footer-text p {
    font-size: 1.2rem;
    /*color: var(--white-color);*/
    color: black;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.phpmessage.alert-success{
    z-index: 1;
    background: $04edda;
    font-size: 14px;
    font-weight: 700;
    padding: 20px 40px;
    width: 100%;
    border-left: 8px solid #3ad66e;
    border-radius: 4px;
}

.phpmessage.alert-error{
    z-index: 1;
    background: $fff3cd;
    font-size: 14px;
    font-weight: 700;
    padding: 20px 40px;
    width: 100%;
    border-left: 8px solid #ffa502;
    border-radius: 4px;
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .container {
        height: 85.5rem;
    }

    .home .container .content {
        right: -12rem;
        height: 85.8rem;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: ;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .container {
        right: -22rem;
    }

    .home .container .overlay {
        right: -15rem;
    }
}

@media (max-width: 991px) {
    .home .home-content {
        max-width: 50rem;
    }

    .home .container {
        right: -45rem;
    }

    .home .container .overlay {
        right: -39.5rem;
    }

    .ceglogo img {
        display: none;
    }

    .services,
    .product {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        /*background: var(--bg-color);
        background: transparent;*/
        background: var(--main-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        /*color: var(--main-color);*/
        color: black;
    }

    /*.navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--main-color);
    }*/

    .navbar a.active {
        color: var(--main-color);
    }

    .navbar a::before {
        display: none;
    }
}    