html, body {
    font-size: 14px;
    padding: 0;
    margin: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /* font-family: 'Lora', cursive; */
    scroll-behavior: smooth;
}

a, a:visited, a:focus, a:hover{
    text-decoration: none;
    color: white;
}

h1, h2, h3, h4, h5{
    text-align: center;
}

h3{
    font-size: 3rem;
}

h5{
    font-size: 2rem;
}

@media (max-width:576px){
    /* mobile design */
    html{
        font-size: 14px !important;
    }
    .title{
        font-size: 3rem !important;
    }
    h3{
        font-size: 2.5rem !important;
    }
    .subtitle, h5{
        font-size: 1.5rem !important;
    }
    .show-content{
        padding-top: 3rem !important;
    }
    .toTop{
        left: .2rem !important;
    }
    .ref-img img{
    width: 100% !important;
    height: 155px !important;
}
}

@-webkit-keyframes arrowMove{
    0%,
    100%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    10%, 90%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    30%, 70%{
        -webkit-transform: translate(0, 20px);
                transform: translate(0, 20px);
    }
    50%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
}

@keyframes arrowMove{
    0%,
    100%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    10%, 90%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    30%, 70%{
        -webkit-transform: translate(0, 20px);
                transform: translate(0, 20px);
    }
    50%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
}
@keyframes buttonMove{
    0%,
    100%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    10%, 90%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
    25%, 75%{
        -webkit-transform: translate(0, -10px);
                transform: translate(0, -10px);
    }
    40%,60%{
        -webkit-transform: translate(0,0);
                transform: translate(0,0);
    }
}
/* all screen design */

#overlay{
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: 1s 0.4s;
    /* background-image: linear-gradient(to top, #dfe9f3 0%, white 100%); */
    /*background-image: linear-gradient(-225deg, #473B7B 0%, #3584A7 51%, #30D2BE 100%);*/
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-text{
    font-size: 2rem;
    color: #404040;
}

.hero {
    display: -webkit-box;
    display: flex;
    /* padding: 2rem; */
    height: 100vh;
    width: 100%;
    /* background-color: transparent; */
    position: relative;
    /* background-image: linear-gradient(to top, #09203f 0%, #537895 100%);; */
    background-image: linear-gradient(-225deg, #473B7B 0%, #3584A7 51%, #8d99ae 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
}

.language-row{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 1rem;
    z-index: 999;
}

.language-icon{
    width: 20%;
    margin-left: 80%;
    object-fit: cover;
    width: 40px;
    height: 40px;
}

.language-icon img{
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 50%;
}

.hun{
    display: none;
}

.main-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: white;
    text-align: center;
    font-family: 'Poiret One', cursive;
}

.head-img{
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

.head-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid white;
}

.title{
    font-size: 5rem;
    margin-bottom: 2rem;
    /* text-transform: capitalize; */
    font-weight: bold;
}

.subtitle{
    font-size: 2.5rem;
    margin-bottom: 2rem;
    /* text-transform: uppercase; */
}

.icons{
    font-size: 2rem;
    margin: 1rem;
}

.icons a{
    color: white;
}

.show-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 5rem;
    padding-top: 3rem;
    text-align: center;
    position: relative;
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%,-50%);
}

.show-content i{
    font-size: 3rem;
    padding-left: 0;
    padding-right: 0;
    transition: .5s;   
    -webkit-animation: arrowMove 2s ease-in-out infinite;
    animation: arrowMove 2s ease-in-out infinite;
}

.about, .research{
    height: 100%;
    position: relative;
    text-align: center;
    padding-bottom: 3rem;
}

.about-logo{
    padding: 2rem;
}

.about-logo img{
    width: 50px;
    height: 50px;
    /* object-fit: cover; */
    text-align: center;
}

.about-desc{
    font-size: 1.3rem;
}

.references{
    height: 100%;
    position: relative;
    text-align: center;
    /* background-image: linear-gradient(45deg, #874da2 0%, #c43a30 100%); */
    /* background-image: linear-gradient(45deg, #404040aa 0%, #c43a30 100%); */
    background-image: linear-gradient(-225deg, #473B7B 0%, #3584A7 51%, #8d99ae 100%);
    color: white;
    padding-bottom: 3rem;
}

.ref-img img{
    width: 400px;
    height: 252px;
}

.ref-title{
    font-size: 1.3rem;
}

.research a{
    color: #343d3b;
}

.carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: black;
    border-radius: 50%;
}

.contact{
    background-color: #404040;
    color: white;
}

.contact a, .contact a:hover, .contact a:visited{
    color: white;
}

.btn-linkedin{
    background-color: #2867b2;
    color: white;
}

.btn-mail{
    background-color: #d44638;
    color: white;
}

.footer{
    background-color: #404040;
    color: white;
}

.footer-row{
    text-align: center;
    padding: 0 1rem;
}

.toTop{
    position: fixed;
    bottom: 3rem;
    left: 1rem;
    color: black;
}

.btnToTop{
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,.3);
    text-align: center;
}

.btnToTop:hover{
    background-color: rgba(0,0,0,.7);
    transition: .5s;   
    -webkit-animation: buttonMove 2s ease-in-out infinite;
    animation: buttonMove 2s ease-in-out infinite;
}

.btnToTop i{
    width: 100%;
    height: 100%;
    color: white;
    mix-blend-mode: luminosity;
    cursor: pointer;
}

.btnToTop i::before{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btnToTop:focus, .btnToTop i:focus, .btnToTop i:before:focus{
    border: 0 !important;
    outline: none !important;
}
