@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
@font-face {
	font-family: 'atten_round_new';
	src: url('attenroundnew-regular-webfont.woff2') format('woff2'),
             url('attenroundnew-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'atten_round_new';
	src: url('attenroundnew-bold-webfont.woff2') format('woff2'),        
             url('attenroundnew-bold-webfont.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}
html {
    background-color: #3399CC;
    color: white;
    width:100%;
    height: 100%;
}

* {
    box-sizing: border-box;
}
body {
    
    padding: 0;
    margin: 0;        
    overflow: hidden;
    font-size: 2rem;
    
}

.container {
    position:absolute;
    
    left:0px;
    top :0px;
    right: 0px;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slide {            
    display: none;
    font-family: "atten_round_new", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    height: 4rem;
    line-height: 4rem;        
}

.row {
    display: block;
    width:100%;
    height: 4rem;
    line-height: 4rem;
}
.row.center {
    text-align: center;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;   
    display: inline;
    position:absolute;
    top: 0rem;
    transition-property: top;
    transition-duration: 0.4s;
    transition-timing-function: ease;
}
div.change-text {
    position:relative;
    display: inline-block;
    height: 4rem;
    overflow: hidden;
    width: 15rem;
    
}
ul#items[data-index='0'] {
    top: 0rem;
}
ul#items[data-index='1'] {
    top: -4rem;
}
ul#items[data-index='2'] {
    top: -8rem;
}

div.fixed {
    float:left;
    position:relative;
    display: inline-block;
    height: 4rem;
    
}

span.dot-1,
span.dot-2,
span.dot-3{
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.2s;
    transition-timing-function: linear;
}


ul li {
    display: block;
    height: 4rem;
}


@media only screen and (max-width: 400px) {
  body {
    font-size: 1.3rem;
  }
  div.change-text {
      width:8rem;
  }
}
@media only screen and (max-width: 500px) {
  body {
    font-size: 1.4rem;
  }
  div.change-text {
      width:8.5rem;
  }
}