
@font-face {
	font-family: 'Font-Awesome';
	src: url("/fonts/FontAwesome.ttf");
}
@font-face {
	font-family: 'Font-Awesome';
	src: url("/fonts/FontAwesome.woff");
}
@font-face {
	font-family: 'Font-Awesome';
	src: url("/fonts/FontAwesome.woff2");
}
@font-face {
	font-family: 'Geometria-Bold';
	src: url("/fonts/Geometria-Bold.ttf");
}
@font-face {
	font-family: 'Geometria-BoldItalic';
	src: url("../fonts/Geometria-BoldItalic.ttf");
}
@font-face {
	font-family: 'Geometria-ExtraBold';
	src: url("../fonts/Geometria-ExtraBold.ttf");
}
@font-face {
	font-family: 'Geometria-ExtraBoldItalic';
	src: url("/fonts/Geometria-ExtraBoldItalic.ttf");
}
@font-face {
	font-family: 'Geometria-ExtraLight';
	src: url("../fonts/Geometria-ExtraLight.ttf");
}
@font-face {
	font-family: 'Geometria-ExtraLightItalic';
	src: url("../fonts/Geometria-ExtraLightItalic.ttf");
}
@font-face {
	font-family: 'Geometria-Heavy';
	src: url("../fonts/Geometria-Heavy.ttf");
}
@font-face {
	font-family: 'Geometria-HeavyItalic';
	src: url("../fonts/Geometria-HeavyItalic.ttf");
}
@font-face {
	font-family: 'Geometria-Italic';
	src: url("../fonts/Geometria-Italic.ttf");
}
@font-face {
	font-family: 'Geometria-Light';
	src: url("../fonts/Geometria-Light.ttf");
}
@font-face {
	font-family: 'Geometria-LightItalic';
	src: url("../fonts/Geometria-LightItalic.ttf");
}
@font-face {
	font-family: 'Geometria-Medium';
	src: url("../fonts/Geometria-Medium.ttf");
}
@font-face {
	font-family: 'Geometria-MediumItalic';
	src: url("../fonts/Geometria-MediumItalic.ttf");
}
@font-face {
	font-family: 'Geometria-Thin';
	src: url("../fonts/Geometria-Thin.ttf");
}
@font-face {
	font-family: 'Geometria-ThinItalic';
	src: url("../fonts/Geometria-ThinItalic.ttf");
}
@font-face {
	font-family: 'Geometria';
	src: url("../fonts/Geometria.ttf");
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background: #fff;
	color: #000;
}

h1 {
	font-size: 48px;
	font-weight: 900;
	margin-bottom: 40px;
}

h2 {
	font-size: 32px;
	font-weight: 900;
	margin-top: 60px;
	margin-bottom: 10px;
}

/* .basicInput {
	width:95%;
} */

.logo {
	float: right;
	width: 100px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 5px;
	font-family:Geometria-Bold;
}

.form-group input {
	width: 95%;
	padding: 14px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 10px;
	background: #fafafa;
	font-family:Geometria;
}

.diagnostics {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 30px;
}

.category {
	flex: 1;
	min-width: 250px;
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 12px;
	background: #f9f9f9;
}

.category h3 {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
	font-family:Geometria-Bold;
}

.checkbox-group {
	margin-bottom: 12px;
	font-family:Geometria;
}

.checkbox-group input[type="checkbox"] {
	margin-right: 8px;
}

.btn-submit {
	margin-top: 40px;
	padding: 14px 32px;
	font-size: 18px;
	font-weight: bold;
	background-color: #999;
	color: white;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	margin-left: 10%;
	font-family: Geometria;
}

footer {
	text-align: center;
	margin-top: 50px;
}

footer .logo-footer {
	width: 300px;
	margin-bottom: 10px;
}

footer p {
	font-weight: bold;
	color: #f15b2a;
}

@media (max-width: 768px) {
	h1 {
		font-size: 32px;
	}

	.diagnostics {
		flex-direction: column;
	}
}


.custom-checkbox {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin: 8px 0;
	font-size: 16px;
	position: relative;
	/* padding-left: 30px; */
}
/* .custom-checkbox {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin: 10px 0;
	font-size: 16px;
	justify-content: space-between;
} */

.custom-checkbox input {
	opacity: 0;
	position: absolute;
	cursor: pointer;
	height: 0;
	width: 0;
}
/* .custom-checkbox .checkmark {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	border: 2px solid;
	background-color: transparent;
	margin-left: 10px;
	position: relative;
	flex-shrink: 0;
} */
 

.custom-checkbox .checkmark {
	position: absolute;
	/* left: 0; */
	right:0;
	top: 50%;
	transform: translateY(-50%);
	height: 20px;
	width: 20px;
	background-color: transparent;
	border: 2px solid;
	border-radius: 6px;
	transition: 0.2s ease-in-out;
}

/* Цвета по категориям */
.custom-checkbox.red .checkmark {
	border-color: #d91f26;
}
.custom-checkbox.yellow .checkmark {
	border-color: #e6b519;
}
.custom-checkbox.green .checkmark {
	border-color: #2ecc40;
}

.custom-checkbox input:checked ~ .checkmark {
	background-color: currentColor;
}

.custom-checkbox.red input:checked ~ .checkmark {
	color: #d91f26;
}
.custom-checkbox.yellow input:checked ~ .checkmark {
	color: #e6b519;
}
.custom-checkbox.green input:checked ~ .checkmark {
	color: #2ecc40;
}

/* Белый кружок внутри */
.custom-checkbox .checkmark::after {
	content: "";
	position: absolute;
	display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
	display: block;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	background: white;
	border-radius: 50%;
}
.textUnder1 {
	width: 90%;
}




.prescriptionWrap {
	/* display: none; */
	
	position: absolute;
	background: white;
	top: calc(50% + 5px);
  left: calc(50% + 5px);
  transform: translate(-50%, -50%);
  max-width: calc(100vw - 10px);
  max-height: calc(100vh - 10px); 
	width: 800px;
	
	margin: 0 auto;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px;
	font-family: Geometria-Heavy;
}

.prescriptionWrap.hidden {
  display: none;
}

.prescriptionWrap.visible {
  display: inline-block;
}

.cards {
	display: flex; 
	flex-wrap: wrap; 
	justify-content: space-between;
}

.borderRed2px{
	border: 2px solid red !important;
}

@media only screen and (max-width: 767px) {
  .prescriptionWrap {
    /* padding: 20px; */
		width: 370px !important;
		border: 0px;;
  }

  .prescription {
		display:flex;
		justify-content: center;
    text-align: center;
    font-size: 35px !important;
    margin-bottom: 20px;
		margin-top: 50px;
		/* max-width: 760px; */
  }

  .cards {
    flex-direction: column;
    /* gap: 20px; */
		margin: 10px;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
  }

  .diagnosis {
    font-size: 16px;
    text-align: center;
  }

  .discount {
    font-size: 18px;
    color: #d91f26;
    text-align: center;
  }

  .email-section {
    margin: 30px;
    text-align: center;
		padding: 0px 0px 40px 0px;
  }

  .email-section input[type="email"] {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .btn-send {
    /* margin-top: 15px; */
    /* width: 100%; */
		margin: 15px 0px 0px 0px !important;
    padding: 12px;
    font-size: 16px;
  }
}


h1 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 30px;
}

.cards {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-between;
	font-family: Geometria;
}

.card {
	flex: 1;
	min-width: 100px;
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 20px;
	background: #fafafa;;
}

.card b {
	font-size: 18px;
}

.email-section {
	margin-top: 30px;
	text-align: center;
}

.email-section input {
	width: 70%;
	padding: 10px;
	margin-top: 10px;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid #aaa;
	font-family: Geometria;
	font-size: 20px;
}

.email-section button {
	margin-top: 20px;
	padding: 12px 30px;
	background-color: #999;
	color: white;
	font-size: 18px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	margin-left: 0px;
}

.email-section button:hover {
	background-color: #777;
}
.diagnosis{
	font-family: Geometria-Bold;
	font-size: 20px;
}
.discount{
	font-family: Geometria-Bold;
	font-size: 20px;
}

.prescription{
	font-family: Geometria-Heavy;
	font-size: 50px;
}

.askEmail {
	font-family: Geometria-Bold;
	font-size: 20px;
}
.required-star {
  color: red;
}

#email {
  border: 2px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
	outline: none; 
}

#email.valid {
  border-color: green;
}

#email.invalid {
  border-color: red;
}

.btn-send {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
	font-family: Geometria;
}

.btn-send.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
	font-family: Geometria;
	font-weight: bold;
}


table.thin-bordered {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ccc;
}

table.thin-bordered td, table.thin-bordered th {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  font-size: 14px;
}


.topWrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  font-family: 'Geometria-Heavy', sans-serif;
  line-height: 0.9;
  font-size: 80px;
  align-items: center;
  flex-wrap: wrap; /* добавим, чтобы на узких экранах не ломалось */
}

.topWrap .text1 {
  flex: 1 1 auto;
}

.topWrap .pillTop {
  margin-right: 20%;
  height: 100px;
  transform: rotate(-10deg);
	
}

@media only screen and (max-width: 867px) and (orientation: landscape) {
	.topWrap {
    font-size: 40px;
    text-align: left;
    gap: 20px;
		margin-top: 20px;
  }

}

@media only screen and (max-width: 960px) {
	.topWrap {
    font-size: 40px;
    text-align: left;
    gap: 20px;
		margin-top: 20px;
  }
}

@media only screen and (max-width: 720px) {
	.topWrap {
    font-size: 40px;
    text-align: left;
    gap: 20px;
		margin-top: 20px;
  }

}

@media only screen and (max-width: 767px) {
 
  .topWrap .pillTop {
    margin-right: 0;
    height: 60px;
		margin-right:60px;
		
  }
}

.midWrap {
	display: flex;
  justify-content: space-between;
	margin-top:130px;
	font-family: Geometria-Heavy;
	line-height:0.9;
	font-size:70px;
	position:relative;
	border:0px solid;
	width:max-content;
}

.midWrap .pillMid {
	position: absolute;
	top:-100px;
	left: 500px;
  margin-right: 10%;
  height: 100px;
  transform: rotate(10deg);
}

@media only screen and (max-width: 767px) {
  .midWrap {
    flex-direction: column;
    font-size: 40px;
    text-align: center;
    gap: 20px;
		text-align: left;
  }

  .midWrap .pillMid {
    margin-right: 0;
    height: 60px;
		left:210px;
		top:-70px;
  }
}

.bottomWrap {
	display:flex;
	justify-content:space-around;
	margin-top:50px;
}

.bottomPillLeft {
	border:0px solid;
	margin-left:20px;
	height:30px;
	top:20%;
	right:-50%;
	transform:rotate(10deg)
}

.bottomPillRight {
	border:0px solid;
	height:90px;
	top:20%;
	right:-50%;
	transform:rotate(-10deg);
}

.btn-send {
	width:250px; 
	margin-left:12%;
	font-family: Geometria;
}

@media only screen and (max-width: 767px) {
  .bottomWrap {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
		margin-bottom: 120px;
		position: relative;
  }
	.bottomPillLeft {
		position: absolute;
    top: -60px;
    left: 10px;
    height: 30px;
    transform: rotate(-10deg);
	}
  .bottomPillRight {
    position: absolute;
    bottom: 0;
		top: 80px;
    right: 10px;
    height: 50px;
    transform: none;
    transform: rotate(10deg);
  }

  .btn-submit {
    width: 90% !important;
    margin: 0 auto;
    font-size: 18px;
		font-family: Geometria;
  }
}
