
body{
    background-color: var(--background);
}



/* --------------------Content-------------------- */
.content{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 100px;

  background-image: url(/img/protesters.svg);
  background-repeat: no-repeat;
  /* background-position: horizontal vertical; */
  background-position: 0% 100%;
  background-size: auto 60%;
}


.col{
  width: 50%;
  margin-inline: 2rem;
}

/* --------------------Heading-------------------- */
#heading h1{
  font-size: clamp(5rem, 2rem + 10VW, 20rem);
  text-align: right;
  margin: 0;
  text-shadow: 3px 3px var(--accent);
  line-height: 0.8;
}

#heading h2{
  text-align: right;
  margin: 0;
}

#heading p{
  font-size: 1rem;

}



/* --------------------Form-------------------- */
#col-form{
  margin-bottom: 4rem;
}

form{
  display: flex;
  flex-direction: column;
}

form label{
  color: var(--socialistRed);
  font-family: var(--ff-main);
  font-size: clamp(1rem, 1rem + 2VW, 3rem);
  margin-top: 1.3rem;
}

form p{
  color: var(--text-dark);
}

input[type=text], input[type=email], textarea{
  border: 3px solid var(--socialistRed);
  outline: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

input[type=text], input[type=email], textarea, select {
  width: 100%;
  padding: 15px 40px;
  /* margin: 8px 0; */
  display: inline-block;
  border: none;
  border-bottom: 2px solid var(--accent);
  box-sizing: border-box;
  background-color: transparent;
  color: var(--text-dark);
  font-family: var(--ff-main);
  font-size: 1.5rem;
}

textarea{
  resize: vertical;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus{
  background-color: var(--secondary-button);
  border: 2px solid var(--accent);
  transition: 0.4s;
  box-shadow: 5px 5px var(--accent);
}


/* -----Ts & Cs----- */
.terms{
  margin-top: 20px;
  display: flex;
  align-items: center;
}

/* checkbox */
input[type="checkbox"] {
  position: relative;
  top: 8px;
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  outline: none;
  transition: 0.5s;
}

input[type="checkbox"]:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 4px solid var(--text-dark);
  box-sizing: border-box;
  transition: 0.5s;
  transition-timing-function: ease;
}

input:checked[type="checkbox"]:before {
  border-left: none;
  border-top: none;
  width: 10px;
  border-color: var(--socialistRed);
  transform: rotate(45deg) translate(5px, -10px);
}

.terms p{
  font-size: 0.8rem;
  word-wrap: normal;
  color: var(--accent-l);
  margin-left: 0.7rem;
}


/* -----Submit----- */
form button{
  margin-top: 3rem;
  font-size: 2rem;
}

form button:hover{
  background-color: var(--background);
  color: var(--socialistRed);
}




/* -----Input icons----- */
#boxName{
  background-image: url(/img/icons/name-lg.svg);
  background-size: 30px 30px;
  background-position: 4px 12px; 
  background-repeat: no-repeat;
}
#boxName:focus{
  background-image: url(/img/icons/name-d.svg);
}

#boxPhone{
  background-image: url(/img/icons/phone-lg.svg);
  background-size: 30px 30px;
  background-position: 4px 12px; 
  background-repeat: no-repeat;
}
#boxPhone:focus{
  background-image: url(/img/icons/phone-black.svg);
}

#boxEmail{
  background-image: url(/img/icons/email-lg.svg);
  background-size: 30px 30px;
  background-position: 4px 12px; 
  background-repeat: no-repeat;
}
#boxEmail:focus{
  background-image: url(/img/icons/email-d.svg);
}

#boxPostcode{
  background-image: url(/img/icons/area-lg.svg);
  background-size: 30px 30px;
  background-position: 4px 12px; 
  background-repeat: no-repeat;
}
#boxPostcode:focus{
  background-image: url(/img/icons/area-d.svg);
}

#boxMessage{
  background-image: url(/img/icons/message-lg.svg);
  background-size: 30px 30px;
  background-position: 4px 12px; 
  background-repeat: no-repeat;
}
#boxMessage:focus{
  background-image: url(/img/icons/message-black.svg);
}


  
/* --------------------Full-height pages-------------------- */
/* Used on Get Involved and Thank You: the content fills the space between
   header and footer, so the footer sits at the bottom of the screen. */
.page-fill{
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.page-fill > .content{
  flex: 1;
}



/* --------------------Thank you page-------------------- */
.thankyou{
  justify-content: center;
  background-position: 50% 100%;
  padding-bottom: 4rem;
}
.thankyou .col{
  width: auto;
  text-align: center;
}
.thankyou #heading h1,
.thankyou #heading h2{
  text-align: center;
}
.thankyou .btn{
  margin-top: 2rem;
  font-size: 2rem;
}



/* --------------------Media querys-------------------- */
@media screen and (max-width: 1500px) {}

@media screen and (max-width: 1300px) {

  .content{
    flex-direction: column;
    background-image: none;
    margin-top: 100px;
  }

  .col{
    width: inherit;
    margin-inline: 1.5rem;
  }
  
  #heading{
    padding: 1rem;

    border: 2px solid var(--accent);
    background-color: var(--secondary-button);
    box-shadow: 5px 5px var(--accent);

    background-image: url(/img/protesters.svg);
    background-repeat: no-repeat;
    /* background-position: horizontal vertical; */
    background-position: 50% 100%;
    background-size: auto 80%;
  }
  #heading h1{
    text-align: left;
  }
  #heading h2{
    text-align: left;
  }

  #col-form{
    margin-top: 1rem;
  }


}
@media screen and (max-width: 1000px) {
  input[type="checkbox"] {
    width: 30px;
    height: 30px;
  }
  .terms p{
    margin-left: 1.5rem;
  }
}