/* variáveis globais */
:root {
  --main-color: #425F8C;
  --main-font: 'Archivo', sans-serif;
  --font-secondary: 'Comfortaa', sans-serif;
  --color-secondary: #474A4B;
  --color-text-black: #000;
  --color-text-body: #fff;
}

.section.introduction .flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.introduction {
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.title {
  font-family: var(--main-font);
  width: 683px;
  height: 52px;
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  flex: none;
  order: 0;
  flex-grow: 0;
  color: var(--color-text-body);
}

.description1 {
  font-family: var(--font-secondary);
  color: var(--color-text-body);
  margin-top: 20px;  
  height: 70px;
  width: 673px;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  flex: none;
  order: 0;
  flex-grow: 0;              
}

.description2 {
  font-family: var(--font-secondary);
  color: var(--color-text-body);
  margin-top: 20px;
  height: 120px;
  width: 490px;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.imgsintroduction:hover .certificate {
  transform: scale(2.1);  
}

.certificate {
  width: 43%;    
  transition: transform 0.5s ease;
}

.iso {
  width: 40%;
  height: 50%; 
}

.section.introduction {
  padding: 40px 4%;
}

.flex {
  display: flex;
  margin-top: 10px;
}

.section.introduction .flex {
  align-items: center;
  justify-content: center;
}

.text-top{
  width: 50%;
  padding: 0 25px; 
  margin-top: 10vh;  
  margin-left: 5vh;
  
}

.subtext-top{
  margin-top: 18vh;
}

.text-top2{
    width: 50%;
    padding: 0 100px;    
    margin-top: 10vh;
}

@media screen and (min-width: 744px) and (max-width: 1440px) {
  .interfaceintroduction {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }

  .section.interfaceintroduction {
    padding: 40px 4%;
  }

  .text-top {
    padding: 0px;
    margin-left: 4vh;
  }

  .text-top2 {
    width: 50%;
    padding: 0 0px;
    margin-top: 10vh;
    margin-left: 7px;
  }

  .description1 {
    width: 350px;
    font-size: 14px;
  }

  .title {
    width: 600px;
    font-size: 28px;
  }

  .description2 {
    font-size: 14px;
    width: 300px;
  }

  .certificate {
    width: 40%;
    margin-top: 30px;
  }

  .iso {
    width: 40%;
    height: 50%;
    position: relative;
    bottom: 15.6vh;
  }

  .subtext-top{
    margin-top: 32vh;
  }
}

@media screen and (min-width: 360px) and (max-width: 730px) {
  .section.interfaceintroduction {
    padding: 40px 20px;
  }

  .flex {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 0;
  }

  .title {
    width: 100%;
    height: auto;
    font-size: 24px;
    line-height: 30px;
  }

  .description1 {
    width: 100%;
    height: auto;
    font-size: 12px;
    line-height: 16px;
    margin-top: 20px;
  }

  .description2 {
    width: 100%;
    height: auto;
    font-size: 12px;
    line-height: 16px;
    margin-top: 20px;
  }

  .text-top {
    width: 86%;
    padding: 0;
    margin-top: 20px;
    margin-right: 20px;
  }

  .text-top2 {
    width: 90%;
    padding: 0;
    margin: 40px;
    margin-right: 20px;
    position: relative;
    bottom: 10vh;
  }

  .certificate {
    width: 40%;
    margin: 30px auto 0;
    display: block;
  }

  .iso {
    width: 40%;
    position: static;
    margin: 30px auto 0;
    display: block;
  }

  .subtext-top{
    position: relative;
    bottom: 12vh
  }
}