@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.cookies-style{
  --footer-cookies-color: #d9d9d9;
  --main-color: #6c8d0f;
  --sec-color: #a8da20;
  --grey-color: #707070;
  --medium-grey-color: #8E8E93;
  --light-grey-color: #E9E9EA;
  --white-color: #ffffff;
  --border-radius: .5rem;
  --font-family: 'Montserrat', Arial, sans-serif;
  font-family: var(--font-family);
}

.cookie-link{
  color: var(--main-color);
  text-decoration: none;
  font-weight: 540;
}

.fundo{
  background-image:url('assets/fundosite.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.banner-cookies{
  position: fixed;
  width: 100vw;
  height: auto;
  bottom: 0;
  right: 0;
  background-color: var(--footer-cookies-color);
  border-top:2px solid var(--sec-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  z-index: 99998;
}
  
.text-cookies{      
  width: 75vw;
  height: auto;
  margin: 10px;
  text-align: justify;
}

.text-modal-cookies{      
  height: auto;
  text-align: justify;
  margin: 0;
}

.title-h4{      
  margin: 0 ;
}

.box-btn-cookies{
  display: flex;
  justify-content: column;
}

.btn-cookies{
  border: 1.5px solid var(--grey-color);
  color: var(--grey-color);
  margin: 0.4rem;
  padding: 0.4rem;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.btn-cookies:hover{
  border: 1.5px solid var(--main-color);
  color: var(--main-color);
}
  
.btn-config{
  border: none;
  background-color: var(--footer-cookies-color);
  color: var(--grey-color);
  text-align: center;
  text-decoration: none;
}

.btn-config:hover{
  border: none;
  color: var(--main-color);
}

.modalPrivacidade{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.smoked-background{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;     
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal-cookies{
  position: relative; 
  width: 90%;          
  max-width: 600px;    
  max-height: 85vh;    
  display: flex;
  flex-direction: column;
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  z-index: 100000;
}

.modal-header{
  background-color: var(--footer-cookies-color);
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body{
  padding: 2rem 3rem;
  flex: 1;
  overflow-y: auto;
}

.modal-body p{
  margin-bottom: 1.5rem;
  text-align: justify;
  width: 87%;
}

.modal-footer{
  background-color: var(--footer-cookies-color);
  padding: 20px;
  display: flex;
  justify-content: column;
  gap: 10px;
}

/*adicionado depois*/

.btn-close-modal{
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.4em;
  font-weight: 550;
}

.category-header{
  display: flex;
  justify-content: space-between; 
  align-items: center;                        
}

.modal-toggle{
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.modal-toggle input{
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-grey-color); 
  transition: background-color 0.3s ease;
  border-radius: 34px;
}

.toggle-slider::before{
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: var(--white-color);
  /* box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);  */
  transition: transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);
  border-radius: 50%;
}

.modal-toggle input:checked + .toggle-slider{
  background-color: var(--sec-color);
}

.modal-toggle input:checked + .toggle-slider::before{
  transform: translateX(20px);
}

.modal-toggle input:checked:disabled + .toggle-slider{
  background-color: var(--medium-grey-color);
  cursor: default;
}

.modal-toggle input:checked:disabled + .toggle-slider::before{
  transform: translateX(20px);
}