@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@200..900&display=swap');

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  font-family: "Source Sans 3", sans-serif;
  box-sizing: border-box;
  cursor: default;
}

:root {
    --white: #FDFDFD;
    --gray: #F5F5F5;
    --cian: #00A5BE;
    --blue: #1F4180;
    --black: #1B2230;

    --padding-space: 10vw;

    --gap-xs: 0.5rem;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 4rem;
    --gap-xl: 6rem;

    --size-xs: 1.5rem;
    --size-sm: 2rem;
    --size-md:4rem;
    --size-lg:8rem;
    --size-xl:12rem;

    --border-radius-sm: 1rem;
    --border-radius-md: 2rem
}

html{
  scroll-behavior: smooth;
}

/*FONTES-----------------------------*/

h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
}

h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cian);
}

.h2-bold{
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  text-align: start;
}

h4{
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

p,
label {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
}

b{
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}


a{
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

small{
  color: var(--white);
}

a *{
  cursor: pointer;
}

/*IMAGES-----------------------------*/

.icon-smaller{
  width: var(--size-xs);
  height: var(--size-xs);
}

.icon{
  width: var(--size-xs);
  height: var(--size-xs);
}

.image-sm{
    min-width: var(--size-sm);
    min-height: var(--size-sm);
    max-width: var(--size-lg);
    max-height: var(--size-md);
}

.image-md{
    min-width: var(--size-md);
    min-height: var(--size-md);
    max-width: var(--size-xl);
    max-height: var(--size-lg);
}

.image-lg{
    width: var(--size-xl);
}

.image-fit{
  border-radius: var(--border-radius-md);
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: background-size 0.5s ease;
}

video{
  border-radius: var(--border-radius-md);
}

#imagem-about{
  background-image: url(../assets/img-apresentacao.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: background-size 0.5s ease;
}

/*BUTTON-----------------------------*/

button,
button *{
    cursor: pointer;
    border: 0px;
}

.button-default{
  width:min-content;
  padding: var(--gap-xs) var(--gap-md);
  border-radius: 0.5rem;
  transition: 0.5s;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white) !important; 
  text-wrap: nowrap;
}

.button-default:hover{
  transform: scale(1.05);
  transition: 0.5s;
}




/*BIGGEST-----------------------------*/
body {
    display: flex;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    overflow-x:hidden;
    min-height: 100vh;
}

main{
    display: flex;
    width: 100vw;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

section,
footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding:  var(--gap-lg) var(--padding-space);
    gap: var(--gap-md);
    overflow: hidden;
}

span{
  display: flex;
  flex-direction: row;
  gap: var(--gap-xs);
  justify-content: flex-start;
}

.container-column{
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.container-row{
  display: flex;
  flex-direction: row;
  gap: var(--gap-md);
}

/*HEADER-----------------------------*/

header img{
  width: 100vw;
  min-width: 100vw;
}

/*CARDS-----------------------------*/

.event-card{
  height: 18rem;
  width: 100%;
  position: relative;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.25rem;
  overflow: hidden;
  cursor: pointer;
}

.card-info{
  width: 100%;
  padding: var(--gap-sm);
  position: absolute;
  bottom: -1rem;
  padding-bottom: 2rem;
  transition: 0.5s ease;

}

.event-card:hover .card-info{
  bottom: 0;
  transition: 0.5s ease;

}

#evento-boi{
  background-image: url("../assets/images/boi_main.jpeg");
}

#evento-lencois{
  background-image: url("../assets/images/lencois_main.jpg");
}

#evento-boi .card-info{
  background-color: #00a5bee4;
}

#evento-lencois .card-info{
  background-color: #1f4180e0;
}

/*EVENT INFO-----------------------------*/
#event-info{
  display: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--gray);
}

#info-container{
  padding: var(--gap-lg);
  align-items: stretch;
  border-radius: 0.25rem;
}

#event-text-info{
    gap: var(--gap-md);
}

#event-image{
  width: 40%;
  min-width: 40%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.25rem;
}

#info-container h1,
#info-container p{
 color: var(--white);
}

#info-container h2{
  background-color: transparent !important;
}

#info-container .event-color-change{
  color: var(--blue);
  background-color: var(--blue);
}

/*FOOTER-----------------------------*/

#footer-copyright {
  background-color: var(--blue);
  border-radius: 0px !important;
  padding: var(--gap-md);
  align-items: center;
  gap: var(--gap-sm);
  justify-content: center;
}

#footer-copyright span{
  gap: var(--gap-sm);
}

#footer-copyright span > :first-child {
  border-right: 1px solid var(--white);
  padding-right: var(--gap-sm);
}

#footer-copyright span{
  width: auto !important;
}

#footer-copyright *{
  color: var(--white);
}

@media (max-width: 767px) {
  :root {
    --padding-space: 10vw;
  }

  .button-default{
    width: 100%;
    text-align: center;
  }

  #event-info{
    padding:0;
  }

  #info-container {
    padding: var(--padding-space) ;
  }

  #event-image{
  height: 18rem;
  width: 100%;
  }

  #event-cards-container,
  #info-container{
    flex-direction: column;
  }

  #footer-copyright span > :first-child {
  border-right: none;
  padding-right: 0;
  }

  #footer-copyright span{
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

@media (min-width: 768px) and (max-width: 1036px) {
#info-container{
    flex-direction: column;
  }
}