diff --git a/src/styles/title-animate.scss b/src/styles/title-animate.scss index 8d6be300db107dcd33f52cffb340dcd5e318b401..20ed554d1708867b22ffca1554d6a014fc5c75c2 100644 --- a/src/styles/title-animate.scss +++ b/src/styles/title-animate.scss @@ -1,23 +1,27 @@ body { width: 100%; height: 100%; - position: fixed; -// background-color: #34495e; + color: white; + overflow: auto; } .title-content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - overflow:hidden; - - font-family: 'Lato', sans-serif; - font-size: 35px; - line-height: 40px; - color: #ecf0f1; + position: relative; + padding-top: 49vh; + padding-bottom: 49vh; &__container { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + overflow:hidden; + + font-family: 'Lato', sans-serif; + font-size: 35px; + line-height: 40px; + color: #ecf0f1; + font-weight: 600; overflow: hidden; height: 40px;