/*---- Navbar / Header --*/
header {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

nav {
    padding-top: 3em;
    padding-bottom: 3em;
    position: relative;
}

a {
    color: #ffffff;
    border-bottom: none;
    border-color: #ffffff;
    text-decoration: none !important;
    transition: 0.1s;    
    border-bottom: 4px solid transparent;
}

header a:hover, .active {
    color: #ffffff;
    text-decoration: none;
}

.active::after {
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    background-color: #E9204F;
}

header a::after {
    content: "";
    display: block;
    width: 0%;
    height: 4px;
    background-color: #E9204F;
    transition: width 0.2s ease-out;
}

header a:hover::after {
    width: 80%;
}

header ul, nav {
    display: flex;
}

ul, li{
    list-style: none;
    margin-bottom: 0em;
}

header li {
    margin-right: 1.8em;
    position: relative;
}

.logo {
    font-size: 2em;
}

.right-align {
    position: absolute;
    right: 0%;
    top: 42%
}

/*-- Content --*/

.bg-black {
    margin: 0em;
    padding: 0em;
    background-color: #101010;
}

.bg-white {
    margin: 0em;
    padding: 0em;
    background-color: #ffffff;
}


.landing-content {
    height: 100vh;
    color: #ffffff;
    background-image: url('../images/server-1.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position-x: 90%;
    background-position-y: 45% 
}

.strong {
    font-weight: bolder;
}

.container {
    max-width: 83%;
    margin-left: auto;
    margin-right: auto;
    padding: 0em;
    position: relative;
}

.btn-link {
    display: inline-block;
    margin-left: 0em;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.2em;
    background-color: transparent;
    border: 2px solid #E9204F;
    padding: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.btn-link:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #E9204F;
}

p,.label-number {
    font-family: 'Avant Garde';
    font-size: 1.2em;
    letter-spacing: 0.05em;
    margin: 2em 0em 1em;
}

h1,h2,h3,.number {
    font-family: 'Poppins', sans-serif;
}

h1 {
    margin-top: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2em;
}

h2,.number {
    font-weight: 600;
    letter-spacing: 0.03em;
}

h3 {
    font-size: 3em;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #101010;
    margin-bottom: -0.3em;
}

h5 {
    font-family: 'Avant Garde';
    font-size: 1.8em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.row {
    margin: 0em;
}

.card-element {
    background-color: #1b1b1b;
    color: #ffffff;
    transition: 0.5s;
    padding: 1.5em;
    text-align: center;
    border-radius: 8px;
}

.card-element .fa {
    color: #E9204F;
    font-size: 3.2em;
    transition: 0.5s;
    margin-right: 0.2em;
}

.card-element:hover .fa {
    color: #ffffff;
    transition: 0.5s;
}

.card-element:hover {
    background-color: #E9204F;
    transition: 0.5s;
}

.card-element .flex {
    height: 3em;
    justify-content: center;
    align-items: center;
    margin-top: 0.5em;
}

.relative-row-card {
    position: relative;
    top: -6.5em;
}

.flex {
    display: flex;
}

.text-center {
    text-align: center;
}

.sub-title {
    font-family: 'Avant Garde';
    color: #E9204F;
    font-size: 1.2em;
}

hr {
    margin-top: 2em;
    margin-bottom: 2em;
    color: #E9204F;
}

/*---- Service Element ----*/

.service-element {
    position: relative;
    color: #101010;
    background-color: #d3d3d3;
    height: 6em;
    transition: 0.6s;
    margin-bottom: 1em;
    cursor: pointer;
    border-radius: 8px;
}

.service-element:hover {
    color: #ffffff;
    background-color: #E9204F;
    transition: 0.6s;
}

.service-element h5 {
    line-height: 3.5em;
    text-align: center;
    padding-left: 0em;
    transition: 0.6s;
}

.service-element i {
    position: absolute;
    color: #bdbdbd;
    font-size: 1.5em;
    top: 38%;
    right: 4%;
}

.service-element:hover i {
    color: #ffffff;
    transition: 0.6s;
}

/*---- Stats Element ---*/

.number {
    text-transform: capitalize;
    font-size: 2.5rem;
    color: #E9204F;
}

.stats-element {
    text-align: center;
}

/*---- Form Element ----*/

label {
    font-family: 'Avant Garde';
    font-size: 1.2em;
    color: #101010;
    margin-top: 0.7em;
}

.form-control {
    color: #101010;
    background-color: #d3d3d3;
}

form>div>div>button {
    background-color: #E9204F !important;
}

textarea {
    resize: none;
}

.btn-a {
    text-align: center;
    background: #E9204F;
    width:100%;
}

/*---- Footer ----*/

footer {
    background-color: #101010;
    color: #ffffff;
    margin: 0em;
    padding: 1em;
    padding-left: 9em;
    padding-right: 9em;
    position: relative;
}

footer p {
    color: #ffffff;
    text-align: center;
    font-size: 0.8em;
}

footer a {
    text-align: center;
}

footer .btn-link {
    padding: 0.5em;
    margin: 0.5em;
    display: block;
}

footer a:hover {
    color: #E9204F;
    transition: color 0.5s ease-in-out;
}

.footer-title {
    font-family: 'Avant Garde';
    font-size: 1.5em;
    letter-spacing: 0.05em;
}

footer ul {
    padding: 0em;
}

footer .fa {
    padding-right: 0.3em;
}

/*---- Media Queries ----*/

@media (max-width: 1645px) {
    .service-element h5 {
        font-size: 1.2em;
        line-height: 5.4em;
    }
    footer {
        padding: 1em;
    }
}

@media (max-width: 970px) {
    .nav-btn {
        display: none;
    }
    .landing-content {
        background-image: none;
    }
    .relative-row-card {
        top: -14em;
    }
    .container-second {
        margin-bottom: -13em;
    }
    h3 {
        font-size: 2.2em;
        line-height: 1em;
    }
    .sub-title {
        font-size: 1em;
    }
    .card-element p {
        margin: 1em 0em .5em;
    }
}

@media (max-width: 970px){

}

@media (max-width: 391px) {
    .logo {
        font-size: 1.5em;
    }
}

@media (max-width: 738px) {
    h1, h2 {
        font-size: 2rem;
    }

    .btn-link {
        font-size: 0.8em;
    }
}

@media (max-width: 679px) {
    h1, h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 611px) {
    h1, h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .landing-content {
        background-size: 25%;
    }
}

@media (max-height: 700px) {
    .relative-row-card{
        top: 1em !important;
    }
}