/*
Theme Name: Taxiclass
Theme URI: taxiclass.is
Version: 1.0
Author: Sara Thorhalls
Author URI: sarath.is
*/
* {
	font-family: sans-serif;	
}

html, body {
	padding: 0;
	margin: 0;
	border: 0;
	--primary-bg-color: #fcf6e8;
	--secondary-bg-color: #d1c7af;
	--tertiary-bg-color: #f5f6fa;
	--text-color: #020202;
	--selected-color: #a71616;
	--text-hover: #af4646;
	background-color: var(--primary-bg-color);
	min-height: 100vh;
	min-height: 100svh;
	font-size: 16px;
	overflow-x: hidden;
}

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

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

ol, ul {
	list-style-type: none;
}

.header-left {
	display: flex;
	margin: 5px 0 5px 8rem;
}

.header-left img {
	max-height: 5rem;
	margin: 0;
	padding: 10px;
}
@media screen and (min-width: 601px) {
	.header-right input {
		display: none;
	}
}

.header-right nav ol {
	flex-wrap: nowrap;
	background-color: var(--secondary-bg-color);
	border-radius: 20px 0 0 20px;
	padding: 0.6rem 1rem;
	margin: 0;
}

.header-right li {
	display: inline-block;
	padding: 0 2rem;
	font-size: 1.5rem;
	font-weight: 500;
}

 a,  a:link,  a:visited {
	text-decoration: none;
	color: var(--text-color);
}

#selected-nav a, #selected-nav a:link, #selected-nav a:visited{
	color: var(--selected-color);
}

a:hover {
	color: var(--text-hover);
}

.separator {
	background-color: var(--secondary-bg-color);
	/* display: inline-block; */
	height: 2px;
	width: 98vw;
	margin: 0.5rem 1vw;
}

.main-section {
	margin: 1.5rem 0 2rem 0; 
	display: flex;
	height: 65vh;
	justify-content: space-between;
}

.main-text {
	margin:0;
	padding: 0 1vw;
	background-color: #e1f2eb44;
	flex: 4 4 35vw;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.main-text h2 {
	text-align: right;
	font-size: 5rem;
	font-family: "Pinyon Script", cursive;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	padding: 0 1.2rem 0 0;
	margin: 0;
}

.main-text h3 {
	font-size: 1.5rem;
	font-weight: 500;
	margin: -0.6rem 0 2rem 0;
}

.main-text p {
	font-size: 1.5rem;
	font-weight: 400;
	text-align: center;
	margin: 2rem 0;
}

.main-text a {
	font-size: 2rem;
	margin: 3rem;
	text-align: center;
}

.main-section .main-image-1 {
	flex: 5 5 45vw;
	background-image: url("http://taxiclass.is/wp-content/uploads/2026/07/magga-car-scaled.jpg");
	background-size: cover;
	border-radius: 0 20px 20px 0;
}

.main-section .main-image-2 {
	flex: 2 2 20vw;
	background-image: url("http://taxiclass.is/wp-content/uploads/2026/07/magga-car-scaled.jpg");
	background-size: cover;
	border-radius: 20px 0 0 20px;

}

.contact-us h3, .contact-us a {
	font-size: 1.5rem;
	padding-left: 6rem;
}

.contact-us-form {
	margin: 1rem 6rem;
}

.services-section h2, .contact-us h2 {
	font-size: 5rem;
	font-family: "Pinyon Script", cursive;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	margin: 0 0 0 4vw;
	
}

.our-services {
	display: inline-flex;
	justify-content: space-around;
	width: 100%;
	/* flex-wrap: wrap; */
	padding: 0;
}

.our-services li {
	background-color: var(--tertiary-bg-color);
	border-radius: 40px;
}

.our-services li div > * {
	padding: 8px;	
}

.our-services li div {
	width: 25vw;
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	/* margin: 4px; */
}

.our-services li div ul {
	display: flex;
	flex-wrap: wrap;
} 

.our-services img {
	padding: 0 !important;
	flex-grow: 2;
	width: auto;
	border-radius: 40px;
}

.bottom-banner {
	margin: 5px 10px 30px 10px;
	background-color: var(--secondary-bg-color);
	border-radius: 20px;
}

.bottom-banner ul {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	padding: 0 20px;
	container-type: inline-size;
	align-items: center;
	margin: 0;
}

.bottom-banner li {
	font-size: 1.5cqw; 
	display: inline-block;
	padding: 0.2rem;
}

.bottom-banner .list-dot {
	width: 1.5cqw;
	height: 1.5cqw;
}

.bottom-banner .list-dot figure {
	display: block;
	background: #000000;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	margin: 0;
}

footer {
	background-color: var(--secondary-bg-color);
	margin-top: auto;
}

footer img {
	max-height: 5rem;
	padding: 1rem;
}

footer ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0.5rem 2rem;
}

footer li {
	align-items: center;
	display: flex;
	padding: 1rem;
}

footer a {
	text-decoration: none;
}

footer h2, footer h3 {
	/* color: var(--text-color); */
}

footer li div {
	display: inline-block;
}

@media screen and (max-width: 600px) {
	html {
		font-size: 11px;
	}

	.header-left {
		margin: 1rem;
	}

	.header-right {
/*TODO*/
	}

	.main-section {
		flex-direction: column;
		height: 120vh;
	}

	.main-section .main-text {
		flex: 2 2 70vh;
		padding: 1rem 0.5rem;
	}

	.main-section .main-image-1 {
		flex: 1 1 20%;
	}

	.main-section .main-image-2 {
		flex: 2 2 100%;
	}

	.bottom-banner ul {
		flex-direction: column;
	}

	.bottom-banner li {
		font-size: 1.5cqh;
	}

	.our-services {
		flex-direction: column;
		padding: 0 5vw 5vh 5vw;
		width: 90vw;
	}

	.our-services li {
		margin: 2rem 0;
	}

	.our-services li div {
		width: 100%;
	} 

	.our-services img {
		padding: 8px;
	}

	/* mobile navigation */
	#menu-toggle {
	  display: flex;
	  flex-direction: column;
	  position: relative;
	  /* top: 25px; */
	  right: 25px;
	  z-index: 1;
	  -webkit-user-select: none;
	  user-select: none;
	}

	#menu-toggle input
	{
	  display: flex;
	  width: 40px;
	  height: 32px;
	  position: absolute;
	  cursor: pointer;
	  opacity: 0;
	  z-index: 2;
	}

	#menu-toggle span
	{
	  display: flex;
	  width: 29px;
	  height: 2px;
	  margin-bottom: 5px;
	  position: relative;
	  background: #000000;
	  border-radius: 3px;
	  z-index: 1;
	  transform-origin: 5px 0px;
	  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
				  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
				  opacity 0.55s ease;
	}

	#menu-toggle span:first-child
	{
	  transform-origin: 0% 0%;
	}

	#menu-toggle span:nth-last-child(2)
	{
	  transform-origin: 0% 100%;
	}

	#menu-toggle input:checked ~ span
	{
	  opacity: 1;
	  transform: rotate(45deg) translate(-3px, -1px);
	  background: #36383F;
	}
	#menu-toggle input:checked ~ span:nth-last-child(3)
	{
	  opacity: 0;
	  transform: rotate(0deg) scale(0.2, 0.2);
	}

	#menu-toggle input:checked ~ span:nth-last-child(2)
	{
	  transform: rotate(-45deg) translate(0, -1px);
	}

	#menu
	{
	  position: absolute;
	  width: 50vw;
		right: -30px;
	  height: 100vh;
	  box-shadow: 0 0 10px #85888C;
	  margin: -50px 0 0 -50px;
	  padding: 75px 50px 50px 50px;
	  background-color: var(--tertiary-bg-color);
	  -webkit-font-smoothing: antialiased;
	  transform-origin: 0% 0%;
	  transform: translate(100%, 0);
	  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
	}

	#menu li
	{
	  padding: 20px 0;
		display: block;
		font-size: 2rem;
	  transition-delay: 2s;
	}

	#menu-toggle input:checked ~ ol
	{
	  transform: none;
	}
}
