@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300;400;500&family=Work+Sans:wght@200;300;400&display=swap');


@media (max-width: 1024px){
    html {
        font-size: 15px;
    }
}
@media (max-width: 800px){
    html {
        font-size: 14px;
    }
}
@media (max-width: 680px){
    html {
        font-size: 13px;
    }
}
@media (max-width: 480px){
    html {
        font-size: 12px;
    }
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Readex Pro';
}

body {
    background: linear-gradient(180deg, rgba(229,242,255,1) 0%, rgba(255,255,255,1) 100%);
}


nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font: 300 1rem 'Readex Pro'  ;
    position: relative;
}
nav>a {
    width: 10rem;
}
nav>div {
    display: flex;
    align-items: center;
    width: 10rem;
}
.nav-list {
    list-style: none;
    display: flex;
    width: max-content;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 1rem 0;

}
.nav-icon {
	display: none;
    padding: 0.7rem;
    text-align: center;
}
.nav-item, .translate {
    margin: 0.5rem 0;
}
.translate > a{
    transition: all 200ms ease-in-out;
}
.translate>a:hover {
    background-color: rgb(187, 228, 241);
    border-radius: 10px;
    font-size: 1.2rem;
}
.nav-item > a, .translate > a{
    padding: 1rem 2rem;
    margin: 1rem 0;
    height: min-content;
    cursor: pointer;
    text-decoration: none;
    color: #001e2d;
}
.nav-item > a, .company-item{
    background-image: linear-gradient(red, red);
    background-size: 0% 0.1em;
    background-position-y: 80%;
    background-position-x: 100%;
    background-repeat: no-repeat;
    transition: background-size 200ms ease-in-out;
}
.nav-item>a:hover, .nav-item>a:focus, .nav-item>a:active, .active >a {
    background-size: 100% 0.1em;
    background-position-x: 0%;
}
.logo {
    max-width: 4rem;
}
.contact {
    margin: auto 0;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    padding: 0.5rem;
    border-radius: 50%;
}
.contact > img{
    max-width: 1.7rem;
}
.contact:hover {
    transform: scale(1.2,1.2) rotate(10deg);
    background-color: #00aaff7e;
}
.company-nav {
    height: min-content;
}
.company-content {
    display: flex;
    padding: 0 0.5rem;
    margin-top: 0.7rem;
    opacity: 0;
    height: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(229,242,255,1) 0%, rgba(255,255,255,1) 100%);
    position: absolute;
    z-index: 100;
    border-radius: 5px;
    transition: all 200ms linear;
}
.company-item {
    padding: 1rem 1.5rem;
    display: none;
    color: #001e2d;
    width: 100%;
    text-decoration: none;
    transition: display,background-size 200ms ease-in-out;
}
.company-item:hover {
    background-size: 100% 0.1em;
    background-position-x: 0%;
}
.company-item:first-child {
    margin-top: 0.7rem;
}
.company-nav:hover .company-content{
    opacity: 1;
    height: max-content;
}
.company-nav:hover .company-item {
    display: block;
}
.company-nav:hover>a, .company-nav:focus > a, .company-nav:active > a {
    background-size: 100% 0.1em;
    background-position-x: 0%;
}

@media screen and (max-width: 830px) {
    .translate>a{
     padding: 1rem;
    }
    nav>a {
     width: 8rem;
     padding-left: 0.5rem;
    }
    nav>div {
     width: 8rem;
     padding-right: 0.5rem;
    }
     
}
@media screen and (max-width: 630px) {
    .nav-item>a {
     padding: 1rem 1.5rem;
    }
}
@media screen and (max-width: 580px) {
    .nav-item>a {
     padding: 1rem 1rem;
    }
    nav>a, nav>div {
        width: 7rem;
    }
}
@media screen and (max-width: 560px) {
    nav {
        font-size: 1.7rem;
    }
    nav>a {
        width: 6.5rem;
    }
    nav>div {
        width: 6.5rem;
    }
    .translate>a {
        font-size: 1.4rem;
        padding: 1rem 0.8rem;
    }
    .nav-list{
        position: absolute;
        width: 60%;
        height: 0;
        padding-top: 2rem;
        top: 70%;
        z-index: 100;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(229,242,255,1) 0%, rgba(255,255,255,1) 100%);
        border-radius: 5px;
        transform: translateY(-1000px);
        transition: all 400ms ease-in-out;
	}
    .company-nav {
        text-align: center;
    }
    .company-content {
        position: unset;
        background: #e4f0fc;
    }
    .nav-item {
        padding: 1rem 2rem;
        text-align: center;
    }
    .logo {
        max-width: 5rem;
    }
    .nav-icon>img {
        width: 4rem;
    }
	.nav-icon  {
		display: block;
        margin: auto 0;
	}
    .contact > img{
        max-width: 2rem;
    }
}
@media (max-width: 375px){
    .translate>a {
        font-size: 1.2rem;
    }
    .logo {
        max-width: 4.5rem;
    }
    .nav-icon>img {
        width: 3.5rem;
    }
    .nav-list {
        width: 80%;
    }
}


footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    border-top: 2px solid red;
    padding: 3rem;
    background-color: #00264D;
    color: #EFFAFF;
}
footer a {
    padding-top: 0.5rem;
    text-decoration: none;
    color: #EFFAFF;
    font-size: 0.8rem;
    transition: all 200ms ease-in-out;
}
footer a:hover {
    color: #bcc5c9;
}
.footer-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    width: 65vw;
}
@media (max-width: 680px){
    footer {
        flex-direction: column;
    }
    footer>a {
        margin: 0 auto;
        margin-bottom: 1rem;
    }
    .footer-content {
        width: 100%;
    }
    .footer-content > div{
        width: 33vw;
    }
}
@media (max-width: 500px){
    footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (max-width: 400px){
    .footer-content {
        flex-wrap: wrap;
    }
    .footer-content > div {
        width: 40vw;
    }
}
.footer-1 , .footer-2, .footer-3, .footer-4{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: min-content;
    padding: 0 1rem;
    margin-bottom: 2rem;
}
.footer-1 > img{
    width: 5rem;
    margin: 1rem;
}
.footer-1 > h4 {
    font: 400 1.2rem 'Readex Pro';
    color: #EFFAFF;
}
.footer-1 > p {
    font: 300 0.8rem 'Readex Pro';
    color: #EFFAFF;
    
}
.footer-3 > div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.footer-link {
    display: block;
    padding: 0;
    font: 400 1rem 'Readex Pro';
    color: #EFFAFF;
}


.contact-box {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}
#contactPopup {
    padding: 2em 1em;
    display: flex;
    flex-direction: column;
    position: relative;
    height: min-content;
    width: max-content;
    font: 400 1.5rem 'Readex Pro';
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10em black;
}
#contactPopup>span {
    position: absolute;
    right: 0.3em;
    top: 0.3em;
}
#contactPopup>span>img{
    padding: 0.5em;
    width: 2.1em;
    border-radius: 50%;
    transition: all 100ms ease-in-out;
}
#contactPopup>span>img:hover{
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
}
#contactPopup>p {
    padding: 1.5rem;
    text-align: right;
}
#contactPopup>a {
    margin: 0 1em;
    padding: 0.5em;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none;
}
#contactPopup img {
    margin: 0.2rem;
    width: 1.5rem;
}

#contactHeading {
    padding: 0 1em;
    font: 300 2rem 'Readex Pro';
    text-align: center;
    border-bottom: 1px solid black;
}