:root {
    --size-link: 18px;
    --size-link-small: 16px;
    --size-p: 20px;
    --size-p2: 16px;
    --size-p3: 18px;
    --size-h2: 30px;
    --size-h3: 24px;
    --size-h4: 20px;
    --contact: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    position: sticky;
    z-index: 2;
}

header #logo-box {
    width: 5%;
}

header #logo-box img {
    width: 100%;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
}

#navbar li a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: var(--size-link);
    transition: 0.3s ease;
}

#navbar li a:hover {
    color: #00A651;
}

#mobile,
#close {
    display: none;
}

#hero {
    background:rgba(0, 0, 0, 0.7) url("/client/img/osh.jpg");
    background-blend-mode: darken;
    height: 84vh;
    width: 100%;
    background-size: cover;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#hero h2 {
    color: #fff;
    font-size: var(--size-h2);
    font-weight: 500;
    margin-bottom: 20px;
}

#hero p {
    color: #00A651;
    font-size: var(--size-p);
    font-weight: 300;
}

#services {
    padding: 0 120px;
    margin-bottom: 30px;
    text-align: center;
}

#services h2 {
    margin: 30px 0;
    font-weight: 400;
    font-size: var(--size-h2);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

.services-container .service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 23%;
    min-width: 250px;
    min-height: 250px;
    padding: 10px 12px;
    border: 1px solid #000;
    border-radius: 6px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
}

.services-container .service h4 {
    color: #00A651;
    font-size: var(--size-h4);
    font-weight: 400;
    margin: 1em 0;
}

.services-container .service p {
    font-size: var(--size-p2);
    font-weight: 300;
    line-height: 1.6;
}

.services-container .service:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.05);
}

.service .training {
    color: #00CED1;
}

.service .audit {
    color: #0074D9;
}

.service .helmet {
    color: #FBC02D;
}

.service .ext {
    color: #FF0000;
}

.service .medical {
    color: #FF6600;
}

.service .read-btn {
    margin-top: 30px;
    height: 2rem;
    padding: 0 1.25em;
    background-color: #00AEEF;
    border: none;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

button a {
    text-decoration: none;
    color: #fff;
}

#form-section {
    min-height: 100vh;
    width: 100%;
    background:rgba(0, 0, 0, 0.8) url("/client/img/contact.jpg");
    background-blend-mode: darken;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 80%;
    padding: 20px 40px 40px 40px;
}

.form-container .form-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-content .left-side {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-content .left-side .details {
    margin: 14px;
    text-align: center;
}

.left-side .details div {
    display: flex;
    gap: 20px;
}

.form-content .left-side .details i {
    font-size: 20px;
    margin-bottom: 10px;
}

.left-side .details .addr {
    color: #2E86C1;
}

.left-side .details .mob {
    color: #0066CC;
}

.left-side .details .ema {
    color: #DC3545;
}

.left-side .details .user {
    color: #D4A190 ;
}

.socials div {
    margin-top: 10px;
}

.socials a {
    cursor: pointer;
}

.socials .fb {
    color: #0165E1;
}

.socials .tw {
    color: #fff;
}

.socials .ig {
    color: #E1306C;
}

.left-side .details h4 {
    font-size: var(--size-p3);
    font-weight: 500;
    color: #fff;
}

.left-side .details p {
    font-size: var(--size-p2);
    font-weight: 300;
    color: #fff;
}

.form-content .right-side {
    width: 75%;
    margin-left: 75px;
}

.form-content .right-side h4 {
    font-size: var(--size-h2);
    font-weight: 400;
    color: #00A651;
    margin-bottom: 10px;
}

.form-content .right-side p {
    width: 80%;
    font-size: var(--size-p3);
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
}

.form-content .right-side form {
    display: flex;
    flex-direction: column;
}

.right-side .input-row {
    display: flex;
    justify-content: flex-start;
}

.right-side .p-div {
    margin: 25px 0;
}

.right-side form input,
.right-side form select,
.right-side form textarea {
    color: #000;
    font-weight: 300;
    height: 2.5rem;
    border: none;
    font-size: var(--size-p2);
    margin-bottom: 5px;
    padding: 0 15px;
    background-color: #F5F5F5;
    border-radius: 4px;
    outline: none;
}

.right-side form textarea {
    width: 100%;
}

.right-side form input,
.right-side form select {
    width: 49%;
}

.right-side form .marg {
    margin-right: 2%;
}
.right-side form textarea {
    min-height: 110px;
    padding: 15px;
}

.right-side button {
    height: 2rem;
    width: 20%;
    font-size: var(--size-p2);
    padding: 0 15px;
    border-radius: 4px;
    color: #fff;
    background-color: #00AEEF;
    font-weight: 400;
    border: none;
    cursor: pointer;
}

footer {
    text-align: center;
    font-size: var(--size-p2);
    font-weight: 400;
    padding: 20px 0;
}

/* MEDIA QUERIES ************************/
@media (max-width: 799px){
    header {
        padding: 10px 40px;
    }

    header #logo-box {
        width: 10%;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 240px;
        background-color: #F0F0F0;
        padding: 80px 0 0 10px;
        transition: 0.3s;
    }

    #navbar.activo {
        right: 0;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
    }

    #mobile i {
        font-size: 20px;
        cursor: pointer;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        font-size: 20px;
        cursor: pointer;
    }

    #hero {
        padding: 0 40px;
    }

    /*
    #content {
        padding: 0 35px;
        flex-direction: column-reverse;
    }

    #content .left-side {
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    #content .right-side {
        width: 100%;
        margin-left: 0;
    }

    #content .left-side .details i {
        font-size: 16px;
    }
    */
    .socials div {
        margin-top: 5px;
    }
}

@media (max-width: 777px){
    #navbar li a {
        font-size: var(--size-link-small);
    }

    #hero h2 {
        font-size: var(--contact);
    }

    #hero p {
        font-size: var(--size-p2);
    }

    .services-container {
        gap: 20px;
    }

    #services {
        padding: 0 60px;
    }

    #services h2 {
        font-size: var(--contact);
    }

    .form-content .right-side p {
        font-size: var(--size-p2);
    }

    .right-side form input,
    .right-side form select,
    .right-side form textarea {
        font-size: 14px;
    }
}

@media (max-width: 976px){
    .form-container {
        width: 90%;
        padding: 20px 10px 40px 10px;
    }
}

@media (max-width: 820px){
    .form-container {
        margin: 40px 0;
        height: 100%;
    }

    .form-container .form-content {
        flex-direction: column-reverse;
    }

    .form-container .form-content .left-side {
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .form-container .form-content .right-side {
        width: 100%;
        margin-left: 0;
    }

    .form-content .right-side p {
        width: 100%;
        
    }

    .right-side button {
        width: 6rem;
    }
}

/* @media (max-width: 650px){
    #content {
        padding: 20px 10px;
    }

    

    /* #content .left-side .details {
        margin: 4px;
        text-align: center;
    } 
}*/
