Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html {
- font-size: 10px;
- font-family: 'Roboto Condensed', sans-serif;
- padding-top: 130px;
- }
- h2 {
- font-size: 1.8rem;
- padding: 25px 0;
- text-transform: uppercase;
- text-align: center;
- font-weight: bold;
- line-height: 150%;
- }
- .topbar {
- position: fixed;
- top: 0;
- right: 0;
- left: 0;
- width: 100%;
- height: 130px;
- background-color: #00204a;
- z-index: 1;
- }
- .brand {
- display: block;
- text-align: center;
- font-size: 2.5rem;
- text-transform: uppercase;
- font-weight: bold;
- margin-top: 20px;
- color: #fff;
- letter-spacing: 3px;
- text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
- }
- .banner {
- position: relative;
- overflow: hidden;
- height: 1000px;
- }
- .banner img {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-weight: bold;
- min-width: 100%;
- min-height: 100%;
- opacity: 0;
- animation: bannerek 15s infinite linear;
- }
- @keyframes bannerek {
- 0% {
- opacity: 0;
- }
- 5% {
- opacity: 1;
- }
- 33.33% {
- opacity: 1;
- }
- 38.33% {
- opacity: 0;
- }
- 100% {
- opacity: 0;
- }
- }
- .banner img:nth-child(2) {
- animation-delay: 5s;
- }
- .banner img:nth-child(3) {
- animation-delay: 10s;
- }
- h3 {
- display: flex;
- justify-content: center;
- align-items: center;
- position: absolute;
- top: 20%;
- left: 50%;
- transform: translate(-50%, -20%);
- width: 90%;
- padding: 30px;
- border-radius: 10px;
- background-color: rgba(0, 32, 74, .8);
- color: #fff;
- text-transform: uppercase;
- text-align: center;
- font-size: 4rem;
- opacity: 0;
- animation: opis 15s linear infinite;
- text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
- }
- h3:nth-of-type(2) {
- animation-delay: 5s;
- }
- h3:nth-of-type(3) {
- animation-delay: 10s;
- }
- @keyframes opis {
- 0% {
- opacity: 0;
- }
- 5% {
- opacity: 0;
- }
- 10% {
- opacity: 1;
- }
- 23.33% {
- opacity: 1;
- }
- 28.33% {
- opacity: 0;
- }
- 33.33% {
- opacity: 0;
- }
- 100% {
- opacity: 0;
- }
- }
- .menu {
- position: absolute;
- top: 120px;
- right: 0;
- width: 100%;
- transition: transform .3s linear;
- transform: translateX(100%);
- height: 360px;
- background-color: #00204a;
- overflow: auto;
- }
- .menu li {
- text-align: center;
- margin-top: 30px;
- }
- .menu a {
- display: block;
- font-size: 2rem;
- text-transform: uppercase;
- text-decoration: none;
- color: #fff;
- padding: 25px;
- transition: background-color .3s linear;
- }
- .menu a:hover {
- background-color: #005792;
- }
- .burger {
- display: block;
- margin: 20px auto;
- width: 50px;
- height: 50px;
- background-color: transparent;
- border-radius: 10px;
- outline: none;
- border: none;
- font-size: 2.5rem;
- color: #fff;
- cursor: pointer;
- }
- .menu.show {
- transform: translateX(0);
- }
- i.close {
- display: none;
- }
- .template {
- width: 80%;
- margin: 20px auto;
- }
- .template img {
- width: 100%;
- border: 3px solid #00204a;
- padding: 3px;
- border-radius: 10px;
- }
- figcaption a {
- display: block;
- width: 100%;
- padding: 20px 0;
- background-color: #00204a;
- color: #fff;
- margin-top: 30px;
- border-radius: 10px;
- font-size: 2rem;
- color: #fff;
- text-align: center;
- font-weight: bold;
- text-transform: uppercase;
- text-decoration: none;
- }
- .about {
- margin-top: 80px;
- padding: 50px 0;
- background-color: #00204a;
- color: #fff;
- }
- .myphoto {
- width: 80%;
- margin: 20px auto;
- }
- .myphoto img {
- width: 100%;
- border: 3px solid #fff;
- border-radius: 10px;
- padding: 5px;
- }
- .mydescription {
- margin: 20px auto;
- font-size: 2rem;
- line-height: 180%;
- width: 80%;
- text-align: center;
- }
- .cooperation {
- width: 80%;
- margin: 20px auto;
- padding: 10px;
- text-align: center;
- border: 3px solid #00204a;
- line-height: 180%;
- font-size: 2rem;
- border-radius: 10px;
- }
- .contact {
- margin-top: 80px;
- padding: 30px;
- background-color: #00204a;
- color: #fff;
- }
- .form-contact {
- margin-top: 30px;
- min-height: 1000px;
- text-align: center;
- }
- input[type="text"] {
- display: block;
- width: 80%;
- height: 100px;
- margin: 50px auto;
- padding: 20px;
- border: none;
- border-radius: 10px;
- outline: none;
- font-size: 2rem;
- font-weight: bold;
- font-family: 'Roboto Condensed', sans-serif;
- transition: box-shadow.3s linear;
- box-sizing: border-box;
- }
- input[type="email"] {
- display: block;
- width: 80%;
- height: 100px;
- margin: 50px auto;
- padding: 20px;
- border: none;
- border-radius: 10px;
- outline: none;
- font-size: 2rem;
- font-weight: bold;
- font-family: 'Roboto Condensed', sans-serif;
- transition: box-shadow.3s linear;
- box-sizing: border-box;
- }
- textarea {
- display: block;
- width: 80%;
- height: 300px;
- margin: 50px auto;
- padding: 20px;
- border: none;
- border-radius: 10px;
- outline: none;
- font-size: 2rem;
- font-weight: bold;
- font-family: 'Roboto Condensed', sans-serif;
- transition: box-shadow.3s linear;
- box-sizing: border-box;
- }
- input[type="submit"] {
- display: block;
- width: 80%;
- height: 100px;
- margin: 50px auto;
- padding: 20px;
- box-sizing: border-box;
- border: none;
- border-radius: 10px;
- outline: none;
- font-size: 2rem;
- font-weight: bold;
- font-family: 'Roboto Condensed', sans-serif;
- transition: box-shadow.3s linear;
- box-sizing: border-box;
- }
- input[type="submit"]:hover {
- cursor: pointer;
- -webkit-box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- -moz-box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- }
- input[type="text"]:focus,
- input[type="email"]:focus,
- textarea:focus,
- input[type="submit"]:focus {
- -webkit-box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- -moz-box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- box-shadow: 0px 0px 0px 12px rgba(0, 87, 146, 1);
- }
- .hidden {
- display: none;
- }
- @media only screen and (min-width:360px) {
- .topbar {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .burger {
- position: absolute;
- top: 31px;
- right: 10px;
- font-size: 2.8rem;
- }
- }
- @media only screen and (min-width:1200px) {
- .topbar {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .brand {
- margin: 20px;
- font-size: 5rem;
- }
- h2 {
- font-size: 3rem;
- margin: 10px 0;
- padding: 55px;
- }
- h3 {
- top: 30%;
- left: 50%;
- width: 50%;
- font-size: 5rem;
- transform: translate(-50%, -30%);
- }
- .menu {
- position: static;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 130px;
- margin: 20px;
- background-color: #00204a;
- transform: translateX(0);
- }
- .menu li {
- margin: 20px;
- text-align: center;
- }
- .burger {
- display: none;
- }
- .myphoto {
- width: 240px;
- margin: 20px
- }
- .container {
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- }
- .templates {
- margin-top: 80px;
- }
- .template {
- width: 30%;
- }
- .mydescription {
- width: 80%;
- margin: 10px;
- text-align: left;
- }
- .cooperations {
- padding: 40px 0;
- }
- .cooperation {
- width: 30%;
- transition: transform .3s linear;
- }
- .cooperation:hover {
- transform: translateY(-10px);
- }
- .form-contact {
- min-height: 1000px;
- position: relative;
- }
- input[type="text"] {
- display: inline-block;
- width: 35%;
- margin: 20px;
- }
- input[type="email"] {
- display: block;
- width: 73%;
- margin: 20px auto;
- box-sizing: border-box;
- }
- textarea {
- width: 73%;
- height: 300px;
- margin: 40px auto;
- box-sizing: border-box;
- }
- input[type="submit"] {
- position: absolute;
- bottom: 18%;
- right: 13.7%;
- width: 30%;
- margin: 20px auto;
- box-sizing: border-box;
- }
- .footer {
- width: 100%;
- height: 100px;
- text-align: center;
- line-height: 100px;
- background-color: #00204a;
- color: #fff;
- font-size: 2rem;
- }
- }
Add Comment
Please, Sign In to add comment