diff --git a/assets/scss/pages/_home-footage.scss b/assets/scss/pages/_home-footage.scss index 8ddda94f..81314b25 100644 --- a/assets/scss/pages/_home-footage.scss +++ b/assets/scss/pages/_home-footage.scss @@ -39,7 +39,7 @@ width: 8em; height: 8em; border-radius: 50%; - transition: transform 1.5s ease-out; + transition: transform 1s ease-out; &:hover { transform: rotateZ(360deg); } @@ -77,15 +77,13 @@ } } video { - position: fixed; - top: 50%; - left: 50%; - min-width: 100%; - min-height: 100%; - width: auto; - height: auto; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; z-index: 2; - transform: translateX(-50%) translateY(-50%); } @media only screen and (max-device-width: 1024px) { #bgvid {