@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.main, .causes, .war , .consequences, .army-losses {
    min-height: 100vh;
}
.main, .causes, .war{
    padding: 150px;
}
.consequences{
    background-image: url(images/exploding1.jpg);
    background-repeat: no-repeat;
    animation-name: poz;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    background-size: 100% 100% ;
    
   }
@keyframes poz{
    0%  {background-image: url(images/exploding1.jpg); }
    33%{   background-image: url(images/exploding2.jpg);}
    66%{background-image: url(images/exploding3.jpg);}
    100% { background-image: url(images/exploding4.jpg);}
    
}
.map {
    animation-name: map;
    animation-duration: 3s;
    position: relative;
}
@keyframes map{
    0%   { right:-1000px; top:0px;}
    100% { right:0px; top:0px;}
    
}
.map-position {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    height: 135%;
    width: 140%;
}

h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: rgb(231, 219, 219);
    padding-top: -500px;
}

.text1, .text2, .text3, .text4{
    color: white;
    padding: 60px;
    font-size: 40px;
}
.text4, .nad4{
    background-color: rgba(0, 0, 0, 0.342);
    font-size: 30px;
    padding: 30px; 
       
}
.nad4{
    font-size: 45px;
}
.flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
.text1-position {
    display: flex;
    justify-content: flex-start;
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 95px;
    color: rgb(231, 219, 219);
}

.war-progress {
    color: white;
    font-size: 50px;
    padding: 50px;
}
.war{
    animation-name:fadeIn ;
    animation-duration: 20s;
    position: relative;
}
@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px); /* mírné posunutí dolů */
    }
    to {
      opacity: 1;
      transform: translateY(0); /* plynule nahoru na místo */
    }
  }

body {
    background: #bdafaf;
    background: radial-gradient(circle, rgba(189, 175, 175, 1) 0%, rgba(0, 0, 0, 1) 100%);
    padding: 20px;
    max-width: 1920px;
    font-family: "Alumni Sans Pinstripe";
    font-size: 90px;
}

.army-losses {
    color: white;
    font-size: 45px;
    margin: 24px;
}

.general {
    animation-name:general ;
    animation-duration: 10s;
    position: relative;
}
.text-general{
    color: white;
    font-size: 30px;
}
.general-flexbox{
    width: 500%;
    position: relative;
    left: 200px;
}

@keyframes general{
    0%   { left:-1000px; top:0px;}
    100% { left:0px; top:0px;}  
}
.flag{
   left: 780px;
   position:relative;
}

h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: rgb(231, 219, 219);
}

.losses {
    color: white;
    font-size: 30px;
    padding: 50px;
}

.japan {
    display: flex;
    justify-content: center;
    color: white;
    
}

.USA {
    display: flex;
    justify-content: center;
    color: white;
    
}

.explode {
    height: 30%;
    width: 30%;
}
h6{
    color:white;
    font-size: 5px;
}
h3{
    font-size: 45px;
}
@media only screen and (max-width: 767px) {

    .text1, .text2, .text3, .text4{
    font-size: 30px;
    color: white;
    padding: 40px;
    }
    .map-position{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 105%;
    width: 100%;
    }
    .main, .causes, .war{
    padding: 50px;
}
    .general {
        margin: 24px;
        height: 180px;
        width: 130px;
        
}
    .war-progress {
    color: white;
    font-size: 30px;
    padding: 35px;
}
.consequences{
    max-width: 100%;
    max-height: 50%;
}
h6{
    font-size: 5px;
}
.h2{
    left: 20px;
    position: relative;
}
.flexbox{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.text4, .nad4{
    font-size: 23px;
    padding: 20px;
}
.general-flexbox{
    max-width: 100%;
    position: relative;
    left: 150px;
}
.flag{
    position: relative;
    left: 200px;
}
}

@media only screen and (max-width: 1920px) {

    .text1, .text2, .text3,{
    font-size: 35px;
    color: white;
    padding: 25px;
    }
    .map{
        width: 115%;
        height: 115%;
    }
    .general{
        height: 50%;
        width: 50%;
    }
    .war-progress{
        font-size: 25px;
    }
}