/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');



html {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    background-color: #000;
}

h1 {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding-top: 20px;
}

.bloc a {
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
	position: relative;
}

.ct50 {
    display: flex;
}

a.back {
    position: fixed;
    left: 15px;
    top: 10px;
    color: #fff;
    text-decoration: none;
}

div#open-modal {
    color: #000;
}

span.fixe {
    position: absolute;
    right: 0;
    background-color: red;
    color: #fff;
    padding: 0px 5px;
}

.logo {
    text-decoration: none;
    color: #fff;
}

/* CONTINGUT */

.top {
    position: fixed;
    text-align: center;
    width: 100vw;
    color: #fff;
    padding: 10px 0px;
    top: 0px;
    z-index: 2;
    background-color: #000;
}

.ct50 {
    display: flex;
}

body#ecommerce h2,
body#ecommerce h3,
body#web h2,
body#web h3 {
    color: #fff;
    margin-left: 10px;
}

.ct25 {
    display: block;
}

.ct25 .bloc {
    background-color: #fff;
    width: 23%;
    float: left;
    margin: 1%;
    min-height: 21vh;
}

body#web div#main {
    margin-top: 35px;
}

.ct50 #A,
.ct50 #B,
.ct50 #C,
.ct50 #D {
    width: 50vw;
    height: 50vh;
}

#A {
    background-color: #000;
}

#B {
    background-color: darkorchid;
}

#C {
    background-color: blue;
}

#D {
    background-color: #000;
}

.if {
    width: 20vw;
}

.espaititolA,
.espaititolB {
    display: flex;
    height: 50vh;
    margin: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;

}

.cv {
    position: fixed;
    top: 47%;
    left: 47.5%;
    width: 50px;
    border: none;
    text-align: center;
    border-radius: 50%;
    height: 50px;
}

.cv div {
    margin: 0px;
}

.cv div a {
    text-decoration: none;
}

/* FOOTER */

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer div {
    color: white;
    border-top: 1px solid;
    width: 90%;
    text-align: center;
    margin: 5px 5%;
    padding-top: 5px;
}

.footer a {
    color: #fff;
}

.titolbloc {
    margin-left: 10px;
    font-size: 1.2rem;
    padding: 0px;
    margin: -10px 0px -5px 5px;
}

.descripcciobloc {
    margin-left: 5px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

iframe.vvvvv {
    width: 100vw;
    height: 100vh;
}

body#drones {
    color: #fff;
}

body#drones p {
    color: #fff;
    margin: 10px;
}

body#drones a {
    color: #fff;

}

.under {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #000;
    color: #fff;
    padding: 2px 4px;
    border: 1px solid;
}

.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: white;
}
.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-close:hover {
  color: black;
}


@media (max-width:700px) {
    .ct25 .bloc {
        min-width: 46vw;
        min-height: 20vh;
    }

    #ecommerce .ct25 .bloc {
        min-height: 31vh;
    }
}


@media (max-width:500px) {

    .ct25 .bloc {
        min-height: 25vh;
        min-width: 45vw; 
        
    }
}