*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'BaksoDaging';
    src: url('/assets/fonts/BaksoDaging-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Built';
    src: url('/assets/fonts/built titling bd.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Built';
    src: url('/assets/fonts/built titling sb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Mundial';
    src: url('/assets/fonts/MundialNarrow-Medium-BF67624ba5a687e.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Moderniz';
    src: url('/assets/fonts/MUderniz-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html{
    background-image: url('/assets/background2.png');
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: 0 75px;
}

body{
    font-family: sans-serif;
    background-image: url('/assets/cursos/bgCursos.png'), url('/assets/sobre/branco.png');
    background-size: 90%;
    background-repeat: no-repeat, repeat-y;
    background-position: center 75px, center 50px;
    z-index: 0;
    height: 100%;
}

.header{
    text-align: center;
    color: #ddd;
    background-image: url('/assets/header/header.png');
    background-position: center -70px;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 250px;

    font-family: 'Mundial', sans-serif;
    font-size: 1.3rem;

    position: absolute;
    top: 0;

    transition: background-position 0.5s, transform 0.5s;
    z-index: 3;
}
.header:hover{background-position: center -50px;}

.header ul{
    list-style-type: none;
}
.header a{color: white; transition: color 0.2s;}
.header a:hover{color: rgb(118, 167, 210);}

.h-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 25px;
    transition: transform 0.5s;
}
.h-buttons{
    display: flex;
    gap: 40px;
}

.h-btn{transition: transform 0.3s; cursor: pointer;}
.h-btn:hover{transform: scale(1.05) translateY(-3px);}

.h-logo{
    height: 60px;
    width: 60px;
}
.h-logo img{height: 100%; width: 100%;}


.top-page{
    height: 110vh;
    width: 100%;
    margin: 5px 0 150px 0;
}
.top-text{
    text-align: center;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
#txt1{font-size: clamp(2rem, 5vw, 6rem); line-height: 1;}
#txt2{font-size: clamp(4rem, 13vw, 100rem); line-height: 1;}
.top-page h2{
    color: white;
}

.main-page{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    gap: 50px;
    align-items: center;
    color: #000;
    height: 100%;
    margin: 0 0 50px 0;
}
.main-grid{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 850px;
    padding: 0px 100px;
    gap: 15px;
    color: white;
}
.cilindro{
    font-family: 'BaksoDaging', sans-serif;
    border-radius: 15px;
    font-size: 1rem;
    width: 100px;
    padding: 7px 25px;
    cursor: pointer;
    background-color: rgb(57, 57, 57);
    transition: background-color 0.5s, transform 0.5s;
}
.cilindro a{color: white;}


.cilindro:hover{
    transform: scale(1.05);
    background-color: rgb(53, 107, 154);
}

.course-carousel{
    display: flex;
    flex-direction: row;
    align-items: end;
    overflow-x: scroll;
    max-width: 75%;
    gap: 50px;
}


.course-img{
    display: flex;
    flex-direction: column;
}
.course-cap{
    display: flex;
    justify-content: space-between;
    text-align: start;
    border-radius: 0 0 15px 15px;
    background-color: #1e1e1e;
    color: white;
    padding: 15px;
    height: 75px;
}
.course-cap h2{
    font-family: 'Built', sans-serif;
    font-size: clamp(1rem, 2.5vw, 3rem);
}

.course-cap a{height: fit-content;}
#seta-info{
  fill: #fff;
  height: 70px;
  transform: rotate(-45deg);
  float: right;
  cursor: pointer;
}

.bottom-pg{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 20px;
    height: 800px;
}
.bottom-btn{
    align-content: center;
    font-family: 'Built', sans-serif;
    font-size: clamp(1rem, 2.5vw, 3rem);
    color: white;
    background-color: rgb(53, 107, 154);
    border-radius: 25px;
    min-width: 325px;
    min-height: 75px;
    transition: background-color 0.2s;
}
.bottom-btn:hover{background-color: rgb(118, 167, 210);}
.bottom-btn:active{background-color: rgb(53, 88, 118);}
.bottom-img{
    position: relative;
    bottom: 0;
}
.bottom-img img{
    width: 80%;
}

.bot-page{
    display: flex;
    justify-content: center;
    align-items: end;
    color: white;
    height: 36vh;
    width: 100%;
    position: relative;
    bottom: 0;
    font-family: 'BaksoDaging', sans-serif;
    background-image: url('/assets/contato/papelPreto.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}
.footer{
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 5%;
}


/* Atomic */

h1, h2, h3{
    font-family: 'Built', sans-serif;
    font-weight: normal;
}
a { text-decoration: none; color:white; height: min-content; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
a:hover, a:active { text-decoration: none; }
#t-card{position: absolute; }
#social{display:flex; position: absolute; right: 75px; bottom: 50px; gap: 15px; border-bottom: 1px solid #fff;}
#social a{color: white; transition: color 0.3s; }
#social a:hover{color: rgb(118, 167, 210); }
#olivial a{color: #5a7745; }
#bdog a{color: #3b6c54; }
#moderniz{
  font-family: 'Moderniz', sans-serif;
  /* clamp(min, preferido, max) */
  font-size: clamp(1rem, 2vw, 3rem);
  line-height: 1.1;
  margin: 0;
}
#built{
  font-family: "Built", sans-serif;
  font-size: clamp(2.5rem, 5vw, 7rem);
  line-height: 1.1;
  margin: 0;
}

.ajuste1{font-size: 56px;}
.ajuste2{font-size: 105px; margin: -30px;}
.ajuste3{font-size: 5.68rem;}
.ajuste4{font-size: 4.09rem;}
.azul11{color: rgb(118, 167, 210);}
.azul10{color: rgb(53, 107, 154);}

/* Media Queries */

@media (max-width: 768px) {

  html{background-attachment: scroll;}
  body {
    background-attachment: scroll;
    background-position: center 145px;
  }

  .header {
    background-position: center;
    font-size: 1rem;
    height: 200px;
    padding: 10px 0px;
  }
  .header:hover{background-position: center}

  .h-content {
    flex-direction: column;
    gap: 7px;
    margin-top: 0px;
  }

  .h-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .h-logo {
    height: 50px;
    width: 50px;
  }

  .top-page{
    height: 30vh;
    width: 100%;
}
.top-text{
    text-align: center;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
#txt1{font-size: clamp(2rem, 5vw, 6rem); line-height: 1;}
#txt2{font-size: clamp(4rem, 13vw, 100rem); line-height: 1;}
.top-page h2{
    color: white;
}

.main-page{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    color: #000;
    height: 100vh;
}
.main-grid{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100vw;
    padding: 0px 0px;
    gap: 15px;
    color: white;
}
.cilindro{
    font-size: 1rem;
    width: 100px;
    transition: background-color 0.5s, transform 0.5s;
}
.cilindro a{color: white;}


.cilindro:hover{
    transform: scale(1.05);
    background-color: rgb(53, 107, 154);
}

.course-carousel{
    display: flex;
    flex-direction: row;
    align-items: end;
    overflow-x: scroll;
    max-width: 85%;
    height: fit-content;
    gap: 50px;
}


.course-img{
    display: flex;
    flex-direction: column;
    width: 200px;
}
.course-cap{
    display: flex;
    justify-content: space-between;
    text-align: start;
    border-radius: 0 0 15px 15px;
    background-color: #1e1e1e;
    color: white;
    padding: 15px;
    height: 75px;
}
.course-cap h2{
    font-family: 'Built', sans-serif;
    font-size: clamp(1rem, 7vw, 3rem);
}
.course-cap p{font-family: 'BaksoDaging', sans-serif;}

.course-cap a{height: fit-content;}
#seta-info{
  fill: #fff;
  height: 40px;
  transform: rotate(-45deg);
  float: right;
  cursor: pointer;
}

.bottom-pg{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 410px;
    width: 100%;
}
.bottom-btn{
    align-content: center;
    font-family: 'Built', sans-serif;
    font-size: clamp(1rem, 2.5vw, 3rem);
    color: white;
    background-color: rgb(53, 107, 154);
    border-radius: 20px;
    min-width: 125px;
    min-height: 35px;
    transition: background-color 0.2s;
}
.bottom-btn:hover{background-color: rgb(118, 167, 210);}
.bottom-btn:active{background-color: rgb(53, 88, 118);}
.bottom-img{
    position: relative;
    bottom: -40px;
}
.bottom-img img{width: 100%;}

  /* Footer */
  .bot-page {
    justify-content: space-between;
    height: 100px;
    width: 100%;
    padding: 0;
    background-size: cover;
    position: relative;
  }

  .footer {
    width: auto;
    font-size: 0.8rem;
    text-align: left;
    padding-bottom: 20px;
  }

  .footer p {
    margin-left: 15px;
  }

  #social {
    width: auto;
    gap: 10px;
    right: 20px;
    bottom: 20px;
    position: absolute;
  }
}