/*!
Theme Name: Firewall
Theme URI: http://underscores.me/
Author: Firewall Srl
Author URI: https://firewallsrl.eu/
Description: Firewall WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fw
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* RESET */
*,::after,::before{box-sizing:border-box}::after,::before{text-decoration:inherit;vertical-align:inherit}html{cursor:default;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;word-break:break-word}body{margin:0}h1{font-size:2em;margin:.67em 0}dl dl,dl ol,dl ul,ol dl,ul dl{margin:0}ol ol,ol ul,ul ol,ul ul{margin:0}hr{height:0;overflow:visible}main{display:block}nav ol,nav ul{list-style:none;padding:0}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}iframe{border-style:none}img{border-style:none}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,select{margin:0}button{overflow:visible;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{border:1px solid #a0a0a0;padding:.35em .75em .625em}input{overflow:visible}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}select{text-transform:none}textarea{margin:0;overflow:auto;resize:vertical}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}details{display:block}dialog{background-color:#fff;border:solid;color:#000;display:block;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}

* a {text-decoration:none;color:unset;}
figure {margin:0;padding:0;}
* img {max-width:100%;}

:root {
  --primary:#F5993D;
  --secondary:#F5B83D;
  --gradient:linear-gradient(90deg, rgba(245,184,61,1) 0%, rgba(245,153,61,1) 100%);
  --black:#222;
  --page-padding:0 1.5rem;
  --col-gap:0.5rem;
}

/* - - - - - - - -
// ANCHOR MAIN STYLES
- - - - - - - - */
html {font-size:16px;scroll-behavior:smooth;font-family:sans-serif;}
body {margin:0px;height:100vh;background-color:#F9F9F9;}
* {font-family:sans-serif;}
h1, h2, h3, h4, h5, h6 {font-family:sans-serif;font-weight:900;text-transform:uppercase;}

.container {
  padding:var(--page-padding);
  height:100vh;
  display:flex;
  align-items:center;
  border-top:solid 8px var(--primary);
}

.post, .tema {
  width:100%;
  max-width:700px;
  margin:0 auto;
}

.site-branding,
.site-branding-tema {
  text-align:center;
  width:100%;
  font-size:0.9rem;
}

.site-branding img {
  max-width:8em;
  margin:0.5em;
}

.site-branding-tema img {
  max-width:15em;
}

.site-branding h1 {
  font-weight:900;
  font-size:1.25em;
}

.id-data {
  font-size:1.1rem;
  margin:1.5em auto;
  padding:0.7em;
  border-top:solid 1px rgba(0,0,0,0.1);
  border-bottom:solid 1px rgba(0,0,0,0.1);
}

.contact-name {
  width:100%;
  padding:0.2em;
}

.contact-name h2 {
  text-align:left;
  font-size:1.2em;
  margin:0;
  color:var(--primary);
  width:100%;
  flex-shrink:0;
  font-weight:400;
}

.contact-name h2 span {
  font-weight:900;
}

.ico-link {
  display:flex;
  align-items:center;
  width:100%;
  text-align:center;
  margin:0.4em 0;
}

.ico-link img {
  width:100%;
  height:auto;
  margin-right:0.4em;
  max-height:1.4em;
  max-width:1.4em;
}

.ico-link span {
  color:var(--black);
  font-size:1em;
}

.btn {
  background:var(--gradient);
  padding:1.4em 2.5em;
  margin:0.4em auto;
  border:none;
  box-shadow:0 0 20px 2px rgba(0,0,0,0.15);
  width:100%;
  border-radius:5px;
}

.btn a {
  text-transform:uppercase;
  font-weight:900;
  font-size:1rem;
  color:#fff;
}

.footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.75rem;
  margin-top:1.5em;
}

.footer p {margin:0;}
.footer a {font-weight:900;}
.site-name {font-size:1em;color:var(--primary);}

/* - - - - - - - -
// ANCHOR MODAL
- - - - - - - - */
.overlay{
  height: 100vh;
  width: 100%;
  position: fixed;
  top:0;
  left: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s; 
  font-size:0.9rem;
  background:var(--gradient);
}

.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
}

.overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  padding:3em;
  width: calc(100% - 2em);
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.2);
  display: table;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.25);
  transition: all .4s .2s;
  background-color:#FFF;
  border-radius:15px;
}

.overlay:target {
  opacity: 1;
  visibility: visible;
}

.overlay:target .overlay__content {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* MODAL CONTENT */
.overlay .site-branding img {max-width:5em;margin-top:-0.5em;}

.overlay .site-branding-tema img {max-width:10em;margin-top:-0.5em;}

.company-info {
  text-align:center;
  margin:1.2em 0;
}

.company-info p {margin:0.8em auto;line-height:1em;}
.company-info p span {font-weight:bolder;color:var(--primary);}

.company-qr {
  width: 90%;
  margin:0 auto;
  margin-top: 30px;
  max-width: 400px;
  display:flex;
  align-items:center;
  justify-content:center;
}