@CHARSET "ISO-8859-1";
/* Reset CSS
 * --------------------------------------- */
 
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
	padding: 0;
	margin: 0;
}

a {
	transition: all .3s;
}

table {
	border-spacing: 0;
}

fieldset,img {
	border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var {
	font-weight: normal;
	font-style: normal;
}

strong {
	font-weight: bold;
}

caption,th {
	text-align: left;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: 100%;
	margin:0;
	padding:0;
}

q:before,q:after {
	content:'';
}

abbr,acronym {
	border: 0;
}

* {
	box-sizing:border-box;
	outline: 0;
}

ul{
    list-style: none;
}

/* == disabilita colorazione diversa dei link autogenerati da Apple ===================================== */

a[x-apple-data-detectors] {
	color: inherit !important;
	text-decoration: none !important;
	font-size: inherit !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

/* per abbassare sotto la soglia il Cumulative Layout Shift dovuto al download del google font*/
@font-face {
    font-family: "Montserrat-fallback";
    size-adjust: 113.39999999999998%;
    ascent-override: 82%;
    src: local("Arial");
}



:root{

	--text: #f5f5f5; /*testo e icone */
	--mainbg: #252d38; /*sfondo navbar */
	--highl: #1DA47C; /*link ed evidenziazioni */

} /* variables*/

a:focus-visible, button:focus-visible, p:focus-visible {

	outline: 2px solid crimson;

} 

/* Custom CSS
 * --------------------------------------- */

html{
	width: 100%;
	min-height: 100vh;
	scroll-behavior: smooth; 
	-webkit-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
	width: 100%;
	min-height: 100vh;
	font-size: 100%;
/*	font-family: 'Montserrat', sans-serif; */
	font-family: 'Montserrat','Montserrat-fallback', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;	
	overflow-x: hidden;
	overflow-y: scroll;
	color: var(--text);
	background-color: #000;
	background: rgb(16,17,22);
	background: -moz-linear-gradient(312deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
	background: -webkit-linear-gradient(312deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
	background: linear-gradient(312deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
	position: relative;
}

body, div {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

a {
	color: var(--highl);
}

.header{
	background-color: var(--mainbg);
	min-height: 96px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.header div {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.logo{
	display: inline-block;
	color: var(--text);
	font-size: 56px;
	margin-left: 10px;
	font-family: "Zen Dots", sans-serif;
	font-weight: 400;
	text-decoration: none;
	padding: 0.4rem 0;
	margin-top: 0.4rem;
}

.logo span {
	color: var(--highl);
}

/* Nav menu */
.nav{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 96px;
	background-color: var(--mainbg);
	overflow: hidden;
	z-index: 1000;
	max-height: 0;
	transition: max-height .5s ease-out;
}


.menu a, .menu li.subnav p {
	display: block;
	padding: 30px 30px;
	color: var(--text);
	text-decoration: none;
}



.menu a:hover, .menu li.subnav:hover p {
	background-color: var(--highl);
}

.hamb{
	cursor: pointer;
	float: right;
	padding: 45px 32px;
}
.hamb-line {
	background: var(--text);
	display: block;
	height: 4px;
	position: relative;
	width: 24px;

}
.hamb-line::before,
.hamb-line::after{
	background: var(--text);
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}
.hamb-line::before{
	top: 8px;
}
.hamb-line::after{
	top: -8px;
}
.side-menu {
/*	display: none; */
display: block;
position: fixed;
top: 0;
right: 0;
width: 1px;
height: 1px;

}

.side-menu {
	background: transparent;
}

.side-menu:checked ~ nav{
	min-height: calc(100vh - 96px);
	overflow-y: scroll;
}

.side-menu:checked ~ .hamb .hamb-line {
	background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
	transform: rotate(-45deg);
	top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
	transform: rotate(45deg);
	top:0;
}

.side-menu:focus-visible ~ .hamb {

	outline: 2px solid crimson;

} 

/* Sub nav */
.subnav-content {
	background-color:  var(--text);
	width: 100%;
	z-index: 20;
	display: none;
}

.subnav-content a {
	color: var(--mainbg);
	text-decoration: none;
	padding: 30px;
	margin: 0;
}

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

.subnav:hover .subnav-content {
	display: block;
}

/*
body:has(.side-menu:checked) {
  overflow: hidden;
}
*/

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px;
	position: relative;
}

.panel-container {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	height: auto;
}

.panel-container::after {
  content: "";
  clear: both;
  display: table;
}

.panel-container-bg {
	width: auto;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 120px;
	height: 140px;
	background-color: #474349;
	border-radius: 0.2rem;
}

.panel {
	width: auto;
/*	max-width: 800px;*/
/*	margin: 0 auto;*/
	position: relative;
	left: 0px;
	margin-right: 16px;
	border: solid 3px #252D38;
	border-radius: 1rem;

	padding: 2rem;
	background: rgb(16,17,22);
	background: -moz-linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	background: -webkit-linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	background: linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	box-shadow: 1px 1px 20px 2px rgba(0,0,0,0.75);
	-webkit-box-shadow: 1px 9px 20px 2px rgba(0,0,0,0.75);
	-moz-box-shadow: 1px 9px 20px 2px rgba(0,0,0,0.75);
}

.no-margin-right {
	margin-right: 0px;
}


.main-grid {
	display: block;
}

.main-grid div:nth-child(2) {
	padding: 32px 0 0 0;
}



hr {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
/*	border: solid 2px #252D38;
	border-radius: 0.4rem;
	height: 2px;
	background: rgb(16,17,22);
	background: -moz-linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	background: -webkit-linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	background: linear-gradient(312deg, rgba(16,17,22,1) 20%, rgba(37,42,48,1) 100%);
	box-shadow: 1px 1px 20px 2px rgba(0,0,0,0.75);
	-webkit-box-shadow: 1px 9px 20px 2px rgba(0,0,0,0.75);
	-moz-box-shadow: 1px 9px 20px 2px rgba(0,0,0,0.75);*/
	
		border: dashed 1px #474349;
}

footer {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	text-align: center;
}


/* Buttons
* --------------------------------------- */

.button {
	padding: 0.8rem 1.2rem;
	display: inline-block;
	color: #FFFFFF;
	text-decoration: none;
	border-radius: 0.6rem;
	transition: all .3s;
	font-family: 'Montserrat','Montserrat-fallback', sans-serif;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 1px 1px 10px 2px rgba(0,0,0,0.75);
}

.primary {
	transition: background .3s;
	background: rgb(8,139,108);
	background: -moz-linear-gradient(0deg, rgba(8,139,108,1) 0%, rgba(29,164,124,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(8,139,108,1) 0%, rgba(29,164,124,1) 100%);
	background: linear-gradient(0deg, rgba(8,139,108,1) 0%, rgba(29,164,124,1) 100%);
}

.secondary {
	transition: background .3s;
	background: rgb(16,17,22);
	background: -moz-linear-gradient(0deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
	background: linear-gradient(0deg, rgba(16,17,22,1) 0%, rgba(37,42,48,1) 100%);
}


.panel .button {
	margin: 1rem 0 0 0;
	float: right;
}

/* testo del sito
* --------------------------------------- */

h1 {
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 1.2rem 0 0.2rem 0;
	display: inline-block;

	  background-image: linear-gradient(45deg, #1DA47C 45%, #f5f5f5);
	color: transparent;
  background-clip: text;
  -webkit-background-clip: text;

}

h2 {
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 1rem 0 0.2rem 0;
}


p {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.4;
	padding: 0.8rem 0 0.8rem 0;
}

article p {
	font-size: 1.2rem;
}

strong {
	font-weight: 600;
}

article ul {
		list-style-type: disc;
}

article li {
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.4;
	padding: 0.4rem 0;
	margin-left: 24px;
}


code {
	display: inline-block;
	background-color: #000;
	padding: 0px 4px;
}

div.ip-address {
	text-align: center;

}

div.other-data{
	width: 100%;
	display: grid;
	column-gap: 2rem;
}

div.other-data-flex{
	 flex-grow: 1;
}

div.other-data-flex div{
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	justify-content: space-between;
	border-bottom: dashed 1px #474349;
}

div.other-data-flex div p:last-of-type{
	text-align: right;
}

.panel h1 {
	font-size: 1.6rem;
}

.panel p {
	padding: 1rem 0;
}

.panel p:last-of-type {
	border-bottom: none;
}

div.ip-address p {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 1.5rem;
	letter-spacing: 0.2rem;
	display: inline-block;
	background-color: #474349;
	padding: 0.5rem 2.5rem 0.5rem 1rem;
	margin: 0.5rem 0;
	text-shadow: 0px 0px 1rem #000000;
	cursor: pointer;
	width: 100%;

}

div.ip-address p.IPv6 {
	width: 100%;
	word-wrap: break-word;
}

.IPv4.copied,
.IPv6.copied {
      color: #d1fae5;
}

p.discl {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 2rem;
	font-size: 0.8rem;
}

.copy-icon {
	position: absolute;
	right: 16px;
	top: 22px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	fill: var(--text);
	transition: fill 0.2s ease;
}

.copy-icon:hover {
	fill: var(--highl);
}

.copied-msg {
	margin-top: 8px;
	font-size: 14px;
	color: green;
	display: none;
}








/* -----------------------------------
Android MDPI
------------------------------------ */
@media only screen and (max-width: 374px){
div.ip-address p.IPv4 {
	font-size: 1rem;
}

div.ip-address p.IPv6 {
	font-size: 0.8rem;
}

}


/* -----------------------------------
TABLETS LANDSCAPE
------------------------------------ */
@media only screen and (min-width: 769px){

.nav{
	max-height: none;
	height: 96px;
	top: 0;
	position: relative;
	float: right;
	width: fit-content;
	background-color: transparent;
	overflow: visible;
}

.menu li{
	float: left;
	}

.menu li.subnav p {
	transition: border 0.3s;
}

.menu a, .menu li.subnav p{
		padding: 36px 0px 16px 0px;
		margin:0px 16px
}

.menu a:hover, .menu li.subnav:hover p {
	background-color: transparent;
	color: var(--text);
	border-bottom: solid 6px var(--highl);
}

.side-menu {
	display: none;

}

.hamb{
	display: none;
}

    /* Sub nav */

.subnav {
	position: relative;
	overflow:visible;
}

div.subnav-content {
	padding: 0 ;
	display: none;
	margin: 0px;
	position: absolute;
	width: 200px;
/*	left: calc(38px - 100px);*/
	right: 0px;
}



.subnav:hover .subnav-content, .subnav:focus .subnav-content {
	display: block;
} {
	display: block;
}

.subnav-content a {
	margin: 0;
	padding: 32px;

}


.subnav-content a:hover {
	border-bottom: none;
	background-color:  var(--highl);
}

div.other-data{
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
}

div.ip-address p.IPv4 {
	font-size: 2.5rem;
}

div.ip-address p.IPv6 {
	font-size: 1.5rem;
}



.main-grid {
	display: grid;
	grid-template-columns: 1fr 22rem;
}

.main-grid div:nth-child(2) {
	padding: 16px 0 0 32px;
}



}



/* -----------------------------------
IPAD LANDSCAPE + NETBOOK
------------------------------------ */
@media only screen and (min-width: 1024px){

}



/* -----------------------------------
Device che prevedono gli Hover effects
------------------------------------ */

@media (hover: hover) and (pointer: fine) {
	
 .primary:hover {
	background: rgb(8,139,108);
	background: -moz-linear-gradient(0deg, rgba(8,139,108,1) 38%, rgba(29,164,124,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(8,139,108,1) 38%, rgba(29,164,124,1) 100%);
	background: linear-gradient(0deg, rgba(8,139,108,1) 38%, rgba(29,164,124,1) 100%);
}

.secondary:hover {
	background: rgb(16,17,22);
	background: -moz-linear-gradient(0deg, rgba(16,17,22,1) 38%, rgba(37,42,48,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(16,17,22,1) 38%, rgba(37,42,48,1) 100%);
	background: linear-gradient(0deg, rgba(16,17,22,1) 38%, rgba(37,42,48,1) 100%);
}

}


/* -----------------------------------
DESKTOP
------------------------------------ */
@media only screen and (min-width: 1200px){


}

