@import url("https://fonts.googleapis.com/css?family=Karla|Space+Mono");

* {
  outline: 0;
  box-sizing: border-box;
}
.into_summary-h4{
  text-align: center;
  width: 100%;
}

summary {
  display: block;
  cursor: pointer;
  padding: 10px;
  font-size: 22px;
  transition: .3s;
  border-bottom: 2px solid;
  user-select: none;
}

summary:hover{
  color: green;
}

details > div {
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
  height: 100%;
  user-select: none;
  padding: 0 20px;
  line-height: 1.5;
}

details > div > img {
  align-self: flex-start;
  max-width: 100%;
  margin-top: 20px;
}

details > div > p {
  flex: 1;
}

.military-accounting details > div > p{
  text-align: justify;
  flex: auto;
  padding: 0;
  m
}

.military-accounting details > div > ul > li{
  text-align: justify;
  margin: 10px;
}

.military-accounting-ref{
  text-decoration: underline;
  color: blue;
}

.military-accounting-ref:hover{
  text-decoration: none;
  color: red;
}

details[open] > summary {
   color: red;
}

.entertaiment-school details[open] > summary {
   color: green;
}

@media (min-width: 768px) {
  details[open] > div > p {
    opacity: 0;
    animation-name: showContent;
    animation-duration: 0.6s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    /*margin: 0;*/
    /*padding-left: 20px;*/
  }

  details[open] > div {
    animation-name: slideDown;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }

  details[open] > div > img {
    opacity: 0;
    height: 100%;
    animation-name: showImage;
    animation-duration: 0.3s;
    animation-delay: 0.15s;
    animation-fill-mode: forwards;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    height: 0;
    padding: 0;
  }

  to {
    opacity: 1;
    height: var(--contentHeight);
    padding: 20px;
  }
}

@keyframes showImage {
  from {
    opacity: 0;
    clip-path: inset(50% 0 50% 0);
    transform: scale(0.4);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes showContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}