:root {
    --main-color: #d92123;
    --primary-text-color: #fff;
    --secondary-text-color: #191919;
    --secondary-color: #868686;
    --tertiary-color:#eff3f4;
    --secondary-bg-color: #5c1011;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Lato';
}

a {
    text-decoration: none;
    color: var(--secondary-text-color) ;
  }

header {
    background-color: var(--secondary-bg-color);
    position: fixed; /* Safari */
    width: 100%;
    top: 0;
    z-index: 4 ; 
}

header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    height: 80px;
    margin: auto;
}

#logo {
    position:absolute;
    color: white;
    font-family: 'Tahoma';
    font-weight: 600;
    left: 100px;
    bottom: 10%;
    font-size: 1.8rem;
    font-style:oblique ;
}

header nav ul{
    display: flex;
    margin-left: 5rem;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    padding: 24px;
    transition: all 250ms linear 0s;  /*alterar valor da propriedade sem problemas durante periodo*/
}

header nav ul li a:hover {
    background: rgba(255,255,255,0.15);
}
/*banner*/
#banner {
    margin-top: 5rem;
    height: 75vh;
    background-image: url('../images/manage.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

#banner::after {
    content: '';
    position: absolute;
    left:0;
    top: 0;
    height:100%;
    width: 100%;
    background-color:#191919;
    opacity: 0.9;
    z-index: -1;
}

.banner-phrase {
    display: flex;
    text-align: center;
    align-items: center;
    padding: 12rem 0 2rem 0;
    color: white;
    font-size: 3rem;
    font-style: italic;
    
    
}

/*
#presentation::after{
    content: '';
    position: absolute;
    left:0;
    top: 0;
    height:100%;
    width: 100%;
    background-color:black;
    opacity: 0.5;
    z-index: -1;
} */

/* MAIN */
main {
    margin-bottom: 100px;
    
}


main .container-main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 100px auto 0px auto;
}

/* CARDS */
.section-title {
    display: flex;
    margin: 50px auto 10px 267px;
    color:#5c1011;
    
    
    
}
.cards {
    width: 60%;
    max-width: 980px;
    margin: auto;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
   
}

/*
.text--medium{
    /*font-size: 20px;*/
    /*line-height: 26px;*/
    /*font-weight: 400;*/
   /* color: rgb(187,185,185);*/ /*
} */
 
.card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
   /* box-shadow: 5px 5px 15px -4px #000000;*/
    transition: all 0.3s ease 0s;
   
}
.card:hover{
    transform: translateY(-7px);
}

.image {
    
    overflow: hidden;
    
} 

#empre {
    
    height: 350px;
} 
 .img-bio, .img-livro, .img-bolsa {
    width: 100%;
    height: 250px;
    
       
    }




    .content {
        
        background-color: var(--tertiary-color);
        text-align: center;
        padding: 5px 0 5px 0;
    }

    .content h4 {
        font-size: 1.5rem;
     
        text-transform: uppercase;
      }
    
    .title{
        margin-bottom:0px;
    }
     
    .btn-comprar { 
        text-transform: uppercase;
        padding: 8px;
        background-color: var(--primary-text-color);
        color: var(--secondary-text-color);
        border: solid 2px var(--primary-text-color);
        border-radius: 5px;
}

    .btn-comprar:hover { 
        background: var(--secondary-bg-color);
        color: var(--primary-text-color);
    }
/*
    .desafio {
        font-size: 1rem;
        display: flex;
        justify-content: center;
        height:400px;
        width: 100%;
        align-items: center;
        border: 1px solid black;
        margin: 100px auto 0 auto; 
        max-width: 980px;
        background-color: #d92123;
    } */

#contact {
    margin-top: 3rem;
    background-color: var(--secondary-bg-color);
    height:300px;
    display: flex;
    color: var(--primary-text-color);
    padding: 2rem;
    gap: 2rem;
}

.contact-information, .links-container {
    width: 50%;
}

.contact-information {
    position: relative;
    text-align: left;
    flex: 1 1 0;
}

.contact-information .section-subtitle {
    color: var(--primary-text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    
}

.contact-information form {
    display: flex; /*deixa um ao lado do outro*/
    flex-direction: column;
    gap: 1rem;
}

.contact-information .form-control {
    display: flex;
    gap: 1rem;
}

.contact-information input,
.contact-information textarea {
  flex: 0.5; 
  padding: 1rem;
  border: none;
}

.contact-information .btn {
    align-self: start;
    border: 2px solid var(--primary-text-color);
    font-size: 1.2rem;
    transition: 0.4s; 
    background-color: var(--secondary-bg-color);
    color:var(--primary-text-color);
  }

  .contact-information .btn:hover {
    background-color: var(--primary-text-color);
    color: var(--main-color);
  }


  .networks {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
  }

  .networks i {
    padding: 1rem;
  }

  .links-container p {
    margin-top: 0.9rem;
  }
  
  .links-container i {
    font-size: 1rem;
    padding-left: 0rem;
  }
  
  .links-container a {
    color: var(--primary-text-color);
  }

  .footer-brand {
    margin-bottom: 0.9rem;
  }
  
  .footer-brand h2 {
    margin-bottom: 0.5rem;
  }
  

  /*RESPONSIVE*/
  @media (max-width: 800px ) {
    

    /*Header*/

    .menu-section nav ul {
    display: block;
    margin-right: 3rem;
  }

    .menu-section nav ul li a {
        padding: 5px;
        margin: 1px auto 1px auto;
  }

    .menu-section nav ul li {
        margin-bottom: 15px;
}
  

    header .container{
    height: 160px;
}

    #logo { 
    position: relative;
    margin-left: -4rem;
    font-size: 30pt;
    margin-right: 2.5rem;
    
}

/*main*/

    .section-title {
    width: 90%;
    margin: 50px auto 10px auto; 
}

.cards {
    width: 90%;
   
    
   
}


/*Footer*/
    #contact {
    
            display: block;
            height: auto;
        }
    
    .contact-information {
        width: 100%;
        margin-bottom: 3rem;
        
    }

    .contact-information .form-control input {
        display: flex;
        flex-direction: column;
        
    } 
    .link-text {
        display: flex;
    }



};
