@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;600&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    margin: 0;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.poppins-bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.blue-text {
    color: #3c75bb;
}

/* *********************************************************************************************** */

/* NAVBAR */

.uk-card-black {
    background-color: black;
}

@media screen and (max-width: 450px) {
    .logo {
        width: 265px !important;
        height: auto;
        size: 50%;
        margin-left: 5px !important;
        margin-top: 2px;
        margin-bottom: 2px;
    }
}

@media (min-width: 992px){
    .navbar li {
        margin-left : -6em;
        margin-right : 7em;
    }
}

.logo {
    width: 360px;
    height: auto;
    margin-left: 30px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.dropdown-menu {
    background-color: #1E2125;
}

.dropdown-item  {
    color: white;
    padding: 14px;
}

.navbar-bg-color {
    background-color: #1A1A1A;
}

.uk-navbar-container {
    position: fixed;
    width: 100%;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
  background: #1C1C1C;
}

.uk-active a {
    color: blue;
}

.uk-navbar-nav li a {
    color: #CDCDCD;
}

.uk-navbar-nav li a:hover {
    color: white;
}

/* *********************************************************************************************** */

/* SECTION 1 */

#presentation {
    margin-top: 100px;
}

.text-margin {
    max-width: 90%;
}

.uk-margin-auto-right {
    margin-left: 5%;
} 

.uk-margin-auto-top {
    margin-bottom: 5%;
}

/* *********************************************************************************************** */

/* SECTION 2 (ABOUT US) */

#chi_siamo p {
    color: #3c3c3c;
}

.p-huge {
    font-size: 350%;
}

.same-line {
    display: inline;
    width: 30px;
}

.uk-card {
    height: 210px;
}

.uk-card:hover {
    background: black;
}

.uk-card p {
    visibility: hidden;
}

.uk-card:hover span {
    font-style: italic;
    color: black;
}

.uk-card:hover p {
    visibility: visible;
    position: absolute;
    margin: 5%;
    left: 0;
    top: 0;
    padding: 0;
}

.uk-card:hover h3 {
    visibility: hidden;
    position: relative;
}

.uk-section-gray {
    background-color: #1A1A1A;
}

.uk-section-gradient {
    background: linear-gradient(180deg, rgba(230, 232, 255, 1) 0%, rgba(255, 255, 255, 1) 90%);
}

.uk-section-white {
    background-color: #ffffff;
}

.uk-section-secondary-black {
    background-color: black;

}

.uk-card-black {
    background-color: black;
}

.uk-card-blue {
    background-color: #1740A4
}

.uk-card-cti {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/cti.jpeg');
}

.uk-card-defence {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/defence.jpeg');
}

.uk-card-software {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/software.jpeg');
}

.uk-card-cryptocurrency {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/cryptocurrency.jpeg');
}

.uk-card-hacking {
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/hacking.jpeg');
}

.uk-card-awareness {
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/awareness.jpeg');
}

.uk-card-comm-sec {
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 35, 151, 0.552) 50%), url('../pictures/comm-sec.png');
}

.slide-right {
    animation: slide-right 3.5s forwards;
    transform:translateX(-25%);
}

@keyframes slide-right {
    to {
      transform:translateX(0);
    }
}

.slide-left {
    animation: slide-right 3.5s forwards;
    transform:translateX(25%);
}

@keyframes slide-right {
    to {
      transform:translateX(0);
    }
}

/* *********************************************************************************************** */

/* SECTION 3 (SERVICES) */

.scroll a {
    color: white;
}

.scroll a:hover {
    color: white;
}

.scroll:hover { 
    overflow: scroll;
}


.center-vertically {
    padding: 85px 0;
}

.center-vertically-2 {
    padding: 85px 0;
}

/* *********************************************************************************************** */

/* SECTION 3 (CONTACT US) */

html {
    position: relative;
    min-height: 100%;
}

/* *********************************************************************************************** */

/* SECTIONS */

.uk-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.uk-section-dark-blue {
	background: #273248;
}

.uk-height-large {
	height: 550px;
}

.uk-background-cover {
	background-position: 50% 30%; 
}

.text-background {
    color: white; 
    font-size: 135%;
    background: rgba(0, 0, 0, 0.2);
}

.text-background-container {
    margin-bottom: 15em;
}

@media screen and (max-width: 800px) {
    .text-background {
        font-size: 115%;
    }
    .text-background-container {
        margin-bottom: 15em;
    }
}

.uk-margin-auto-foto { /* unused */
	margin-left: 40px;
}

section {
	padding: 7em;
}

section:nth-of-type(1) { 
	background-image: url(pictures/home.jpg);
	background-size: cover;
	color: white;
  	background-position: 50% 10%; 
	height: calc(65vh - 14em);
}

/* *********************************************************************************************** */

/* SERVICES */

.body-service {
    padding-top: 160px
}

.service-body p, h3, h5, h6 {
    color: #3c3c3c
}

.services {
    margin-top: 30px;
    margin-left: -30px;
}

.services a {
    color: black;
}

.service-body {
    border-left: 3px solid #1740A4;
    padding-left: 30px;
}

.service-card {
    background-color: gray;
}
/*
.footer-push {
    position: fixed;
    width: 100%;
    bottom: 0;
}
*/
@media screen and (max-width: 900px) {
    .col-sm-2 {
        display: none;
    }
    .service-body {
        border-left: none;
        padding-left: 15px;
    }
    .body-service {
        padding-top: 160px; 
    }
}

/* *********************************************************************************************** */

/* COPYRIGHT */

.body-push {
    margin: 0 0 100px; /* bottom = footer height */
}

.footer-push {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
}

/* *********************************************************************************************** */

/* OTHER */

.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .center-vertically-2 {
        padding: 70px 0;
    }
}

@media screen and (max-width: 700px) {
    .center-vertically-2 {
        padding: 75px 0;
    }
}