html{
    scroll-behavior: smooth;
} 

body {
    margin: 0;
    padding: 0;
    background: #222;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    display: inline-flex;
    flex-direction: column;
}

/* Logo Bar */
.logo_bar {
    background-color: white;
    height: 250px;
    display: inline-flex;
    width: 100%;
}

.logo_item {
    margin-left: 200px;
}

.phone_link {
    float: right;
    height: 200px;
    width: 100%;
    height: 100%;
    display: inline-flex;
    background-image: url('../resources/banner.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.number {
    color: #1a70b6;
    font-size: 80px;
    font-style: oblique;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    float: left;
    margin-right: 25px;
    margin-left: 200px;
}

.phone_item {
    width: 100px;
    height: 100px;
    margin-top: 70px;
}

/* Nav Bar */
.navbar {
    background-color: #00b9ff;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;
}

.navbar_menu {
    padding: 0;
    list-style: none;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 20px 0;
}

.menu_items {
    margin: 0 30px 0 30px;
    color: white;
    text-decoration: none;
    font-size: larger;
}

.menu_items:hover {
    color: #0f44d8;
}

.social_media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 10px 10px 10px;
    height: 50px;
}

.facebook_logo {
    height: 40px;
    width: 40px;
    margin-right: 30px;
    border: 2px solid transparent;
    padding: 2px;
}

.facebook_logo:hover {
    border: 2px solid white;
    padding: 2px;
}

.linkedin_logo {
    height: 40px;
    width: 40px;
    margin-right: 30px;
    border: 2px solid transparent;
    padding: 2px;
}

.linkedin_logo:hover {
    border: 2px solid white;
    padding: 2px;
}

.instagram_logo {
    height: 40px;
    width: 40px;
    margin-right: 30px;
    border: 2px solid transparent;
    padding: 2px;
}

.instagram_logo:hover {
    border: 2px solid white;
    padding: 2px;
}

/* Home */
.home {
    width: 100%;
    height: auto;
    background-color: white;
    display: inline-flex;
    align-items: center;
}

.home .cabinet_image {
    width: 50%;
    height: 75%;
    margin: 50px 10px 50px 25px;
    padding: 5px;
    border: 5px solid rgb(14, 144, 196);
    float: left;
}

.home .info {
    color: rgb(14, 144, 196);
    padding: 25px;
    margin: 50px 0 50px 0;
}

.home .info h1 {
    text-align: center;
    font-size: 50px;
}

.home .info .text {
    margin-top: 75px;
    text-indent: 10%;
}

.home .info span {
    text-align: justify;
    font-size: 30px;
}

/* About Me */
.about_me {
    width: 100%;
    height: auto;
    background-color: rgb(14, 144, 196);
    display: inline-flex;
    align-items: center;
}

.about_me .info {
    color: white;
    padding: 25px;
    margin: 50px 0 50px 0;
}

.about_me .info h1 {
    text-align: center;
    font-size: 50px;
    text-decoration: underline;
}

.about_me .info .text {
    margin-top: 75px;
    text-indent: 10%;
}

.about_me .info span {
    text-align: justify;
    font-size: 30px;
}

.about_me .portret_image {
    width: 750px;
    height: 700px;
    margin: 50px 25px 50px 10px;
    padding: 5px;
    border: 5px solid white;
    float: right;
}

/* Servicii */
.services {
    background-color: white;
    display: inline-flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}

.services .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 50px 0 50px 0;
}

.services .items {
    background-color: rgb(14, 144, 196);
    border: 5px solid rgb(14, 144, 196);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 15px;
    position: relative;
}

.services .items:hover {
    transform: translateY(-15px);
    transition: 0.2s all linear;
}

.services .items img {
    width: 400px;
    height: 250px;
    background-color: white;
}

.services .items h1 {
    color: white;
    width: 100%;
    font-size: 35px;
}

.services .items h6 {
    color: white;
    width: 30%;
    text-decoration: underline;
    font-style: oblique;
    font-size: 20px;
    margin-top: -5px;
}

.services .items .prices:hover {
    color: #0f44d8;
    cursor: pointer;
}
  
.services .items .overlay-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background-color: transparent;
}

.services .modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.750);
}

.services .modal .table {
    margin: auto;
    background-color: white;
    border: 3px solid rgb(14, 144, 196);
    width: auto;
}

.services .modal .table .header {
    background-color: rgb(14, 144, 196);
}

.services .modal .table td {
    padding-inline: 10px;
}

.services .modal .table tbody tr:nth-child(even) {
    background-color: #ffffff;
}
  
.services .modal .table tbody tr:nth-child(odd) {
    background-color: #bebebe;
}

.services .modal .table tbody th {
    background-color: rgb(14, 144, 196);
}

/* Plata */
.pay {
    background-color: rgb(14, 144, 196);
    width: 100%;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pay .title {
    color: white;
    margin: 50px 0 10px 0;
    font-size: 30px;
}

.pay .container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.pay .container p {
    color: white;
    text-align: justify;
    text-indent: 10%;
    width: 35%;
    font-size: 25px;
    margin: -5px 15px 0 15px;
}

.pay .container img {
    width: 500px;
    height: 300px;
    border: 3px dashed white;
    border-radius: 25px;
    padding: 15px;
    margin: 0 50px 0 50px;
}

.pay .container ul {
    color: white;
    text-align: left;
    text-indent: 10%;
    width: 35%;
    margin: -5px 15px 0 15px;
    font-size: 25px;
}

/* Footer */
footer {
    width: 100%;
    height: auto;
    border-top: 2px solid blue;
    display: inline-flex;
    flex-direction: column;
    background-color: rgb(40, 50, 60);
}

footer .first_box {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

footer .first_box .info {
    display: inline-flex;
    flex-direction: column;
    margin-left: 100px;
}

footer .first_box .info div {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

footer .first_box .info div p:hover {
    color: #0f44d8;
}

footer .first_box .info span {
    color: rgb(14, 144, 196);
}

footer .first_box .info a {
    text-decoration: none;
}

footer .first_box .info p {
    color: white;
    margin-left: 10px;
    font-size: 20px;
}

footer .first_box .info .social {
    display: inline-flex;
    flex-direction: row;
    margin-top: 20px;
}

footer .first_box .social .fa {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    margin-right: 30px;
}
  
footer .first_box .social .fa:hover {
      opacity: 0.7;
}
  
footer .first_box .social .fa-facebook {
    background: #3B5998;
    color: white;
}

footer .first_box .social .fa-linkedin {
    background: #007bb5;
    color: white;
}

footer .first_box .social .fa-instagram {
    background: #dd4b39;
    color: white;
}

footer .first_box .list {
    display: inline-flex;
    flex-direction: column;
}

footer .first_box .list ul {
    list-style: none;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
}

footer .first_box .list li {
    margin: 10px;
    color: white;
}

footer .first_box .list li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

footer .first_box .list li a:hover {
    color: #0f44d8;
}

footer .first_box .logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: white;
    margin-right: 100px;
    font-size: 30px;
}

footer .second_box {
    color: white;
    background-color: black;
    width: 100%;
    text-align: center;
}

/* RESPONSIVE */
@media only screen and (max-width: 1351px) {
    
    /* Logo Bar */
    .logo_bar {
        display: inline-flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo_item {
        margin-left: 0;
    }

    .phone_link {
        display: none;
    }

    /* Nav Bar */
    .navbar {
        justify-content: center;
        flex-direction: column;
    }

    .navbar_menu {
        display: none;
    }

    .navbar_menu li {
        margin: 5px 0 5px 0;
    }

    .app_button {
        display: none;
    }

    .social_media {
        display: none;
    }

    .navbar_toggle {
        height: 50px;
    }

    #mobile_menu {
        transform: translate(5%, 20%);
    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
    }

    .navbar_toggle .bar {
        width: 25px;
        height: 2px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    #mobile_menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    
    #mobile_menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #mobile_menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar_menu.active {
        display: inline-flex;
        flex-direction: column;
    }

    .app_button.active {
        display: inline-flex;
        margin: 25px 0 25px 0;
    }

    .social_media.active {
        display: inline-flex;
        margin: 10px 0 10px 0;
    }

    .navbar_menu li {
        margin: 10px 0 10px 0;
    }

    .instagram_logo {
        margin: 0;
    }

    /* Home */
    .home {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }

    .home .cabinet_image {
        width: 80%;
        height: 80%;
        margin-top: -25px;
        margin-bottom: 50px;
    }
    
    .home .info {
        margin-top: 25px;
        padding: 0 25px 0 25px;
    }
    
    .home .info .text {
        margin-top: 25px;
    }
    
    .home .info span {
        font-size: 25px;
    }

    /* About Me */
    .about_me {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about_me .info {
        margin-top: 25px;
        padding: 0 25px 0 25px;
    }

    .about_me .info .text {
        margin-top: 25px;
    }

    .about_me .info span {
        font-size: 25px;
    }

    .about_me .portret_image {
        width: 60%;
        height: 50%;
        margin-top: -25px;
        margin-bottom: 50px;
        margin-left: 25px;
    }

    /* Servicii */
    .services {
        flex-wrap: wrap;
    }

    .services .container .items {
        width: 90%;
    }

    .services .items img {
        background-color: white;
        height: 70%;
        width: 100%;
    }

    .services .items h1 {
        font-size: 30px;
    }

    .services .items h6 {
        font-size: 20px;
    }

    .services .modal .table {
        width: 90%;
    }

    /* Plata */
    .pay .title {
        color: white;
        margin: 50px 0 25px 0;
        font-size: 30px;
    }

    .pay .container {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }

    .pay .container p {
        margin-bottom: 50px;
        font-size: 25px;
        width: 90%;
    }

    .pay .container img {
        width: 80%;
        height: 80%;
        margin-left: 25px;
        margin-right: 25px;
    }

    .pay .container ul {
        margin-top: 50px;
        width: 90%;
    }

    /* Footer */
    footer .first_box {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    footer .first_box .info {
        margin-top: 50px;
        margin-bottom: 50px;
        flex-wrap: wrap;
    }
    
    footer .first_box .info div {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
    }

    footer .first_box .info .social {
        flex-wrap: wrap;
    }
    
    footer .first_box .list {
        display: none;
    }
    
    footer .first_box .logo {
        display: none;
    }
}
