@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

::-webkit-scrollbar {
  display: none;
}

:root {
  --clr-primary: #922274;
  --clr-secondary: #fff;

  --ff-primary: 'Montserrat', sans-serif;

  --fw-400: 500;
  --fw-700: 600;

  --fs-button: 1em;
  --fs-text: 1em;
  --fs-title: 4em;
  --fs-subtitle: 2em;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-size: cover;
    background-image: url(./Images/team2.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.button {
    display: inline-block;
    font-size: 17px;
    padding: 15px 30px;
    border-radius: 5px;
    border: 1px solid #fff;
    background: #922274;
    text-decoration: none;
    color: #fff;
    transition: all .5s ease;
}

.button:hover {
    color: #922274;
    background: #fff;
    border-color: #922274;
}

/* NAVBAR */
.navbar{
    position: fixed;
    width: 100%;
    padding: 0px 30px;
    font-family: 'Montserrat', sans-serif;
    z-index: 999;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.sticky{
     background: #922274;
     padding: 5px 10px;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    display: flex;
    background-image: url('./Images/iqsc-logo3.png');
    justify-content: center;
    padding: 1em;
}

.navbar .menu ul {
    color: #922274;
}   

.navbar.sticky .menu ul {
    color: #fff;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
}

.navbar .menu li a{
    color: #922274;
    font-size: var(--fs-text);
    font-weight: 900;
    transition: all .5s ease;
    text-decoration: none;
    padding: 1em 1.1em;
}

.navbar .menu li a:hover{
    text-decoration-thickness: from-font;
    text-underline-offset: .25em;
    text-decoration-line: underline;
}

.navbar.sticky .menu li a {
    color: #fff;
}

.menu-btn{
    color: #000;
    font-size: 26px;
    cursor: pointer;
    display: none;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a,
.navbar.sticky .dropdown-content a {
  color: #922274 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.navbar .diagnostic a span {
    padding-right: 10px;
}

@media (max-width: 1300px){
    .navbar .max-width{
        margin-left: 0;
    }
}

@media (max-width: 1200px){
    .navbar .max-width{
        padding: 0;
    }
}

@media (max-width: 1050px){
    .max-width{
        max-width: 800px;
        padding: 0;
    }
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .navbar .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        left: -100%;
        top: 0;
        background: #922274;
        padding-top: 80px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .navbar .menu li a {
        text-decoration: none;
        color: #fff;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .navbar .diagnostic li a {
        display: none;
    }

}

/* HOME */
.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    text-align: center;
    height: 60vh;
    color: #922274;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: none;
    line-height: 1em;
    padding: 0em 2em 0em 2em;
}

.home h1 {
    margin-top: 100px;
    font-size: 50px;
}

/* ABOUT */
.history {
    display: flex;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0em 2em 0em 2em;
}

.history .left {
    width: 50%;
    padding: 0px 80px 0px 8px;
}

.history .left h3 {
    display: flex;
    color: #922274;
    font-size: 44px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.1em;
}

.history .right {
    width: 50%;
}

.history .right img {
    width: 100%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 15px;
}

/* IMAGES */
.images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8em;
    padding: 0em 2em 0em 2em;
}

.images img {
    width: 100%;
    transition: all .5s ease;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 15px;
    height: 13em;
}

.images img:hover {
    filter: brightness(70%);
}

/* ACHIEVEMENTS */
.achievements {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .8em;
    margin-top: 10em;
    margin-bottom: 100px;
    padding: 1em 2em 1em 2em;
    background-image: url('./Images/mosaico.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

.achievements div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievements div:nth-child(1) {
    align-items: flex-start;
    font-size: calc(var(--fs-subtitle) - .5em);
}

.achievements div span {
    font-size: calc(var(--fs-text) + .5em);
}

.achievements div .text {
    font-size: var(--fs-text);
}

/* TOOLS */
.tools p:nth-child(1) {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.tools h2 {
    text-align: center;
    font-size: 40px;
    color: #922274;
}

.tools .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em;
    padding: 0em 6em 0em 6em;
    align-items: center;
    height: 20em;
}

.tools .cards ion-icon {
    font-size: 3em;
    color: #922274;
}

.tools .cards h3 {
    font-size: 25px;
}

.tools .cards .card-content {
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: 15em;
    border: 1px solid #922274;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 15px;
}

.tools .cards .card-content:nth-child(3) {
    background: #922274;
    color: #fff;
    border: 1px solid black;
}

.tools .cards .card-content:nth-child(3) ion-icon {
    color: #fff;
}

.tools .cards .card-content:hover {
    border-color: transparent;
    transition: all .5s ease;
}

/* MEJ */
.mej {
    display: flex;
    margin-top: 100px;
    padding: 0em 2em 0em 2em;

}

.mej h2 {
    font-size: 40px;
}

.mej .mej-left {
    width: 50%;
    margin: 0px 8px 0px 8px;
    align-content: center;
    align-items: center;
}

.mej .mej-left p {
    margin-block-end: 0em;
}

.mej .mej-right {
    width: 50%;
    padding: 32px 60px 40px 0px;
}

.mej .mej-right p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
}

.mej-cards {
    margin-bottom: 100px;
}

.mej-cards .cards-up {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    padding: 0em 2em 1em 2em;
}

.mej-cards .cards-up div,
.mej-cards .cards-down div {
    background: #fff;
    border: 1px solid #922274;
    border-radius: 10px;
    padding: 32px;
}

.mej-cards .cards-down {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    padding: 0em 13em 0em 13em;
}

.mej-cards ion-icon {
    font-size: 40px;
}

/* CALL */
.call {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8em;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 1em 2em 1em 2em;
    align-items: center;
    justify-content: space-between;
    background: #922274;
    color: #fff;
}

.call .call-content p {
    font-size: 20px;
}

.call .call-content:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

.custom-shape-divider-bottom-1684275248 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1684275248 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1684275248 .shape-fill {
    fill: #922274;
}

/* FOOTER */
.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8em;
    padding: 0em 2em 0em 2em;
    background: #922274;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

.footer .footer-left a:hover {
    text-decoration-thickness: from-font;
    text-underline-offset: .25em;
    text-decoration-line: underline;
}

.footer .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .footer-icons a {
    font-size: 25px;
    padding-right: 1em;
    align-items: center;
}

.footer .footer-icons a:hover {
    filter: brightness(80%);
}