* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: rgba(0, 0, 0, 1);
    max-width: 100vw;
    font-family: 'Raleway', SansSerif, serif;
    color: white;
}

/* NAV */
.main-nav {
    z-index: 1;
    padding: 0 10%;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    background: rgba(0, 0, 0, 1);
}

.logo-img img {
    max-width: 185px;
    display: none;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.main-menu > li {
    position: relative;
    margin-left: 26px;
}

.main-menu > li:nth-child(3) > a {
    display: inline-block;
    min-width: 0px;
}

.main-menu li > a {
    font-size: 1.3rem;
    line-height: 1.31rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 800;
}

i.fa-chevron-down {
    vertical-align: middle;
    font-size: 0.7rem;
    padding-left: 10px;
}

i.fa-chevron-up {
    vertical-align: middle;
    font-size: 0.7rem;
    padding-left: 10px;
}

.main-menu li > a:hover {
    color: #07A5E9;
}

.truncate-4lines {
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
}

.btn-contact {
    background: #07A5E9;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1875rem;
    color: white;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 11px 26px;
    margin-left: 40px;
}

/*DROPDOWN MENU*/
.dropdown-menu {
    display: none;
}

.dropdown-menu ul {
    list-style: none;
}

.main-menu li:hover .dropdown-menu {
    display: block;
    position: absolute;
    left: -10px;
    top: 100%;
    background: #151220;
    width: 175px;
    height: auto;
}

.main-menu li:hover .dropdown-menu ul {
    display: block;
}

.main-menu li:hover .dropdown-menu ul a {
    display: block;
    margin: 0.8rem 0;
    padding-left: 10px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.1rem;
    word-wrap: break-word;
}

.main-menu li:hover .dropdown-menu ul li:first-child a {
    margin-top: 1.2rem;
}

/*END DROPDOWN MENU*/

/* MOBILE MENU */
.hamburger-lines {
    height: 26px;
    width: 32px;
    top: 17px;
    left: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: white;
}

.secondary-menu {
    position: fixed;
    z-index: 2;
    top: 100px;
    right: 0;
    height: calc(100vh - 100px);
    background: rgba(0, 0, 0);
    display: flex;
    flex-direction: column;
    width: 30vw;
    min-width: 320px;
    list-style: none;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

}

.secondary-menu li:first-child {
    margin-top: 30px;
}

.secondary-menu.toggle {
    transform: translateX(0);
}

.secondary-menu li {
    z-index: 3;
    margin-left: 40px;
    margin-bottom: 30px;
}

.secondary-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 2.1875rem;
}

.secondary-menu li a:hover {
    color: #0073ff;
}

/* END MOBILE MENU */
/* END NAV */

/* INDEX PAGE */


dialog.axiologic_modal.site_cookies_info {
    width: min(85%, 1319px);
    height: fit-content;
    top: auto;
    margin: auto auto 30px;
    background: #C0DEED;
    border-radius: 8px;
}

dialog.axiologic_modal.site_cookies_info .dialog_header {
    display: none;
}

dialog.axiologic_modal.site_cookies_info .dialog_content {
    padding: 20px;
    gap: unset;
    color: #000000;
    text-align: center;
}

.modal_action_button {
    text-align: center;
    padding: 7px 25px;
    border-radius: 6px;
    background: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
}

.site_cookies_info .dialog_actions_container {
    margin-top: 20px;
    text-align: center;
}


section.home {
    padding-top: 100px;
    min-height: 100vh;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-position: top right;
    background-size: 100% 100%;
    display: flex;
    gap: 20px;
}

.home .breakline {
    margin-bottom: 0;
}

.landing-page-text {
    padding: 0;
}
.landing-page-text img{
    width: 100%;
    object-fit: contain;
}
.landing-page-text video {
    width: 100%;
    object-fit: contain;
}


.landing-page-video video {
    width: 100%;
    border-radius: 50%;
    transform: rotate(-15deg);
}

.landing-page-text h1 {
    font-style: normal;
    font-weight: 500;
    font-size: 4rem;
    line-height: 117.4%;
    letter-spacing: 0.275em;
    margin-bottom: 30px;
}

.landing-page-text h1 span {
    background: linear-gradient(270deg, #222BE7 6.45%, #2860F8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.landing-page-text h5 {
    max-width: 458px;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 172.4%;
    text-align: justify;
    color: #FFFFFF;
    margin-bottom: 60px;
}

.btn-contact-home {
    background: #07A5E9;
    border-radius: 35px;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.187rem;
    color: white;
    border: none;
    cursor: pointer;
    outline: none;
    margin-bottom: calc((100vh - 100px) * 0.25);
    padding: 11px 26px;

}

/* END INDEX PAGE */

/* FIRST ABOUT PAGE*/
section {
    color: white;
    padding: 3.125rem 10%;
}

section > * {
    padding: 0 10px;
}

section.about {
    scroll-margin-top: 150px;
    width: 100%;

    padding-top: 0;
    padding-bottom: 0;
}

section .introduction {
    text-align: center;
}

section .introduction h1 {
    margin: 0 auto;
    padding: 20px 0;
    font-weight: 500;
    font-size: 4rem;
    line-height: 4.68rem;
    color: #C0DEED;
}

section .introduction h3 {
    max-width: 790px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 191.9%;
    margin-bottom: 70px;
    text-align: justify;
}

div.breakline {
    height: 1px;
    background: #2D3342;
    margin: 1rem auto;
    z-index: 2;
}

div.about-content {
    margin: 68px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(289px, 1fr));
    grid-gap: 100px;
    justify-content: center;


}

.about-content h2 {
    max-width: 500px;
    font-weight: 500;
    font-size: 2rem;
    line-height: 149.4%;
}

div.about-content h2 a {
    text-decoration: none;
}

div.about-content h2 span {
    color: rgba(45, 91, 255, 1);
}

.about-content div p {
    position: relative;
    max-width: 530px;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 191.9%;
    text-align: justify;
}

.btn {
    display: block;
    margin: 20px 0;
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.read-more {
    font-family: 'Raleway';
    color: #C0DEED;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 128.9%;
    letter-spacing: 0.03em;
}

.project-description > p > a {
    color: #07A5E9;
    text-decoration: none;
}

.btn-center {
    margin: 0 auto;
}

/* END OF FIRST ABOUT PAGE*/

/* SECOND ABOUT PAGE*/
section.about-second {
    padding-bottom: 22px;
}

.about-second .breakline {
    margin: 0;
}

.about-second h2 {
    max-width: 787px;
    margin: 0px auto 50px;
    text-align: center;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 138.9%;
    text-align: center;
    padding-top: 68px;

}

.ai-introduction {
    max-width: 787px;
    margin: 0 auto;
}

.ai-introduction > p {
    margin: 0 auto;
}

.about-second div p {
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 191.9%;
    /* or 46px */
    text-align: justify;
    margin-bottom: 20px;
}

.cards {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
    align-items: center;
    grid-gap: 30px;
}

.cards > div {
    border: 1px solid #2E2F46;
    box-shadow: 0px 0px 10px 4px #FFFFFF4D inset;
    border-radius: 6px;
    height: 100%;
}

.cards > div h4 {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.875rem;
    margin-bottom: 10px;
}

.cards > div p.truncate {
    text-align: left;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 149.4%;
    color: #D8D8E8;
}

.card-inside .card-text {
    padding: 0 30px;
    text-align: justify;
}

.card-inside .card-text h2 {
    text-align: center;
    padding: 0;
    margin: 0 0 15px;
}

.card-inside .card-text p.truncate {
    text-align: justify;
}

.logo-container img {
    display: block;
    margin: 30px auto 15px;
    width: calc(100% - 60px);
}

/* END OF SECOND ABOUT PAGE */


/*PROJECTS PAGE*/
section.projects {
    scroll-margin-top: 50px;
}

.projects > .breakline {
    margin-top: 0;
}

.project-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.project-description {
    position: relative;
    max-width: 730px;
}

.project-svg {
    min-height: 225px;
    background: url('../images/projects-diamond.svg') no-repeat;
    background-position: right, left;
    height: 100%;
    display: flex;
    align-items: center;
    min-width: 250px;
    margin-right: 15px;
}

.projects > h1 {
    padding-top: 11px;
    margin-bottom: 65px;
    text-align: center;
    font-weight: 500;
    font-size: 4rem;
    line-height: 4.68rem;
    color: #C0DEED;

}

.project-name > h2 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.37rem;
    color: #07A5E9;
}

.project-name > h3 {
    font-style: normal;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 2.187rem;
}

.project-description p {
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 191.9%;
    text-align: justify;
}

.project-description button {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 128.9%;
    /* identical to box height, or 26px */
    letter-spacing: 0.03em;
}

.button-container {
    margin-top: 100px;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.btn-view-more {
    cursor: pointer;
    background: #07A5E9;
    padding: 25px 35px;
    border: 0px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.43rem;
    line-height: 1.68rem;
    color: #FFFFFF;
}

/* RESEARCH ACTIVITY*/
section.researches {
    scroll-margin-top: 50px;
}

.researches .breakline {
    margin-top: 0;
}

.researches h1 {
    padding-top: 10px;
    margin-bottom: 73px;
    font-weight: 500;
    font-size: 4rem;
    line-height: 4.68rem;
    color: #FFFFFF;
}

.research h3 {
    max-width: 1000px;
    font-weight: 500;
    font-size: 1.56rem;
    line-height: 191.9%;
    color: #07A5E9;
}

.research h3 a {
    color: #07A5E9;
}

.research p {
    max-width: 870px;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 191.9%;
    color: #FFFFFF;
    margin-bottom: 67px;
}

.researches .button-container {
    margin-top: 55px;
    justify-content: left;
}

.researches .btn-view-more {
    font-weight: 600;
    background: #242C44;
    border-radius: 35px;
}

.research p a {
    color: white;
    text-decoration: none;
}

.research p a:hover {
    color: #07A5E9;

}

.researches .breakline.second {
    margin-top: 44px;
}

section.researches {
    padding-bottom: 1px;
}

section.contact {
    scroll-margin-top: 110px;
    padding-bottom: 1px;
    border: 3px solid #242C34;
    box-shadow: 0px 0px 15px -5px #07A5E9;
    border-radius: 5px;
    margin: 1rem 10%;
    padding: 4.5rem;
    background-position: right top;

}

.contact > h1 {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 186.4%;
    /* or 104px */
    color: #FFFFFF;
}

.contact > h1 > span {
    color: #07A5E9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 4.3rem 0 0;
}

.contact-information {
    margin-right: 35px;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.contact-information .text {
    margin-left: 1.5rem;
}

.contact-information .text p {
    display: block;
    height: 30px;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 230.4%;
    color: #FFFFFF;
}

.contact-information .text span {
    white-space: nowrap;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 230.4%;
    background: #07A5E9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
}

.map iframe {
    width: 450px;
    height: 300px;
}

section.footer {
    padding-bottom: 25px;
}

.footer .breakline {
    margin-top: 0;
    margin-bottom: 68px;
}

.footer-logo {
    width: 400px;
}

.container-padding {
    margin-left: 120px;
}

.footer ul {
    margin: 3rem 2.3rem 3rem 10px;
    display: flex;
    flex-wrap: wrap-reverse;
    list-style-position: inside;
    list-style-type: none;
}

.footer ul li:first-child {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    margin-right: 35px;
}

.footer ul li a {
    text-decoration: none;
    font-style: normal;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.625rem;
    color: white;
}

.footer ul li:hover a {
    color: #07A5E9;
}

@media (max-width: 1176px) {
    .contact-information:nth-child(2) {
        margin-left: 7px;
    }

    .contact-information:nth-child(2) > .text {
        padding-left: 7px;
    }
}

@media (max-width: 1145px) {
    .card-inside:last-child {
        grid-column: 1/ span 2;
    }
}

@media (max-width: 1023px) {
    .footer ul {
        flex-direction: column;
        margin-top: 15px;
        margin-bottom: 0px;
    }

    .footer .breakline {
        margin-bottom: 20px;
    }

    section.footer {
        background: none;
    }

    .footer-logo {
        width: 300px;
        transform: translateX(-15px);
    }

    .footer ul {
        margin-left: 0;
    }

    .footer ul li {
        margin-bottom: 15px;
        list-style: none;
    }

    .container-padding {
        margin: 0;
    }
}

@media (max-width: 950px) {
    section.home {
        flex-wrap: wrap-reverse;
    }

    .landing-page-text {
        margin-top: calc((100vh - 100px) * 0.08);
    }

    section.about {
        background: none;
        background-color: rgba(24, 29, 43, 1);
    }

    .btn-contact-home {
        margin-bottom: calc((100vh - 100px) * 0.37)
    }
}

@media (max-width: 900px) {
    html {
        font-size: 14px;
    }

    .main-menu {
        display: none;
    }

    .hamburger-lines {
        display: flex;
    }

    .btn-contact-home {
        margin-bottom: calc((100vh - 100px) * 0.41)
    }

}

@media (max-width: 820px) {
    #newLine {
        display: none;
    }

    section.home {
        padding-bottom: 0;
        flex-wrap: wrap-reverse;
    }

    .landing-page-text {
        width: 100%;
        min-width: unset;
    }

    .project-container {
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    .project-svg {
        margin-bottom: 25px;
    }

    .contact-container {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 13px;
    }

    .landing-page-text {
        width: 100%;
        min-width: unset;
    }

    section.home {
        padding-bottom: 0;
        flex-wrap: wrap-reverse;
    }

    .cards {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}

@media (max-width: 500px) {
    html {
        font-size: 12px;
    }

    .main-nav {
        justify-content: space-between;
    }

    .main-nav .logo-img {
        width: 200px;
        display: none;
    }

    .main-menu {
        display: none;
    }

    .secondary-menu {
        min-width: 100vw;
    }

    .project-container {
        align-items: start;
    }

    .project-svg {
        background: none;
        display: block;
        min-height: 0;
    }

    .button-container {
        justify-content: start;
    }

    .map iframe {
        width: 300px;
        height: 200px;
    }

    .footer-logo {
        transform: translateX(-10px);
        width: 200px;
    }

    .footer ul li a {
        font-weight: 500;
        font-size: 1.3rem;
        line-height: 1.125rem;

    }

    .btn-contact-home {
        margin-bottom: calc((100vh - 100px) * 0.45)
    }

    /*Paddings and margins*/
    * {
        text-align: left !important;
    }

    .btn-center {
        margin: 0;
    }

    .landing-page-text {
        width: 100%;
        min-width: unset;
    }

    .landing-page-text h1 {
        font-size: 3.75rem;
    }

    button.btn-view-more {
        padding: 15px 20px;
    }

    section .introduction h1 {
        padding-top: 0;
        font-size: 2.5rem;
    }

    section.home {
        padding-bottom: 0;
        flex-wrap: wrap-reverse;
    }

    div.about-content {
        display: block;
    }

    div.about-content h2 {
        margin-bottom: 35px;
    }

    section.about {
        padding-bottom: 1px;
    }

    section.contact {
        padding: 1rem;
    }

    /*Font-size */
    .about-second h2 {
        font-size: 2rem;
    }

    .projects > h1 {
        font-size: 2.5rem;
    }

    .researches h1 {
        font-size: 2.5rem;
    }

    .contact > h1 {
        font-size: 2.5rem;
    }

    /*Later updated margins*/
    div.about-content {
        margin: 0;
    }

    .about-second h2 {
        padding-top: 37.5px;
    }

    .projects > h1 {
        padding-top: 0;

    }

    .researches h1 {
        padding-top: 0;
    }

    section.contact {
        margin-top: 0;
    }

}

@media (max-width: 400px) {
    .landing-page-text h1 {
        font-size: 3.2rem;
    }

    .landing-page-text h5 {
        font-size: 1rem;
    }

    .contact > h1 {
        font-size: 3rem;
    }

    .contact-information .text span {
        font-size: 1.3rem;
    }

    .contact-information .text p {
        font-size: 1.3rem;
    }
}

@media (max-width: 335px) {
    .landing-page-text h1 {
        font-size: 2.5rem;
    }

    .landing-page-text h5 {
        font-size: 0.875rem;
    }
}

.hidden {
    display: none !important;
}
