@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500&family=Roboto:wght@100;300;400;700&display=swap');

:root {
	--primary-color: #070111;
	--secondary-color: #009ac8;
	--bg-color: #ffffff;
	--button-color: #2c2c30;
	--h1-color: #3b3843;
  }
  
  * {
	margin: 0;
	box-sizing: border-box;
	transition: all 0.3s ease-in-out;
  }

  .right-col a {
    text-decoration: none;
  }

  .right-col a p:hover {
		color: rgb(0, 0, 0);
  }	
  
  .contact-container {
	display: flex;
	width: 100vw;
	height: 100vh;
	background: var(--bg-color);
  }
  
  .left-col {
	width: 45vw;
	height: 100%;
	background-color: #2c2c30;
	background-image: url("./portada.jpg?auto=compress&cs=tinysrgb&dpr=2&w=500");
	background-size: cover;
	background-repeat: no-repeat;
  }
  
  .contact-container {
		justify-content: center;
	align-items: center;
  }
  .right-col {
	margin:auto;
	background: var(--bg-color);
	width: 50vw;
	height: 100vh;
	padding: 5rem 3.5rem;
  }

   
  .logo {
	width: 10rem;
	padding: 1.5rem;
  }
  
  h1, label, button, .description {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	letter-spacing: 0.1rem;
  }
  
  h1 {
	color:var(--h1-color);
	text-transform: uppercase;
	font-size: 2.5rem;
	letter-spacing: 0.3rem;
	line-height: 2rem;
	font-weight: 300;
  }
  
  p {
	color: var(--secondary-color);
	font-size: 1rem;
	letter-spacing: 0.01rem;
	line-height: 2rem;
	width: 40vw;
	margin: 0.25rem 0;
  }
  
  label, .description {
	color: var(--secondary-color);
	text-transform: uppercase;
	font-size: 0.625rem;
  }
  
  form {
	width: 31.25rem;
	position: relative;
	margin-top: 2rem;
	padding: 1rem 0;
  }
  
  input, textarea, label {
	width: 40vw;
	display: block;
  }
  
  p, placeholder, input, textarea {
	font-family: 'Helvetica Neue', sans-serif;
  }
  
  input::placeholder, textarea::placeholder {
	color: var(--primary-color);
  }
  
  input, textarea {
	color: var(--primary-color);
	font-weight: 500;
	background: var(--bg-color);
	border: none;
	border-bottom: 1px solid var(--secondary-color);
	padding: 0.5rem 0;
	margin-bottom: 1rem;
	outline: none;
  }
  
  textarea {
	resize: none;
  }
  
  button {
	text-transform: uppercase;
	font-weight: 300;
	background: var(--button-color);
	color: var(--bg-color);
	width: 10rem;
	height: 2.25rem;
	border: none;
	border-radius: 2px;
	outline: none;
	cursor: pointer;
  }
  
  input:hover, textarea:hover, button:hover {
	opacity: 0.5;
  }
  
  button:active {
	opacity: 0.8;
  }
  
  .compartir {
	font-size: 26px;
  }

  .compartir b{
	color: #2a81ac;
  }

  /* Toggle Switch */
  
  
  .description {
	  margin-left: 1.25rem;
	}
  
  #error, #success-msg {
	width: 40vw;
	margin: 0.125rem 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	font-family: 'Jost';
	color: var(--secondary-color);
	}
  
  
	#success-msg {
	transition-delay: 3s;
	}
  
/*@media (max-width: 900px), handheld and (orientation: portrait) {*/
  @media only screen and (max-width: 950px)  {
			.logo {
			width: 8rem;
			}
			h1 {
			font-size: 1.50rem;
			}
			p {
			font-size: 0.7rem;
			}
			input, textarea, button {
			font-size: 0.65rem;
			}
			.description {
			font-size: 0.3rem;
			margin-left: 0.4rem;
			}
			button {
			width: 7rem;
			}

  }

  @media (orientation:portrait) {
	.left-col {
		width: 0vw;
	  }	
	.right-col {
		background: var(--bg-color);
		width:100vw !important;
		height: 100vh;
		padding: 1rem 1rem;
	}
	p {
		font-size: 0.7rem;
		width: 80vw;
		}
  } 