/* font importing */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

*{
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
   
}

:root{
  --orange: #f78b00;
  --blue: #00285f;
  --gray: #ededed;
}

header{
    width: 100%;
    height: 500px;
    background-image: url(../imagens/background/fundo-mel.webp);
    background-position: center;
    background-size: cover;
}

.content{
    max-width: 1000px;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

nav{
    width: 100%;
    height: 125px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.brand {
    margin-top: 50px;
    color: #431d00;
    cursor: pointer;
    
    
}
.brand a{
    color: #431d00;
    text-decoration: none;
}
nav ul{
    display: flex;
    flex-direction: row;
}

nav ul li {
    list-style: none;
    padding: 10px;
    cursor: pointer;
    border: 2px solid var(--gray);
    margin-left: 10px;
    background-color: #4a6696;
    
}

nav ul li a{
    color: var(--gray);    
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    
}

nav ul li:hover{
    background-color: rgba(0, 0, 0, 0.4);   
    transition: all .5s;
}

.content .header-block{
    max-width: 1000px;
    min-width: 300px;
    height: 450px;
    background: #3c5a8f;
    border-radius: 8px;
    box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    padding: 10px;
}
.header-block img{
    position: absolute;
    right: 2%;
    bottom: 2%;
}
.header-block .text{
  position: absolute;
  bottom: 35%;
  left: 15%;
}
.header-block .text h2{
    color: white;
    margin-bottom: 35px;
    text-align: center;
    transform: translateX(-80px);
    transition: transform 0.5s;
}
.header-block .text p{
    text-indent: 0px;
    max-width: 280px;
    color: white;
    text-align: center;
    transform: translateX(-80px);
    transition: transform 0.4s;
}
.whats-button{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50px;
    text-align: center;
    
    box-shadow: 1px 1px 2px #888;
    z-index: 1000;
}
.whats-button a{
    color: white;
    font-size: 30px;
}
.whats-button i{
    margin-top: 16px;
}
.whats-button:hover{
    box-shadow: 5px 5px 5px #0006;
    transform: translateX(-15px);
    transition: transform 0.8s;
}

section .catalog {
    width: 100vw;
    padding: 100px;
    background-color: white;
}
h3{
  font-size: 24px;
  font-weight: normal;
  border-bottom: solid 2px #ccc;
}
.title-wrapper-catalog {
    margin-top: 70px;
    padding-bottom: 20px;
    
}
section .card-wrapper {
  max-width: 1000px;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-gap: 30px;
  
}
section .card-item {
  height: 675px;
  background: #b7cff4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.card-content {
  height: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.card-item h4 {
    width: 90%;
    letter-spacing: 2px;
    text-align: center;
    margin-top: -50px;
}
.card-item a{
    text-align: center;
    display: block;
    position: relative;
}
.card-item .obs{
    margin-top: 5px;
    font-size: 13px;
    font-weight: bold;
}

.card-item .potes p{
    margin-top: 0px;
}
.card-item .potes .sub{
    margin-top: 15px;
}

.card-item .potes .info{
    margin-top: 10px;
}
.card-item img {
    width: 100%;
}
.card-item a:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 97%;
    background-color: transparent;
    margin-left: %;
    transition: all .5s;
    
}

.card-item a:hover:before{
    background-color: rgba(0,0,0,0.5);
    border: 3px solid black;
    border-radius: 5%;
}
.card-item a:after{
    opacity: 0;
}
.card-item a:hover:after{
    content: 'Visualizar';
    display: block;
    position: absolute;
    border: 2px solid white;
    color: white;
    top: 50%;
    left: 50%;
    padding: 5px 15px;
    transform: translate(-50%, -50%);
    opacity: 1;
    border-radius: 5%;
    letter-spacing: 1.5px;
}

.card-item h4{
  
  font-size: 20px;
  
}

.card-item p {
  width: 90%;
  font-size: 15px;
  color: #021536;
}
.info{
    margin-top: -80px;
}
.tampas h4{
    margin-top: -95px;
}
.tampas p{
    margin-top: -120px;
}
.potes h4, .potes p{
    margin-top: -100px;
}
.bisnagas p{
    margin-top: 30px;
}

.bisnagas h4{
    margin-top: -30px;
}

.potes h4{
    margin-top: -40px;
}
.about{
    width: 100%;
    height: 100%;
    overflow: auto;
    background: var(--gray);
    
}
.about-content{
    column-count: 3;
    column-gap: 3rem;
    column-span: all;
}
.title-wrapper-about{
    margin-top: 50px;
}
.about-content h4 {
  width: 90%;
  margin-bottom: 20px;
}
.about-content p {
    max-width: 80%;
    font-size: 1em;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5em;
}
.about-img{
    padding-bottom: 10px;
}
.link-maps{
    text-decoration: none;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.65);
    border-bottom: 2px dotted rgba(0, 0, 0, 0.65);
}
.link-maps:hover{
    color: rgba(0, 0, 0, 0.35);
    border-bottom: 2px dotted rgba(0, 0, 0, 0.35);
    transition: all .5s;
}
.recent-works{
    width: 100%;
    height: 100%;
    background: var(--gray);
}
.title-wrapper-recent-works{
    margin-top: 200px;
}
.gallery-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2vw;
    padding: 0 2vw;
}
.gallery-item{
    width: 140px;
    height: 140px;
    border: 10px solid #FFF;
    box-shadow: 5px 5px 5px #0006;
    flex-grow: 1;
    transition: transform .5s linear;
}
.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery-item:hover{
    transform: scale(1.3);
}
.button-default{
    margin-top: 20px;
    max-width: 66%;
    margin-left: 17%;
    display: block;
    text-align: center;
    padding: 25px 0px;
    border: none;
    background: #3c5a8f;
    border-radius: 4px;
    color: var(--gray);
    font-weight: bold;
    font-size: 1.3em;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 10px;
    
}

.button-default:hover{
    background: #dedede;
    color: #3c5a8f;
}

.button-catalog{
    margin-top: 20px;
    max-width: 30%;
    margin-left: 53%;
    display: block;
    text-align: center;
    padding: 25px 0px;
    border: none;
    background: #3c5a8f;
    border-radius: 4px;
    color: var(--gray);
    font-weight: bold;
    font-size: 1.3em;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 10px;
    
}
.button-left{
    margin-left: 17%;
    margin-top: -82.95px
    
}

.button-catalog:hover{
    background: #dedede;
    color: #3c5a8f;
}


footer{
    background-image: url(../imagens/background/fundo-mel.webp);
    background-position: center;
    background-size: cover;
    max-width: 100%;
    max-height: 250px;
}
footer .main {
    max-width: 100%;
    max-height: 200px;
    padding: 20px 10px;
}
.footer-links {
  max-width: 1000px;
  min-width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
}
.footer-company,
.footer-see-again,
.footer-contact,
.footer-social {
  color: #0e2d64;
  height: 100%;
  min-height: 100px;
    font-weight: bold;
}
.footer-links h4 {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-links p{
    font-size: 12px;
}
.footer-links {
  margin-bottom: 0px;
}
footer .last {
  width: 100%;
  height: 50px;
  background: #0e2d64;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons ul{
    list-style-type: none;
    padding-left: 0;
}
.social-icons ul li{ 
    display: inline-block;
    font-size: 1.5em;
    color: #49bf9d;
    margin-right: 10px;
}
.social-icons ul li a{ 
    color: #0e2d64;
}
.footer-company a, .footer-see-again a{
    text-decoration: none;
    color: #0e2d64;
}
.numb{
    margin-top: -10px;
}
.footer-social li{
    margin-top: -5px;
    font-size: 14px;
} 


/* Responsive adjustments */

@media (max-width: 650px) {
.brand{
    margin-left: 32.5%
}
    
nav ul li{
    display: none;
  }
.header-block img{
    max-width: 45%;
    max-height: 45%;
    position: absolute;
    right: 12%;
    top: 50%;
    
  }
.header-block .text{
    position: absolute;
    bottom: 50%;
    left: 40%;
   
}
.button-default{
    max-width: 100%;
    margin-left: 0;
}
.button-catalog{
    max-width: 100%;
    margin-left: 0;    
}
.button-left{
    margin-top: 40px;    
}

.about{
    margin-top: 100px;
}
.title-wrapper-about {
    margin-bottom: 20px;
  }
.about-content {
    flex-direction: column;
    height: 100%;
  }

.about-content h4{
    width: 80%;
    text-align: center;
    margin-left: 10%
}
.about-content p{
    width: 80%;
    margin-left: 10%;
    text-align: center;
  }
.recent-works{
    height: 80%;
}
.about-content{
    column-count: 1; 
}

/*.catalo{
    height: 100%;
    display: flex;
    flex-direction: column;
}
*/

footer .main{
    max-width: 100%;
    max-height: 80%;
 
}

footer{
    max-height: 100%;
   max-height: 100%;
}
.footer-social{
    margin-left: 5%;
    max-width: 55%;     
}
.footer-contact{
    max-width: 35%;
    margin-right: 5%
}
.footer-company, .footer-see-again {
    display: none;
   
}

}