* {
    box-sizing: border-box; 
}

/* --- fonts --- */

@font-face {
  font-family: 'GT Haptik Medium';
  src: url('fonts/GT-Haptik-Medium.eot');
  src: url('fonts/GT-Haptik-Medium.eot?#iefix') format('embedded-opentype'),
      url('fonts/GT-Haptik-Medium.woff2') format('woff2'),
      url('fonts/GT-Haptik-Medium.woff') format('woff'),
      url('fonts/GT-Haptik-Medium.svg#GT-Haptik-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- end fonts --- */

html, .root {
  font-size: 20px;
  line-height: 26px;
}
body, .article {
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.3rem;
}
h1, .h1 {
  font-size: 2.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
}
h2, .h2 {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h3, .h3 {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h4, .h4 {
  font-size: 1rem;
  line-height: 1.3rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h5, .h5 {
  font-size: 1rem;
  line-height: 1.3rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
p, ul, ol, pre, table, blockquote {
  margin-top: 0rem;
  margin-bottom: 1.3rem;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0rem;
  margin-bottom: 0rem;
}

hr, .hr {
  border: 1px solid;
  margin: -1px 0;
}
a, b, i, strong, em, small, code {
  line-height: 0;
}
sub, sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

body {
    font-family: 'GT Haptik Medium', monospace;
    background-color: #110d1c;
    color: whitesmoke;
    max-width: 100%;
    /*display: flex;*/
}

h1 {
  display: inline-block;
}

#quer {
  color: black;
  background-color: whitesmoke;
  padding: 0.8rem;
  border-radius: 12px;
}

  img {
    margin-top: 0.80769231em;
    margin-bottom: 0.80769231em;
  }

  .content {
    margin: 0 auto;
    margin-top: 10vh;
    max-width: 1000px;
    min-width: 400px;
    animation: fadeIn 3s;
    padding: 1rem 1rem;
}

.content-wide {
  margin: 0 auto;
  margin-top: 10vh;
  max-width: 1400px;
  min-width: 400px;
  animation: fadeIn 3s;
  padding: 1rem 1rem;
}

/* -- one background photo -- */

.background-photo {
  right: 0; bottom: 0; top: 0; bottom: 0;
  position: fixed;
  height: auto;
  min-width: 100vw;
  min-height: 100vh;  
  background-position: center top; 
  background-repeat: no-repeat;
  background-size: cover;
  padding-left:inherit;
  padding-right:inherit;
}
.tree {
  background: url("img/tree.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.internet {
  background: url("img/internet-fabric.jpg");
}

.nets {
  background: url("img/nets.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.mapping {
  background: url("img/stitching-mapping.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.archives {
  background: url("img/archives.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;

}

.plant {
  background: url("img/plant.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;

}

.networkwalk {
  background: url("img/networkwalk.png");
  background-repeat: no-repeat;
  background-size: 100% auto;

}

.cabletree {
  background: url("img/cabletree.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;

}

.large {
  font-size: 2.6rem;
  line-height: 3rem;
  color: #110d1c;
  
}

.large-white{
  font-size: 2.6rem;
  line-height: 3rem;
  color: #110d1c;
  background-color: rgba(245, 245, 245, 0.552);
  display: inline;
  
}


/* -- end one background photo --  */


  #one-video {
    min-width: 100%;
    height: auto;
  }

  /* -- 1 full screen video -- */
  .background-1 {
    display: inline-grid;
    grid-template-rows: repeat(7fr, 1fr);
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
  }

  .fullscreenvid {
    display: inline-grid;
    grid-template-rows: repeat(7fr, 1fr);
    position: fixed;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    right: 0;
    bottom: 0;
    min-width: 90%;
    max-height: 100vh;
  }

  .fullscreenvid video {
    min-width: 100vw;
    height: auto;
  }

  /* -- 3 videos next to each other -- */
  .background-3 {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7fr, 1fr);
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
  }

  .background-3 video { width: 100%; height: 100%;}

  @media only screen and (max-width: 915px) and (-webkit-device-pixel-ratio: 3)
  and (-webkit-device-pixel-ratio: 1.77){
    h1#quer { font-size: 0.8rem; z-index: 1; margin-top: -2rem;}
    p {font-size: 0.7rem; line-height: 0.9rem;}
    .content-3 .wrapper .wrapped {width: 8rem;}
    .content-3 .wrapper .wrapped #wrapped1 p {margin: 5% 0 0 0%;}
    p#wrapped1.wrapped {margin: 0% 0 0 2%;}
    p#wrapped2.wrapped {margin: 10% 0 0 5%;}
    p#wrapped3.wrapped{margin: 20% 0 0 20%;}
    p#wrapped5.wrapped{margin: 60% 0 0 0%;}
    p#wrapped6.wrapped{margin: 30% 0 0 0%;}
    footer ul li a {font-size: 0.8rem;}
    img#logo.gallery{max-height: 18px;}
    .content-3 p.large-white {font-size: 1rem; line-height: 1.1rem; overflow: scroll;}
    } 
/*
    @media only screen and (-webkit-min-device-pixel-ratio: 1.77) {
      h1#quer { font-size: 0.8rem; z-index: 1; margin-top: -2rem;}
      p {font-size: 0.7rem; line-height: 0.9rem;}
      .content-3 .wrapper .wrapped {width: 8rem;}
      .content-3 .wrapper .wrapped #wrapped1 p {margin: 5% 0 0 0%;}
      p#wrapped1.wrapped {margin: 0% 0 0 2%;}
      p#wrapped2.wrapped {margin: 10% 0 0 5%;}
      p#wrapped3.wrapped{margin: 20% 0 0 20%;}
      p#wrapped5.wrapped{margin: 60% 0 0 0%;}
      p#wrapped6.wrapped{margin: 30% 0 0 0%;}
      footer ul li a {font-size: 0.8rem;}
      img#logo.gallery{max-height: 18px;}
      .content-3 p.large-white {font-size: 1rem; line-height: 1.1rem; overflow: scroll;}  
    }
  */
      

    /* -- iPhones and portrait orientation -- */
    @media only screen 
    and (min-width: 100px) and (max-width: 430px)
    and (min-height: 400px) and (max-height: 932px) 
    and (orientation: portrait){ 
    .content-3 p.large-white {font-size: 1.1rem; line-height: 1.2rem; overflow: scroll;}
    }

    @media only screen and (max-width: 1280px) {
    p.large-white {font-size: 1.7rem; line-height: 1.8rem; }
    } 



  .background-3 #element-1, #element-2, #element-3 video{
    overflow: hidden;
    width: 100%;
  }

  .wrapper {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
  }

  .content-3 {
    position: fixed;
    width: 100%;
    animation: fadeIn 1s;
    margin-top: 6vh;
    padding: 1rem 1rem;
  }

  .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:rgb(16, 16, 25);
    padding: 0.8rem;
    border-radius: 12px;
  }

  .wrapped {
    background-color:rgba(16, 16, 25, 0.79);
    width: 10rem; /*-- set width for all elements --*/
    display: inline-block;
    padding: 0.8rem;
    border-radius: 12px;
  }
  #wrapped1 {
    margin: 10% 0 0 20%;
  }

  #wrapped2 {
    margin: 70% 0 0 40%;
  }

  #wrapped3 {
    margin: 50% 0 0 40%;
  }

  #wrapped4 {
    margin: 110% 0 0 110%;
  }

  #wrapped5 {
    margin-top: 5rem;
  }

  #wrapped6 {
    margin-top: 10rem; width: 120%;
  }

  #wrapped7 {
    width: 15rem;
  }

  /* -- end 3 videos next to each other -- */
  
  /* -- footer menu -- */

  footer {
    background-color:rgba(9, 10, 10, 0.718);
    grid-column: 1 / span 3;
    margin: 0;
    padding: 0;
  }

  footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  footer li {
    float: left;
    margin-top: 16px;
    
  }

  footer li a{
    display: block;
    text-align: center;
    padding: 16px 36px;
    color: white;
    text-decoration: none;
  }

  footer li a:hover{
    background-color: rgba(255, 0, 0, 0.607);
  }


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }


#logo {
  float: right;
  max-width: 250px;
  max-height: 30px;
  height: auto;
  padding-right: 34px;
}

/* -- footer end --*/

audio {
  margin: 1rem 0rem;
}

/*-- grid and images for design elements overview page ---*/

.grid {
  display: inline-grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: auto;
  /*height: 90%;*/
  cursor: zoom-in;
}

.grid .img_bottom {
  grid-column: 4 / span 4;
  width: 20%;
  position: absolute;
  top: 34%;
  left: 18%;
  grid-row: 1;
}

.grid .img_top {
  grid-column: 8 / span 3;
  width: 20%;
  position: absolute;
  top: 44%;
  left: 48%;
  grid-row: 1;
}

.grid .img_3 {
  grid-column: 2 / span 4;
  width: 20%;
  position: absolute;
  top: 84%;
  left: 8%;
  grid-row: 1;
}

.grid .img_4 {
  grid-column: 2 / span 4;
  width: 20%;
  position: absolute;
  top: 67%;
  left: 18%;
  grid-row: 1;
}

.grid .img_5 {
  grid-column: 12 / span 4;
  width: 22%;
  position: absolute;
  top: 38%;
  right: 9%;
  grid-row: 1;
}

.grid .img_6 {
  grid-column: 3 / span 4;
  width: 20%;
  position: absolute;
  top: 97%;
  left: 15%;
  grid-row: 1;
}

.grid .img_7 {
  grid-column: 12 / span 4;
  width: 20%;
  position: absolute;
  top: 98%;
  right: 9%;
  grid-row: 1;
}

.grid .img_8 {
  grid-column: 13 / span 4;
  width: 10%;
  position: absolute;
  top: 80%;
  right: 10%;
  grid-row: 1;
}

.grid .img_9 {
  grid-column: 5 / span 4;
  width: 15%;
  position: absolute;
  top: 50%;
  left: 20%;
  grid-row: 1;
}

.grid .img_10 {
  grid-column: 7 / span 4;
  width: 15%;
  position: absolute;
  top: 30%;
  left: 40%;
  grid-row: 1;
}

.grid .img_11 {
  grid-column: 5 / span 4;
  width: 28%;
  position: absolute;
  top: 75%;
  left: 25%;
  grid-row: 1;
}

.grid .img_12 {
  grid-column: 9 / span 4;
  width: 25%;
  position: absolute;
  top: 30%;
  right: 20%;
  grid-row: 1;
}

.grid .img_13 {
  grid-column: 6 / span 4;
  width: 25%;
  position: absolute;
  top: 55%;
  left: 25%;
  grid-row: 1;
}

.grid .img_14 {
  grid-column: 4 / span 4;
  width: 15%;
  position: absolute;
  bottom: -5%;
  left: 25%;
  grid-row: 1;
}

.grid .img_15 {
  grid-column: 11 / span 4;
  width: 15%;
  position: absolute;
  top: 60%;
  right: 20%;
  grid-row: 1;
}

.grid .img_16 {
  grid-column: 11 / span 4;
  width: 15%;
  position: absolute;
  top: 95%;
  right: 25%;
  grid-row: 1;
}

.grid .img_17 {
  grid-column: 1 / span 4;
  width: 15%;
  position: absolute;
  top: 35%;
  left: 5%;
  grid-row: 1;
}

.grid .img_18 {
  grid-column: 13 / span 4;
  width: 25%;
  position: absolute;
  top: 75%;
  right: 5%;
  grid-row: 1;
}

.grid .img_19 {
  grid-column: 1 / span 4;
  width: 15%;
  position: absolute;
  top: 55%;
  left: 0%;
  grid-row: 1;
}

.grid .img_20 {
  grid-column: 13 / span 4;
  width: 25%;
  position: absolute;
  top: 45%;
  right: 5%;
  grid-row: 1;
}

.grid .img_21 {
  grid-column: 8 / span 2;
  width: 15%;
  position: absolute;
  top: 65%;
  left: 45%;
  grid-row: 1;
}

.grid .img img {
  width: 100%;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.grid .img {
  transition: transform .2s;
}

/*h1#fixed{position: absolute;}*/

figcaption#fixed {padding-top: 100vh;}


.img_21 img:hover, .img_20 img:hover, .img_19 img:hover, .img_18 img:hover, .img_17 img:hover, .img_16 img:hover, .img_15 img:hover, .img_14 img:hover, .img_13 img:hover, .img_12 img:hover, .img_11 img:hover, .img_10 img:hover, .img_9 img:hover, .img_8 img:hover, .img_7 img:hover, .img_6 img:hover, .img_5 img:hover, .img_4 img:hover, .img_3 img:hover, .img_2 img:hover, .img_bottom img:hover, .img_top img:hover 
{
  -ms-transform: scale(1.8); /* IE 9 */
  -webkit-transform: scale(1.8); /* Safari 3-8 */
  transform: scale(1.8);
  z-index: 100;
  position: absolute;
  margin: 0 auto;
}

/* -- settings for design elements that are links -- */

a#imagelink img{
  border-style: solid;
  border-color: red;
  cursor: ne-resize;
}

a#imagelink img:hover{
  border-color: red;
  cursor: ne-resize;
}

/*-- end grid and images for design elements overview page ---*/


/* -- overlapping images -- */
.img-on-img {
  margin-top: 0.80769231em;
  margin-bottom: 0.80769231em;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

.img1 {
  background-image: url(img/cto1.jpg);
}

.img2 {
  background-image: url(img/cto2.jpg);
}

.img3 {
  background-image: url(img/cto3.jpg);
}


.img4 {
  background-image: url(img/telegraphcables.jpg);
}

.img_tel {
  background-image: url(img/telegram_1933.png);
}

.img-on-img img{
  opacity: 0.5;
}

/* -- end overlapping images -- */

.gallery {
  display: inline-grid;
  max-width: 100%;
  grid-template-columns: repeat(3, 1fr);
}

.gallery img {
  justify-content: space-between;
  max-width: 100%;
  height: auto;
  display: inline-block;
}


.sidebysidelayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sidebysidelayout img {
  margin: 0;
  overflow: hidden;
  max-width: 100%;
}


a {
  color:#f61000;
  text-decoration-line: underline;
}

a:hover {
  background-color:azure;
  border-radius: 9px;
}


nav {
  padding: 8px;
}
nav li a {padding-left: 4px;}
nav li {
  display: inline-block;
  border-radius: 12px;
  /*background: whitesmoke;*/
  color: red;
  list-style: none;
  max-width: 7.3rem;

  --s: 20px; /* size of the corners */
  border: 2px solid #B38184; 
  padding: 2px;
  height: 35px;
  width: 150px;
  /*background: #aeababb4 content-box;*/
  mask: 
    conic-gradient(#000 0 0) content-box,
    conic-gradient(at var(--s) var(--s),#0000 75%,#000 0) 
    0 0/calc(100% - var(--s)) calc(100% - var(--s));
}
/*--- slider ---*/

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;  
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  margin-bottom: 3rem;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: #fe0b0be2;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background:  #fe0b0be2;
  cursor: pointer;
}

.hidden { /* used for access to video descriptions */
  position: absolute;
  left:     -10000px;
  top:      auto;
  width:    1px;
  height:   1px;
  overflow: hidden;
}

p#interview-question {
  margin-top: 2rem;
  font-style: italic;
}


.rhombus {
  height: 20px; /* adjust to control the size  */
  aspect-ratio: 1;
  clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%);
  background: #5e88a6;
  margin: 0 auto;
}

.rounded-dashes {
  --s: 5px;    /* control the size */
  --c: #386277; /* the color */
  
  height: var(--s);
  width: 100%;
  --_g: var(--s) top 50%,var(--c) calc(100% - 1px),#0000;
  background: 0/calc(4*var(--s)) space no-repeat;
  background-image: 
   radial-gradient(circle closest-side at left  var(--_g)),   
   radial-gradient(circle closest-side at right var(--_g)),   
   linear-gradient(90deg,#0000 25%,var(--c) 0 75%,#0000 0);
}