@import url("https://use.typekit.net/cou4frn.css");

body{ margin: 0; padding: 0;}

calc(var(--tera-font-scale) * 4.05em)

section{ overflow-x: hidden;}
/*img float*/
.img-left {position:absolute; left: -456px; top: -147px; z-index: 0; width:520px;}
.img-top {position:absolute; top: -130px; right: 147px; transform:translateX(0%); z-index: 1;  width:120px;}
.img-top-right {position:absolute; top: -267px;right: -251px; width: 1000px; z-index: 0;}
.img-right {position:absolute; right: -443px; top: 117px; transform: scaleX(-1); width: 600px;}
.floating {animation: floating 2.5s ease-in-out infinite;}

@keyframes floating {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.background-image { background:#ff5b00 url(images/background.png) repeat center top / 1600px auto; color: #FFF; }
.background-image h1 { font-family: 'magallanes' !important; font-weight: 800; text-transform: uppercase; font-size: calc(var(--tera-font-scale) * 8.1rem); color: #ffe721; }
.healthful-halloween { width: 1316px; margin: 0 auto; position: relative;}
.txt-logo-background h1 { margin-top: 218px; font-size: calc(var(--tera-font-scale) * 15.6rem); line-height: 142px; letter-spacing: -3px;}
.txt-logo-background { background-image: url(images/txt-logo-background.png); background-repeat: no-repeat; background-size: 1310px;}
.txt-logo { font-size: calc(var(--tera-font-scale) * 4.5rem); font-family: 'magallanes'; font-weight: 500; display: inline-block;}
.txt-logo p {margin: -20px 0 0 10px;}
.txt-logo img { width: 316px; margin-top: -156px; margin-left: 169px;}
.txt-logo-background p { width: 60%; font-size: calc(var(--tera-font-scale) * 4rem); font-family: 'magallanes'; font-weight: normal; margin-left: 10px; margin-top: 16px; line-height: 1.47; letter-spacing: -0.4px;}
.question1 { display: flex; align-items: center; justify-content: flex-start;}
.question1 h2 { width: 41%; text-align: left; margin: 0; font-family: 'magallanes'; font-weight: 800; text-transform: uppercase; font-size: calc(var(--tera-font-scale) * 12.4rem); color: #ffe721; margin-top: 0; line-height: 118px; letter-spacing: -2px;}
.question1 { width: 100%; display: flex; gap: 10px;}
.smiles label { display: flex; flex-direction: column; align-items: center; gap: 6px;}
.smiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.smiles label img {width: 245px;}
input[type="radio"] { appearance: none; -webkit-appearance: none; background: #fff; border-radius: 30%; width: 35px; height: 35px; cursor: pointer; position: relative;}

/* style of the check when it is already activated */
input[type="radio"]:checked::before { content: ''; display: block; width: 20px; height: 20px; background: #ec6222; border-radius: 50%; position: absolute; top: 8px; left: 8px;}
.question2 p {font-size: calc(var(--tera-font-scale) * 4.3rem); margin: 0;}
.question2 { font-family: 'magallanes'; font-weight: 500; border: 13px solid #fff; border-radius: 30px; padding: 30px 45px 42px;}
.question2-labels { display: flex; flex-direction: column; gap: 10px;}
.question2-labels>div { display: flex; gap: 20px; margin-top: 10px;}
.question2 label { font-size: calc(var(--tera-font-scale) * 3rem); display: flex; align-items: center; gap: 10px; margin-bottom: 0;}
.yellow { background: #f3a616; margin-top: 50px;}
.green { background: #00923a; margin-top: 40px;}
.green p { margin-bottom: 35px;}
.red { background: #e13544; margin-top: 40px; padding: 30px 0 42px 45px;}
.red p { margin-bottom: 43px;}
.blue { background: #0b2f6d; margin-top: 40px;}
.blue p { margin-bottom: 20px;}
.blue textarea {width: 100%; height: 160px; resize: none; font-size: calc(var(--tera-font-scale) * 2rem); font-family: 'magallanes'; box-sizing: border-box; padding: 10px 8px;}
.giveaway { margin-top: 40px; background: #f4ecdf; padding: 40px 55px; border-radius: 30px;}
.giveaway h2 { font-family: 'magallanes'; font-weight: 800; font-size: calc(var(--tera-font-scale) * 4rem); margin: 0 0 15px; color: #df5615; }
.giveaway input[type="text"],
.giveaway input[type="email"],
.giveaway input[type="tel"] { font-size: calc(var(--tera-font-scale) * 3rem); font-family: 'magallanes'; width: 100%; height: 41px; border: 1px solid #c0c0c0; border-radius: 5px;}
.giveaway .questions p { font-family: 'magallanes'; font-weight: 800; font-size: calc(var(--tera-font-scale) * 2.4rem); text-transform: uppercase; color: #000;  margin: 0;}
.giveaway .questions strong {color: #df5615;}
.giveaway-questions-div {display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 20px;}
.giveaway .terms { margin: 30px auto 0; display: block; font-family: 'magallanes'; font-weight: 800; color: #000; font-size: calc(var(--tera-font-scale) * 2rem);}
.giveaway .terms a{ color: inherit;}
.giveaway input[type="checkbox"] { vertical-align: bottom; margin: 0 15px 0 0;  width: 25px; height: 25px;}
.giveaway label {}
.giveaway .theButton{ display: block; margin: 30px auto 0; color: #fff; width: 258px; height: 50px; text-transform: uppercase; background-color: #DF5615; border-radius: 5px; font-family: 'magallanes'; font-weight: 800; line-height: 50px; text-align: center; font-size: calc(var(--tera-font-scale) * 2.2rem); border: none; cursor: pointer;}

.social-media { height: 110px; display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 73px; background-color: #1f3370; width: 100%;}
.social-media img {width: 60px;}
.social-media p{ font-family: 'magallanes'; font-weight: 500; font-size: calc(var(--tera-font-scale) * 4.4rem);}
.social-media p a{ color: inherit; text-decoration: none;}
.social-media p, .social-media img {margin: 20px 0 0 0;}

.divMessage{ margin:20px auto 0; padding:4px 10px; display:none; color:#fff;}
.divMessage.error{ background:#A20002;}
.divMessage.success{ background:#157522;}
.redBorder{ border-color: #cf0000 !important;}

/* small desktop */
@media screen and (min-width:0px) and (max-width:1447px){
	body{ min-width: 1280px;}
	.contentCenter, .healthful-halloween{ width: 1200px;}
	
	:root { --tera-font-scale: 0.8;}
	
	.txt-logo-background{ background-size: 100% auto; background-position: right 50px;}
}

/* tablet */
@media screen and (min-width:0px) and (max-width:1279px){
	body{ min-width: 810px;}
	.contentCenter, .healthful-halloween { width: 780px;}
	
	:root { --tera-font-scale: 0.6; }
	
	.giveaway, .red, .blue, .green, .yellow{ padding: 30px;}
	.giveaway .terms { font-size: calc(var(--tera-font-scale) * 2.4rem);}
	
	.question2 p br{ display: none;}
	
	.txt-logo-background h1{ line-height: 1;}
	.txt-logo img { width: 256px; margin-top: -106px; margin-left: 109px;}
	.txt-logo-background { background-position: right 110px;}
	.question1{ display: block; margin: 0 0 60px;}
	.question1 h2{line-height: 1; text-align: center; margin: 80px 0 40px; width: 100%;}
	.smiles{ width: 680px; margin: 0 auto;}
	.smiles label img { width: 200px;}
	.giveaway .terms { font-size: calc(var(--tera-font-scale) * 2.2rem);}
	.social-media img { width: 40px;}
	
	.question2-labels > div { display: flex; gap: 20px; margin-top: 10px; flex-direction: column;}
	.question2-labels > div br{ display: none;}
}

/* phone */
@media screen and (min-width:0px) and (max-width:809px){
	body{ min-width: 375px;}
	.contentCenter, .healthful-halloween{ width: 345px;}
	.img-top, .img-right{ display: none;}
	
	.txt-logo-background h1 { font-size: calc(var(--tera-font-scale) * 8rem); margin: 178px 0 260px; text-align: center;}
	.txt-logo img { width: 146px;}
	.txt-logo-background p { text-align: center; width: 100%;  margin-left: 0; margin-top: 10px; }
	.txt-logo-background p br{ display: none;}
	.question1 h2 { font-size: calc(var(--tera-font-scale) * 6rem);}
	
	
	.smiles { width: 100%;}
	 .smiles label img { width: 100px;  }
	.question2 label{ display: block;}
	input[type="radio"] { width: 30px; height: 30px; vertical-align: bottom; margin: 0 5px 0 0;}
	.yellow p, .green p, .red p, .blue p{ margin-bottom: 30px;}
	.giveaway-questions-div { grid-template-columns: none;}
	.question2 p { font-size: calc(var(--tera-font-scale) * 3.5rem);}
	.txt-logo-background { background-position: calc(50% - 90px) 40px;}
	
	.txt-logo img { width: 146px;  margin: 0 auto; display: block;}
	.txt-logo { margin: 0 auto;  display: block;}
	
	input[type="radio"]:checked::before { width: 16px; height: 16px; top: 7.5px; left: 7px;}
	
	.blue textarea { font-size: calc(var(--tera-font-scale) * 3rem);}
	
	
	
	
	
	
}