* {
    box-sizing: border-box;
}

body, html {
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    /* height: 100%;  */
    margin-left: auto;
    margin-right: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-family: 'Raleway', sans-serif;
}

*:focus {
    outline: none !important;
}

h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
}

h2 {
    text-transform: uppercase;
    margin: 0 0 20px 0;
    font-weight: 800;
    font-size: 1.8em;
    color: #333;
    text-align: center;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

h4 {
    font-size: 3.6em;
    color: #333;
    font-weight: bold;
}

p {
    font-size: 16px;
    line-height: 25px;
}

a:hover, a:focus {
    text-decoration: none;
    color: #3ba3a7;
}

/* Navigation */

.navbar {
    padding-left: 80px;
    padding-right: 80px;
    z-index: 40;
    padding-top: 20px;
    padding-bottom: 30px;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    margin-right: 5px;
    text-align: center;
    font-size: 0.9em;
    min-width: 150px;
}

.navbar-dark {
    color: #ffffff;
    border-color: #ffffff;
}

.nav-link {
    /* display: block;
    width: 100%; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: center;
    padding-bottom: 0;
}

.logo {
    width: 18vh;
}

.flag-ue-link img {
    height: 60px;
    position: absolute;
    right: 5%;
}

.flag-ue {
    margin-left: 80px;
}

/* About*/

#about {
    background-image: url('../images/background-main.png');
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: -1;
    background-position: bottom center;
}

.about-header {
    position: absolute;
    top: 23%;
    left: 10%;
}

.icons-follow {
    position: absolute;
    top: 25%;
    right: 5%;
}

.icons-follow a {
    margin-left: 15px;
}

p.follow {
    color: white;
    font-size: 0.7em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 30px;
    padding-left: 10px;
    letter-spacing: 2px;
}

p.about-text {
    color: white;
    padding-right: 25%;
    font-size: 1em;
    line-height: 2em;
}

h4.about-title {
    font-size: 3.1em;
    color: white;
    font-weight: bold;
}

.owl-main {
    position: absolute;
    right: 18vw;
    bottom: 5vh;
    height: 40vh;
}

/* Technologies */

#technologies {
    height: 40vh;
    min-height: 350px;
    width: 100vw;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

h4.technologies-title {
    color: rgb(238, 174, 174);
    font-weight: bold;
    margin-bottom: 70px;
    margin-left: 5%;
}

.technology-icon {
    max-height: 120px;
    margin-top: 30px;
}

/*Information*/

#information {
    background-image: url('../images/background2.png');
    background-position: center top;
    background-size: cover;
    min-height: 900px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.information-row {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

.information-row .card {
    margin-left: auto;
    margin-right: auto;
    padding: 20px 7px;
    border-radius: 15px;
    /*height: 100%;*/
}

.information-row .card-img-top {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.information-row p.card-text {
    font-size: 1em;
    line-height: 1.6em;
    text-align: center;
    text-justify: inter-word;
    margin-top: 30px;
    color: #14124F;
}

.information-row h3.card-title {
    font-size: 2.5vh;
    color: #14124F;
}

/*Projects*/

#projects {
    background-color: white;
    /* height: 100vh; */
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding-bottom: 8%;
}

h4.projects-title {
    color: #544DB2;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 90px;
    margin-left: 5%;
}

.project-box {
    border: 2px solid #544DB2;
    border-radius: 15px;
    padding: 10px;
    margin: 0 15px;
}

.project-item-img {
    margin-left: 5px;
}

.project-item-text p {
    color: #544DB2;
    font-size: 1em;
}

.project-item-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    color: #14124F;
}

.project-item-text p {
    padding: 15px;
    text-align: justify;
    text-justify: inter-word;
}

.project-item-text h3 {
    color: #14124F;
    margin-bottom: 15px;
}

.project-item-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

/*Team Section*/

#team {
    background-image: url('../images/backgroundGreen1.png');
    background-position: center top;
    background-size: cover;
    min-height: 1200px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding-bottom: 10%;
}

h4.team-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 90px;
    margin-left: 5%;
}

.team-row .card {
    height: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 15px;
    border-radius: 15px;
    border: none;
    color: #14124f;
}

.team-row .card-photo {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.team-row .card-body {
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.team-row .card-img-top {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
}

.team-row .card-text {
    margin-top: 15px;
}

.team-row .card-text p {
    font-size: 0.8em;
    line-height: 30px;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 3px;
}

.team-row .fa {
    margin-right: 15px;
    margin-top: 2px;
}

.team-row h3.card-title {
    text-align: center;
    font-size: 31px;
    color: #14124F;
}

.team-row h6 {
    text-align: center;
    font-size: 13px;
}

.team-row a {
    display: flex;
    justify-content: center;
    align-items: center;
  }

.team-row .card-text {
    text-align: center!important;
  }
  
  .team-row .fa-linkedin-square:before {
    font-size: 2em; 
    display: flex;
    justify-content: center;
    align-items: center;
  }

/*Contact*/

#contact {
    background-color: white;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    /*padding: 10% 0;*/
}

.contact-title {
    color: #14124F;
}

.contactus-text {
    padding-right: 80px;
    margin-top: 40px;
    color: #14124F;
}



/*Contact form*/

.contact-us-container {
    padding-left: 50px;
}

.contact-header-img {
    margin-left: -50px;
    margin-bottom: 30px;
}

.contact-title {
    color: #14124F;
}

.contactus-text {
    padding-right: 80px;
    margin-top: 40px;
    line-height: 30px;
    font-size: 1em;
    color: #565656;
}

#contact h3 {
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 20px;
    font-weight: 400;
}

#contact form {
    padding-top: 20px;
}

#contact .text-danger {
    color: #cc3000 !important;
}

#contact .btn-custom {
    font-family: sans-serif;
    padding: 0.7rem 1.7rem;
    background: #ffffff;
    color: #14124F;
    font-size: 1rem;
    border-radius: 0.4rem;
    border: 2px solid #14124F;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

#contact .btn-custom:hover {
    background: #14124F;
    color: #ffffff;
}

label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    top: 15px;
    left: 15px;
    background-color: #ffffff;
    padding: 0 7px;
    color: #14124F;
}

#contact .form-control {
    border-radius: 0.4rem;
    font-family: sans-serif;
    padding: 0.8rem;
    border: 2px solid #14124F;
    display: block;
    width: 100%;
    height: 70px;
    color: #080808;
}

#contact .form-control.form-group-big {
    height: 20rem;
    padding-top: 20px;
}

#contact .form-control:focus, .btn-custom:focus {
    outline: none;
    -webkit-box-shadow: transparent;
    box-shadow: none !important;
}

.form-control::-webkit-input-placeholder, .form-control:-moz-placeholder, .form-control::-moz-placeholder, .form-control:-ms-input-placeholder {
    color: #777;
}

/*Footer*/

footer {
    background-image: url('../images/backgroundFooter.png');
    background-size: cover;
    background-position: center top;
    min-height: 900px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: left;
    padding-top: 10%;
}

footer p, footer address {
    color: white;
    font-size: 0.9em;
}

.copyright {
    background-color: #544DB2;
    height: 50px;
    position: relative;
    z-index: 2;
    overflow-y: hidden;
}

.copyright p {
    text-align: center;
    color: white;
    font-size: 0.7em;
    padding-top: 10px;
}

.footer-title {
    color: white;
    text-align: left;
}

.about-footer {
    padding-right: 5%;
}

.about-footer .icons-bar {
    margin-top: 25px;
}

.contact-footer {
    padding-right: 5%;
}

.icon-footer {
    margin-right: 15px;
}

/* Cookie warning */

#cookie-warn {
    position: fixed;
    bottom: 0;
    margin: 0;
    padding: 15px 50px;
    width: 100%;
    display: none;
    z-index: 99;
    background-color: #14124F;
}

#cookie-warn a {
    color: rgb(108, 216, 189);
    text-transform: uppercase;
    float: right;
    padding-right: 20px;
    font-size: 15px;
    font-weight: bold;
}

#cookie-warn p {
    font-size: 12px;
    color: white;
}

/* Projects UE */

#projects-ue {
    background-image: url('../images/background-main2.png');
    background-size: cover;
    width: 100vw;
    height: 400px;
    position: relative;
    z-index: -1;
    background-position: bottom center;
}

.projects-ue-header {
    width: 100vw;
    height: 100px;
    margin-top: 150px;
}

.projects-title-text{
    font-size:21px;
    line-height: 35px;
    text-align: justify;
}

#projects-text {
    margin-top: 50px;
}

h4.projects-ue-title {
    font-size: 3.1em;
    color: white;
    font-weight: bold;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.flags-container {
    margin-bottom: 90px;
    margin-top: 20px;
}

.projects-text-container {
    margin-bottom: 50px;
    padding: 30px;
}

@media screen and (max-width: 488px) {
    .section-carousel {
        display: none;
    }
    .projects-slider-section {
        display: block;
    }
    .navbar {
        padding: 0.8em 0.9em;
        background-color: #544DB2;
    }
    h4.about-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    p.about-text {
        font-size: 2.5vh;
        line-height: 1.4em;
    }
    .form .submit-btn {
        display: block;
        width: 100%;
    }
    .form .send-error {
        text-align: center;
        display: block;
    }
}

@media screen and (max-width: 575px) {
    .navbar {
        background-color: #544DB2;
    }
    .about-header {
        top: 15%;
        max-width: 80%;
    }
    h4.about-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    p.about-text {
        font-size: 2.2vh;
        line-height: 1.4em;
    }
    .owl-main {
        height: 25vh;
        right: 20vw;
        bottom: 5vh;
    }
    h4 {
        font-size: 2.3em;
    }
    h4.technologies-title {
        color: rgb(238, 174, 174);
        font-weight: bold;
        margin-bottom: 40px;
        margin-top: 80px;
        margin-left: 5%;
    }
    #information {
        min-height: 1600px;
    }
    .information-row {
        padding: 20px;
    }
    .information-row .card {
        margin-bottom: 15px;
    }
    .information-row .card-img-top {
        width: 20%;
    }
    #team {
        min-height: 1800px;
    }
    .team-row .card {
        margin-bottom: 15px
    }
    .team-row .card-text p {
        font-size: 0.7em;
    }
    .team-row .card-img-top {
        width: 55%;
    }
    .team-row {
        padding: 20px;
    }
    footer {
        min-height: 1400px;
    }
    .about-footer, .contact-footer {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 767px) and (min-width: 576px) {
    .navbar {
        background-color: #544DB2;
    }
    .owl-main {
        bottom: 4vh;
    }
    .about-header {
        max-width: 60%;
        /*top:15%;*/
    }
    h4.about-title {
        font-size: 4vh;
    }
    p.about-text {
        padding-right: 0;
        line-height: 1.5em;
        /*font-size: 2.2vh;*/
    }
    #technologies {
        height: 25vh;
    }
    .technology-icon {
        margin-bottom: 40px;
    }
    #information {
        min-height: 1700px;
    }
    .information-row .card {
        margin-bottom: 15px;
    }
    .section-carousel li {
        width: 50vw;
    }
    #team {
        min-height: 2000px;
    }
    .team-row .card {
        margin-bottom: 15px
    }
    .team-row .card-text p {
        font-size: 1em;
    }
    .team-row .card-img-top {
        width: 60%;
    }
    footer {
        min-height: 1300px;
    }
}

@media screen and (max-width: 992px) and (min-width: 768px) {
    .navbar {
        background-color: #544DB2;
    }
    .owl-main {
        height: 38vh;
        right: 18vw;
        bottom: 40px;
    }
    .about-header {
        top: 15%;
        max-width: 60%;
    }
    h4.about-title {
        font-size: 2.4em;
    }
    p.about-text {
        padding-right: 0;
        font-size: 2.4vh;
    }
    .information-row p.card-text {
        font-size: 0.9em;
    }
    .information-row h3.card-title {
        font-size: 1.2em;
        color: #14124F;
    }
    .information-row .card {
        min-height: 420px;
    }
    .card-body {
        padding: 0.5em;
    }
    .section-carousel li {
        width: 30vw;
        padding: 3%;
    }
    .section-carousel li p {
        font-size: 0.8em;
    }
    .team-row .card-text p {
        font-size: 13px;
    }
}

@media screen and (min-width: 993px) {
    .owl-main {
        height: 43vh;
        right: 12vw;
        bottom: 80px;
    }
    h4.about-title {
        font-size: 5vh;
    }
    p.about-text {
        padding-right: 0;
        font-size: 2.2vh;
    }
    .about-header {
        max-width: 55%;
    }
    .information-row .card {
        min-height: 420px;
    }
}

@media screen and (min-width: 1525px) {
    #information {
        height: 1200px;
    }
    #team {
        height: 1200px;
    }
    .owl-main {
        right: 14vw;
        bottom: 85px;
        height: 60vh;
    }
    .about-header {
        max-width: 47%;
    }
    .information-row .card {
        min-height: 420px;
    }
}

@media screen and (min-width: 2000px) {
    #information {
        height: 1700px;
    }
    #team {
        height: 1750px;
    }
    .owl-main {
        right: 14vw;
        bottom: 180px;
        height: 50vh;
    }
    .information-row .card {
        min-height: 420px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 300px) {
    .flag-ue-link img {
        height: 60px;
        position: inherit;
        margin-left: auto;
        margin-right: auto;
    }
    .flag-ue {
        margin-left: 0;
    }
}