@font-face {
	font-family: Oswald;
	src: url(/style/fonts/Oswald-Regular.ttf);
}

@font-face {
	font-family: Oswald Light;
	src: url(/style/fonts/Oswald-Light.ttf);
}

@font-face {
	font-family: Oswald Bold;
	src: url(/style/fonts/Oswald-Bold.ttf);
}

:root {
	--screen-width: calc(100vw - calc(100vw - 100%));
}

* {
	box-sizing: border-box;
	font-family: Oswald Light;
}

body {
	margin: 0;
}

p {
	font-size: 20px;
}

hr {
	border: 0;
	border-bottom: 1px #ccc solid;
}

.viewport {
	display: table;
	margin: 0 auto;
	width: var(--screen-width);
	max-width: 1002px;
}

.detach {
	color: #d22d2b;
	font-weight: bold;
	background-color: #fedb41;
}

.whatsapp-button {
	display: table;
    background-color: #32bf38;
    color: #fff;
    text-decoration: none;
    padding: 12px 15px 12px 60px;
    border-radius: 30px;
    font-size: 20px;
    background-image: url(https://www.doctorinformatica.com.br/images/icons/whatsapp.svg);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center left 15px;
}

#header {
	display: table;
	width: var(--screen-width);
	background-color: #d22d2b;
	border-bottom: 2px #ccc solid;
	height: 80px;
}

	#header > .viewport {
		height: 100%;
	}

	#logo {
		margin: 0 0 0 15px;
		float: left;
		cursor: default;
		width: 40%;
		max-width: 230px;
		height: 100%;
		background-image: url(https://www.doctorinformatica.com.br/images/logotipos/logotipo-branco-300.png);
		background-repeat: no-repeat;
		background-size: 90%;
		background-position: center;
	}
	
	#questions {
		font-family: Oswald;
		color: #2e2a6b;
		margin: 10px 15px;
		padding: 10px 30px;
		font-size: 24px;
		text-transform: uppercase;
		background-color: #fedb41;
		float: right;
		cursor: default;
		text-decoration: none;
		transition: all ease-in-out .15s;
	}
	
		#questions:hover {
			background-color: #fff;
			color: #d22d2b;
		}
		
#intro {
	display: table;
	position: relative;
	border-bottom: 1px #ccc solid;
	cursor: default;
}

	#intro > div.column {
		width: calc(50% - 30px);
		min-width: 420px;
		margin: 20px 15px;
		position: relative;
		float: left;
	}
	
	#topic {
		font-family: Oswald Bold;
		font-size: 20px;
		text-transform: uppercase;
		color: #777;
	}
	
	#title {
		font-family: Oswald;
		margin: 7px 0;
		font-size: 42px;
		line-height: 50px;
	}
	
	#subtitle {
		font-size: 22px;
		line-height: 30px;
	}
	
	#author {
		margin-top: 10px;
		font-size: 18px;
	}
	
	#date {
		margin-bottom: 10px;
		font-size: 16px;
		color: #777;
	}
	
	#social {
		display: table;
		font-size: 18px;
		color: #777;
	}
	
		#social > a {
			display: block;
			width: 30px;
			height: 30px;
			margin-right: 15px;
			background-repeat: no-repeat;
			background-size: 24px;
			background-position: center left;
			float: left;
		}
		
		#social > span {
			float: left;
		}
	
		#facebook {
			background-size: 21px !important;
			background-image: url(https://www.doctorinformatica.com.br/images/icons/facebook.svg);
		}
		
		#instagram {
			background-size: 21px !important;
			background-image: url(https://www.doctorinformatica.com.br/images/icons/instagram.svg);
		}
		
		#twitter {
			background-image: url(https://www.doctorinformatica.com.br/images/icons/twitter.svg);
		}
		
		#whatsapp {
			background-image: url(https://www.doctorinformatica.com.br/images/icons/whatsapp.svg);
		}
		
		#email {
			background-image: url(https://www.doctorinformatica.com.br/images/icons/email.svg);
		}
		
	#photo {
		width: 100%;
		height: 50vw;
		max-height: 320px;
		background-color: #efefef;
		background-size: cover;
		background-position: center;
	}
	
	#photo-legend {
		margin-top: 5px;
		font-size: 16px;
		color: #777;
	}
	
#content {
	width: 600px;
	margin: 0 auto;
}

	#content img {
		border: 1px #dfdfdf solid;
	}

	#content .img-title {
		width: 100%;
		background-color: #dfdfdf;
		padding: 3px 7px;
		display: block;
		font-size: 16px;
		font-family: 'Oswald';
		color: #333;
		cursor: default;
	}
	
#content-extra {
	position: relative;
	width: 600px;
	margin: 0 auto;
	overflow: hidden;
	height: 220px;
}

	#read-more {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: linear-gradient(to bottom, transparent, #fff 99%);
	}
	
	#read-more > button {
		font-family: Oswald;
		color: #2e2a6b;
		margin: 150px auto;
		padding: 7px 14px;
		font-size: 24px;
		background-color: #fedb41;
		cursor: default;
		transition: all ease-in-out .15s;
		border: 0;
		display: block;
	}
	
		#read-more > button:hover {
			background-color: #d22d2b;
			color: #fff;
		}
		
		#read-more > button:active {
			background-color: #af1816;
		}
		
/* || RODAPÉ */

.mobile-only {
	display: none;
}

.form-field {
	display: flex;
    background-color: rgba(0, 0, 0, .3);
    box-sizing: border-box;
    border-bottom: 1px #ccc solid;
    transition: all ease-in-out .2s;
	width: calc(100% - 40px);
	margin: 15px 0 0 20px;
	padding: 7px 10px;
}

	.form-field > label {
		color: #ccc;
		white-space: nowrap;
		transition: all ease-in-out .2s;
		font-size: 1.3vw;
		margin-right: .7vw;
	}
	
	.form-field > input, .form-field > textarea {
		width: 100%;
		border: 0;
		background-color: transparent;
		outline: none;
		color: #fff;
		resize: vertical;
		font-size: 1.3vw;
	}
	
.form-field.focused {
	background-color: rgba(255, 252, 162, .3);
	border-color: #FFEB3B;
}

	.form-field.focused > label {
		color: #FFEB3B;
	}
		
#contact {
	position: relative;
	color: #fff;
	background-color: #2e2a6b;
	width: var(--screen-width);
	margin-top: 70px;
}
		
#contact-content {
	display: table;
	margin: 0 auto;
    width: 100%;
    max-width: 1002px;
	padding: 1vw 2vw;
}

	#contact-content > div {
		float: left;
		width: 50%;
	}
	
	#contact-content .form-field {
		margin: 15px 0 0 0;
	}
	
#contact-mensagem-container {
	flex-direction: column;
	text-align: left;
}
	
	#contact-content .form-field {
		background-color: #fff;
		border-color: #a7a7a9;
	}
	
		#contact-content .form-field > label {
			color: #a7a7a9;
		}
		
	#contact-content .form-field.focused {
		background-color: #fffacf;
		border-color: #d22d2b;
	}
	
		#contact-content .form-field.focused > label {
			color: #d22d2b;
		}
		
	#contact-content .form-field > input, #contact-content .form-field > textarea {
		color: #000;
	}
	
	#contact-content .form-submission-authorization {
		text-align: left;
		margin-top: 15px;
	}

		#contact-content .form-submission-authorization a {
			color: #ffeb3b;
		}
		
#contact-send {
	display: block;
	background-color: #d22d2b;
	border: 0;
	color: #fff;
	margin-top: 15px;
	padding: .5vw 1vw;
	font-size: 1.5vw;
}

	#contact-send:hover {
		background-color: #e63d3b;
	}
	
	#contact-send:active {
		background-color: #bf1c1a;
		color: #ccc;
	}
	
#contact-map {
	background-color: #ededee;
	border: 0;
	width: 35vw;
	height: 22vw;
}
	
@media screen and (max-width: 900px) {
	#intro > div.column {
		width: calc(var(--screen-width) - 30px);
		min-width: 0;
	}
	
	/* || RODAPÉ */
	
	br.mobile-only {
		line-height: 0;
	}
	
	.form-field {
		width: calc(100% - 20px);
		margin: 15px 0 0 20px;
		padding: 7px 10px;
	}

		.form-field > label {
			margin-right: 10px;
			font-size: 20px;
		}
		
		.form-field > input, .form-field > textarea {
			font-size: 20px;
		}
	
	div#contact-content {
		margin-top: 0;
		border-top: 0;
		padding: 0;
	}
	
		#contact-content > div {
			float: none;
			width: 100%;
		}
	
		div#contact-content h2 {
			font-weight: bold;
			margin: 15px 0;
		}
		
	#contact-form {
		padding: 0 10px;
	}
	
	#contact-content .form-submission-authorization {
		display: block;
		width: 90vw;
		margin: 0 auto;
		margin-top: 20px;
	}
	
	
		#contact-content .form-submission-authorization label {
			line-height: 18px;
		}
		
	#contact-send {
		display: block;
		margin: 0 auto;
		margin-top: 20px;
		font-size: 20px;
		padding: 10px 15px;
	}
	
	#contact-info {
		margin-top: 30px;
		padding: 0 0 20px 0;
	}
	
		#contact-info > * {
			padding: 0 10px;
		}
		
	#contact-map {
		padding: 0;
		width: var(--screen-width);
		height: 100vw;
	}
}

@media screen and (max-width: 640px) {
	#content {
		width: var(--screen-width);
		padding: 0 10px;
	}
	
	#content-extra {
		width: var(--screen-width);
		margin: 0 10px;
	}
}

@media screen and (max-width: 480px) {
	#header {
		height: 21vw;
	}
	
	p {
		font-size: 5.6vw;
	}
	
	#logo {
		font-size: 6.2vw;
	}
	
	#questions {
		font-size: 5vw;
	}
	
	#topic {
		font-size: 4.2vw;
	}
	
	#title {
		font-size: 8.7vw;
		line-height: 10.4vw;
	}
	
	#subtitle {
		font-size: 4.6vw;
		line-height: 6.2vw;
	}
	
	#author {
		font-size: 3.7vw;
	}
	
	#date {
		font-size: 3.3vw;
	}
	
	#social {
		font-size: 3.7vw;
	}
	
	#photo-legend {
		font-size: 3.3vw;
	}
	
	#content .img-title {
		font-size: 3.7vw;
	}
}