canvas {
    display: block;
    vertical-align: bottom;
    min-height: 600px;
    max-height: 800px;
}

#particles-js {
    background: #0a141e;
    position: relative;
    top: 0;
    width: 100%;
    height: 720px;

}

/*header stuff*/

.header {
    padding: 20px 10px;
}

.wrapper {
    position: absolute;
    width: 100%;
}

/*menu stuff*/
.slideout-menu {
    position: fixed;
    left: auto;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    padding:30px;
    width: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}

.slideout-panel {
    position: relative;
    z-index: 1;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow: hidden;
}

.slideout-open .slideout-menu {
    display: block;
}
.slideout-heading{
    font-family: "Libre Franklin-Regular", sans-serif;
    color: #0a141e;
    font-size: 35px;
    margin-bottom: 60px;
}
.slideout-close-button{
    margin-top: 10px;
    font-family: "Libre Franklin-Regular", sans-serif;
    color: #0a141e;
    font-size: 42px;
    margin-bottom: 20px;
}

.slideout-link{
    display: block;
    font-family: "Libre Franklin-SemiBold", sans-serif;
    color: #0a141e;
    font-size: 24px;
    padding: 0;
    margin-bottom: 35px;
    background:none;
    border:none;
    outline:none;
}


.slideout-sublink{
    display: block;
    font-family: "Libre Franklin-SemiBold", sans-serif;
    color: #0a141e;
    font-size: 16px;
    padding: 0 5px;
    margin-bottom: 20px;
    background:none;
    border:none;
    outline:none;
}
#demo{
    margin-top:-20px;
}
#menu{
    margin-top:-10px;
}
.slideout-close-button:hover,.slideout-close-button:focus, .slideout-link:hover,
.slideout-link:focus,.slideout-sublink:hover,.slideout-sublink:focus, .slideout-menu .active{
    text-decoration: none;
    color:#f15a24;
}
.menu-social-link {
    text-decoration: none;
    margin-right:10px;
}
.menu-social-link:hover, .menu-social-link:focus{
    filter: brightness(50%);
    text-decoration: none;

}

/*cta stuff*/

.cta-content-container {
    margin-top: 75px;
}

.cta-title {
    font-family: "Libre Franklin-Thin", sans-serif;
    color: white;
    font-size: 48px;
    margin-bottom: 30px;
}

.cta-button {
    color: white;
    font-family: "Libre Franklin-Regular", sans-serif;
    font-size: 14px;
    border-radius: 5px;
    padding: 15px 0;
    display: block;
    width: 100%;
    background: #f15a24;
}

.cta-button:hover, .cta-button:focus {
    color: #f15a24;
    text-decoration: none;
    background: white;

}

.devices-img-container {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;

}

.devices-img-container img {
    display: inline-block;
}

.c-hamburger {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.c-hamburger:focus {
    outline: none;
}

.c-hamburger span {
    display: block;
    position: absolute;
    top: 20px;
    left: 4px;
    right: 4px;
    height: 3px;
    background: white;
}

.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    content: "";
}

.c-hamburger span::before {
    top: -10px;
}

.c-hamburger span::after {
    bottom: -10px;
}

.c-hamburger--htx span {
    transition: background 0s 0.2s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    transition-duration: 0.2s, 0.2s;
    transition-delay: 0.2s, 0s;
}

.c-hamburger--htx span::before {
    transition-property: top, transform;
}

.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
    display: none;
}

.c-hamburger--htx.is-active span {
    background: none;
}

.c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    transition-delay: 0s, 0.2s;
}

#menu-trigger:hover, #menu-trigger:focus {
    text-decoration: none;
    color: #f15a24;
}
#menu-trigger {

}
.menu-trigger-container {
    position: relative;
    margin:10px 0px;
    z-index:3;
}

.menu-text {
    display: inline-block;
    vertical-align: top;
    margin-top: 12px;
    margin-left: 4px;
    font-family: "Libre Franklin-Light", sans-serif;
    color: #ffffff;
    font-size: 16px;
}
.overlay:not(.menu-link){
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    -ms-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
    filter:brightness(40%);
    -webkit-filter:brightness(40%) ;
}
@media screen and (max-width: 1000px) {
    canvas {
        min-height: 400px;
    }

    #particles-js {
        height: 400px;
    }

    .cta-content-container {
        margin-top: 25px;
    }

    .cta-title {
        font-size: 30px;

    }
}

/*about stuff*/

.about-section {
    padding: 90px 0;
    background: #ffffff;
}

.about-title {
    color: #0a141e;
    font-family: "Libre Franklin-Thin", sans-serif;
    font-size: 34px;
    margin-bottom: 50px;
}

.about-img {
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

.about-subtitle {
    font-family: "Libre Franklin-SemiBold", sans-serif;
    color: #0a141e;
    font-size: 16px;
}

.about-text {
    font-family: "Libre Franklin-Light", sans-serif;
    color: #0a141e;
    font-size: 14px;
}

.about-button {
    color: #f15a24;
    font-family: "Libre Franklin-Regular", sans-serif;
    font-size: 14px;
    border-radius: 5px;
    padding: 15px 0;
    display: block;
    margin-top: 50px;
    width: 100%;
    border: 1px solid #f15a24;
}

.about-button:hover, .about-button:focus {
    border: 1px solid #f15a24;
    background: #f15a24;
    color: white;
    text-decoration: none;
}

/*servicii stuff*/

.services {
    background: #f3f4f8;
}

.service-image {
    height: 500px;
    background: url("../img/StockSnap_Q1OSKR7D42.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: 0;
}

.servicii-info-container {
    max-height: 600px;
    padding: 50px 60px;
}

.service-title {
    color: #0a141e;
    font-family: "Libre Franklin-Thin", sans-serif;
    font-size: 34px;
    margin-bottom: 50px;
}

.service-text {
    font-family: "Libre Franklin-Light", sans-serif;
    color: #0a141e;
    font-size: 14px;
    margin-bottom: 40px;
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .service-image {
        display: none !important;
    }

    .servicii-info-container {
        width: 100% !important;
    }
}

@media (max-width: 500px) {
    .servicii-info-container {
        max-height: 700px;
    }
    .service-image{
        height:700px;
    }
}

/*servicii categorii stuff*/

.services-categories {
    padding: 90px 0;
    background: #ffffff;
}

.service-box {
    padding: 60px 10px;
    border: 1.5px solid #cccccc;
    border-radius: 5px;
    margin-bottom: 20px;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.service-box:hover{
    border: 1.5px solid #f15a24 !important;
}

.orange-border {
    border: 1.5px solid #f15a24 !important;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;

}

.service-name {
    color: #0a141e;
    font-family: "Libre Franklin-Thin", sans-serif;
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 25px;
}

.service-link {
    font-family: "Libre Franklin-Regular", sans-serif;
    color: #0a141e;
    font-size: 16px;
}

.service-link span {
    font-size: 12px !important;

}

.service-link:hover, .service-link:focus {
    color: #f15a24;
    text-decoration: none;
}

/*contact form*/

.contact-section {
    padding: 90px 0;
    background: #5dbbb6;
}

.contact-title {
    color: #ffffff;
    font-family: "Libre Franklin-Thin", sans-serif;
    font-size: 34px;
    margin-bottom: 30px;
}

.contact-text {
    color: #ffffff;
    font-family: "Libre Franklin-Light", sans-serif;
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-input {
    font-family: "Libre Franklin-Regular", sans-serif;
    font-size: 16px;
    width: 100%;
    background: none;
    padding: 15px;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;

}

.contact-input:focus {
    border: 1px solid white;
    background: white;
    color: #5dbbb6;
    outline: none;
    box-shadow: none;
}

.contact-input:focus::-webkit-input-placeholder {
    color: #5dbbb6;
}

.contact-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: white
}

.contact-input::-moz-placeholder { /* Firefox 19+ */
    color: white
}

.contact-input:-ms-input-placeholder { /* IE 10+ */
    color: white
}

.contact-input:-moz-placeholder { /* Firefox 18- */
    color: white
}

.contact-button {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    font-family: "Libre Franklin-Regular", sans-serif;
    font-size: 16px;
    color: #5dbbb6;
    background: white;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.contact-button:hover, .contact-button:focus {
    background: #f7f7f7;

}

textarea {
    resize: vertical;
}

/*footer stuff*/

.footer-section {
    padding: 50px 0;
    background: #0a141e;
}

.contact-links-container {
    font-family: "Libre Franklin-Light", sans-serif;
    font-size: 14px;
    color: white;
    margin: 20px 0 40px 0;
}

.contact-link {
    margin-right: 10px;
    color: white;
}

.contact-link:hover, .contact-link:focus {
    text-decoration: none;
    color: #f15a24;
}

.social-link:hover {
    filter: brightness(0) invert(1);
    text-decoration: none;
}
.up-button{
    width:56px;
    height:56px;
    display: none;
    background: #ffffff;
    color:#0a141e;
    font-size: 24px;
    border-radius:50%;
    position: fixed;
    bottom:50px;
    right:50px;
    z-index:6;
    -webkit-box-shadow: 10px 10px 23px -6px rgba(0,0,0,0.28);
    -moz-box-shadow: 10px 10px 23px -6px rgba(0,0,0,0.28);
    box-shadow: 10px 10px 23px -6px rgba(0,0,0,0.28);
    text-align: center;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;

}
.up-button span {
    margin-top:15px;
}
