*{
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    margin: 0;
    }

    html {
    scroll-behavior: smooth;
}


/* text s fontem */


body {
  font-family: "consolas", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: rgb(231, 231, 231);
}

h1 {
    font-weight: 600;
    font-size: 4em;
}

h2 {
    font-weight: 550;
    font-size: 3em;
}
h3 {
    font-weight: 450;
    font-size: 1.5em;
    color: rgb(231, 231, 231);
}

/* .tmavý-nadpis {
    color: rgb(25,34,61);
} */



.top-logo-banner {
  width: 100%;
  display: flex;
   justify-content: center;
   align-items: center;
  padding: 30px 0;
     background-image: linear-gradient(rgba(175, 210, 255, 0.65), rgba(223, 234, 255, 0.35)), url("blue-sky-with-white-cloud-background-free-photo.jpg");
     background-size: cover;
     background-repeat: no-repeat;
     background-position: center;
  position: relative;
  z-index: 1;
}

.top-logo-banner .main-logo {
  max-width: 200px;
  min-width: 120px;
  width: 20vw;
  height: auto;
}







    /* první stránka o malwaru obecně */

    .flex {
        display: flex;
        align-items: center;
    }


.Malware { 
    background-image: linear-gradient(rgba(25, 34, 61, 0.65), rgba(25, 34, 61, 0.35)), url("https://cdn.wallpaperhub.app/cloudcache/b/d/7/6/4/b/bd764bb25d49a05105060185774ba14cd2c846f7.jpg");
    min-height: 64vh; /* každá sekce alespoň výšku monitoru?? */
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



.img img{
    width: 80%;
}


.video{
    margin-top: 4rem;
    margin-bottom: 4em;
    width: 90%;
    aspect-ratio: 16 / 9;
    /*background-image:  url(Ransomware.jpg);*/
    background-image: url("windows_xp_style_thumbnail_border_by_xventi_dehyqty-fullview.png");
    background-size: contain;
    background-repeat: no-repeat;
   padding: 8.6% 1% 1% 1%;
}
.video iframe{
    
    width: 100%;
    aspect-ratio: 16 / 9;
    
}





.logo {
    height: 40px; /* prozatím... */
}


 /* pro postavu */
 
.img {
    width: 500px;
    height: auto;
}






/* druhá stránka o ransomwaru */


.Ransomware { 
    background-image: url("Ransomware.jpg");
    min-height: 70vh; /* každá sekce alespoň výšku monitoru?? */
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}







/* třetí strana o adwaru */

.Adware { 
    background-image: url("maxresdefault.png");
    min-height: 70vh; /* každá sekce alespoň výšku monitoru?? */
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}








@media (max-width: 879px) { /* web na mobil?? takže jak to bude na mobilu */
    
  /* pozadí na mobil */
    .Malware {
        /* min-height: 100svh; */
        width: 100vw;
        background-image: linear-gradient(rgba(25, 34, 61, 0.7), rgba(25, 34, 61, 0.1)), url("https://cdn.wallpaperhub.app/cloudcache/b/d/7/6/4/b/bd764bb25d49a05105060185774ba14cd2c846f7.jpg");
        background-position: center;
        background-size: cover;
        background-position:center 0rem;
        overflow: hidden;
    }

    .Ransomware {
        /* min-height: 100svh; */
        background-image: url("Ransomware.jpg");
        background-position: center;
        background-size: cover;
        overflow: hidden;
    }


     .Adware {
        /* min-height: 100svh; */
        background-image: url("maxresdefault.png");
        background-position: center;
        background-size: cover;
        overflow: hidden;

        /* písma */
    }
    h3{
        margin-top: 3rem;
        margin-left: 2rem;
        margin-right: 2rem;

    }

h1{
        margin-top: 2rem;
        margin-left: 2rem;
        margin-right: 2rem;

    }



/* containery!!!!! */

 .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}

.containeradware {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}




    /* container contents */

    .container .content{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 750px;
    }

     .containeradware .content{
         display: flex;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 750px;
    }

.container .content h3{
        font-size: 4.3vw;
      
    }

.containeradware .content h3{
        font-size: 4.3vw;
      
    }




/* headery */

.container .header {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 1em;
      margin-bottom: 2em;
    }

.container .header img {
  width: 120px;
  margin-bottom: 10px;
}

.containeradware .header {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 1em;
      margin-bottom: 1em;
    }

.container .header img {
  width: 22vw;
  min-width: 150px;
  height: auto;
}

.container .header h1{
        font-size: 12vw;
        white-space: nowrap;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

.containeradware .header h1{
        font-size: 12vw;
        white-space: nowrap;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }


/* container obrázky */

.container .img {
  width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 0;
}

.container .img img {
 width: 66%;
 max-width: 750px;
 height: auto;
 display: block;
 margin: 0 auto 15px auto;
}

.containeradware .img {
  width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 0;

}

.containeradware .img img {
 width: 66%;
 max-width: 750px;
 height: auto;
 display: block;
 margin: 0 auto 15px auto;
}



.video{
    margin-top: 4rem;
    margin-bottom: 4em;
    width: 90%;
    aspect-ratio: 16 / 9;
    background-image: url("windows_xp_style_thumbnail_border_by_xventi_dehyqty-fullview.png") ;
    background-size: contain;
    background-repeat: no-repeat;
   padding: 8.6% 1% 1% 1%;
}



/* ikona u menu */

.back-button {
  width: 40px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}


.back-button img {
  width: 100% ;
  height: auto ;
  display: block ;
  object-fit: contain;
  mix-blend-mode: difference;
}




}

@media (min-width: 880px) { /* web desktop?? takže jak to bude na desktopu */
   
    /* všechen grid... */
  
  .container {
  display: grid;
  grid-template-areas:
    "header header"
    "menu content";
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}



.container .header {
   grid-area: header;
  width: 100%;
  display: flex;
  justify-content: center;
  
}

.container .header h1{
   margin-top: 1em;
   margin-bottom: 0.5em;
    }

.container .header img { /* logo */
    width: 11vw;
    min-width: 150px;
    height: auto;
  display: block;
      margin-top: 2em;
      margin-bottom: 0;
      
}




.container .img {
  grid-area: menu;
   width: 100%;
   height: auto;
  margin-bottom: 25px;
  display: flex;
      justify-content: center;
      align-self: center;
      text-align: center;
}

.container .img img {
 width: 100%;
 max-width: 460px;
 align-items: center;
 height: auto;
 display: block;

}

.container .content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}




/* prvky na opačnou stranu na adware... */
.containeradware {
  display: grid;
  grid-template-areas:
    "header header"
    "content menu";
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.containeradware .header {
  grid-area: header;
  width: 100%;
  display: flex;
  justify-content: center;

}

.containeradware .header h1{
   margin-top: 1em;
   margin-bottom: 0.5em;
    }


.containeradware .img {
  grid-area: menu;
  width: 100%;
  display: flex;
  height: auto;
  margin-bottom: 25px;
  text-align: center;
  align-self: center;
  text-align: center;
}

.containeradware .img img {
 width: 100%;
 max-width: 480px;
 height: auto;
 display: block;
 margin: 0 auto;
}

.containeradware .content { 
  grid-area: content;
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}






}

.nav{
  display: flex;
  
}

/* Hamburgrové menu v rožku */


/* Style the navigation menu */
  .topnav  {
      container-type: scroll-state;
    overflow: hidden;
  position: fixed;
  z-index: 10;
    
    /* like container queries, can't query self */
    /*> .nav {
      
      @container scroll-state(stuck: top) {
        position: fixed;
        top: 0em;
      }
    }*/
  }



/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  /*display: none;*/
  visibility: hidden;
 
 /*background-image: url() ;*/

  background-color: rgb(25,34,61);
  transition: all 0.5s;
  transform: translateX(-20em);
width: 15em;
height: 40vh;

  
}

/* Style navigation menu links */
.topnav a {
  color: rgb(231, 231, 231);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
 
  display: block;
  width: 2em;
  height: 2em;
  
}

.back-button {
  width: 100px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.back-button img {
  width: 100% ;
  height: auto ;
  display: block ;
  object-fit: contain;
  mix-blend-mode: difference;
}

.fa{
  mix-blend-mode: difference;
}
.fa div{
    
    background-color: #e7e7e7;
    display: block;
    height: 0.3em;
    width: 100%;
    margin-bottom: 0.4em;
    border-radius: 0.1em;  
    mix-blend-mode: difference;
}

.fa div{
    
    background-color: #e7e7e7;
    display: block;
    height: 0.3em;
    width: 100%;
    margin-bottom: 0.4em;
    border-radius: 0.1em;  

}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #e7e7e7;
  color: rgb(0, 0, 0);
  transform: scale(1.10);
  transition: 0.3s;
}

.topnav .img a:hover {
  background-color: #e7e7e7;
  color: rgb(0, 0, 0);
  width: 100px;
  
}

/* Style the active link (or home/logo) */
.active {
  background-color: #04AA6D;
  color: white;
}

.section1 {
    border-bottom: 2px solid white;
}
