*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.slider img {
  max-width: 100%;
  display: none;
}
img.active {
  display: block;
}

.cont-btn {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.btn-nav {
  font-size: 20px;
  margin: 0 15px;
  cursor: pointer;
}

#txt_about{
    font-size: 12px;
    position: absolute;
    left: 260px;
    top: 90px;
    text-decoration: none;
    color: lightslategray;
    
}

#txt_sos{
    font-size: 12px;
    position: absolute;
    left: 260px;
    top: px;
    text-decoration: none;
    color: lightslategray;
    
}

#txt_oya{
    font-size: 12px;
    position: absolute;
    left: 260px;
    top: px;
    text-decoration: none;
    color: lightslategray;
    z-index: 2;
    
}

#SOS_I{
    position: absolute;
    left: 240px;
    top: 500px;
}

#HOME{
    position: absolute;
    left:50px;
    top: 25px;
}

#SOS_M{
    position: absolute;
    left: 1300px;
    top: 150px;
}

#SOS_P{
    position: absolute;
    left: 300px;
    top: 110px;
}

body, html {
   height: 100%;
}
body {
   font-family: system-ui;
   justify-content: left;
   align-items: center;
    text-decoration: none;
    color: grey;
}
.nav {
   list-style-type: none;
   border-radius: 10px;
   background: white;
   margin: 0;
   padding: 0;
   width: 230px;
   overflow: hidden;
   position: absolute;
    left: 50px;
    top: 100px;
      
}

.nav-item {
   font-size: 15px;
   border-bottom: 1px solid;
    
}

.nav-item:last-child {
   border-bottom: none;
}

.nav-link, .nav-submenu-link {
   text-decoration: none;
    color: lightslategrey;
   padding: 8px 8px;
   display: block;

}

.nav-submenu {
   overflow: hidden;
   max-height: 0;
   transition: max-height 0.5s;
   background: white;
}
.nav-submenu:target {
   max-height: 10rem;
}
.nav-submenu-link {
   font-size: 12px;
   background: transparent;
   transition: background 0.2s ease-in;
}
.nav-submenu-link:hover {
}

.container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  padding: 15px;
    top: 85px;
    z-index: 1;    
}

.slider img {
  max-width: 100%;
  display: none;
}
img.active {
  display: block;
}

.cont-btn {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.btn-nav {
  font-size: 20px;
  margin: 5 10px;
  cursor: pointer;
}


a{color:inherit; text-decoration:none;}
h1{display:inline-block;}
p{display:none;}
p:target{display:block;}