brc/css/styles.css

642 lines
10 KiB
CSS
Raw Normal View History

@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,700,900");
@import url("stylesheet.css");
* {
box-sizing: border-box;
transition: all ease-in-out 250ms;
}
body {
margin: 0;
font-family: "dominican_small_capsregular";
text-align: center;
2020-10-28 21:14:26 +01:00
background-color: #000;
}
img {
max-width: 100%;
}
2020-10-12 00:36:26 +02:00
.images {
filter: grayscale(100%);
transition: height 0.5s ease-out, filter 0.3s ease 0.5s, width 0.3s ease-out;
height: 200px;
width: 200px;
cursor:pointer;
2020-10-12 00:36:26 +02:00
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
.images:hover {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
transition: filter 0.8s ease-out;
}
.container {
margin: 0 auto;
}
.clearfix::after,
section::after,
footer::after {
content: "";
display: block;
clear: both;
}
video {
width: 100%;
height: auto;
}
/* Column system
=================== */
[class^="col-"] {
width: 100%;
margin-top: 1em;
}
[class^="col-"]:first-child {
margin-top: 0;
}
.col-1 {
width: 33.333334%;
float: left;
}
@media (min-width: 40rem) {
[class^="col-"] {
float: left;
padding: 0 0.5em;
margin-top: 0;
}
[class^="col-"]:first-child {
padding-left: 0;
}
[class^="col-"]:last-child {
padding-right: 0;
}
.col-3 {
width: 50%;
color: #f9f9ed;
}
.col-1 {
width: 16.6666%;
}
}
.column {
float: left;
width: 33.33%;
display: none; /* Hide all elements by default */
}
.row {
margin: 10px -16px;
}
.row,
.row > .column {
padding: 0.8px;
}
.row:after {
content: "";
display: table;
clear: both;
}
.show {
display: block;
}
/* typography
=================== */
h1 {
font-weight: 300;
font-size: 1.7rem;
margin-top: 0;
}
p {
margin-top: 0;
line-height: 1.5;
}
.p1 {
color: #fff;
padding-top: 20px;
padding-right: 100px;
padding-bottom: 20px;
padding-left: 100px;
}
p:last-of-type {
margin-bottom: 0;
}
.title {
font-size: 2.5rem;
margin-bottom: 1.5em;
font-weight: 900;
margin-top: 1em;
}
.title span {
font-weight: 300;
display: block;
font-size: 0.9em;
2020-10-10 01:15:09 +02:00
margin: 10px;
}
.title-cta {
margin: 0 0 0.5em;
}
.unstyled-list {
margin: 0;
padding: 0;
list-style-type: none;
}
@media (min-width: 60rem) {
p {
font-size: 1.2rem;
line-height: 1.6;
}
.title {
font-size: 3.7rem;
}
}
/* buttons */
.button {
display: inline-block;
font-size: 1.15rem;
text-decoration: none;
text-transform: uppercase;
border-width: 2px;
border-style: solid;
padding: 0.5em 1.75em;
}
@media (min-width: 60rem) {
.button {
font-size: 1.5rem;
}
}
.button.active {
background-color: #ffffff;
color: #232323;
}
.button-small {
font-size: 0.7rem;
font-weight: 700;
}
.button-accent {
color: #ffffff;
border-color: #ffffff;
2020-10-10 01:15:09 +02:00
cursor:pointer;
background: rgba(0,0,0,0.4);
box-shadow: 0px 0px 15px 5px #fff;
}
.button-accent-projects {
color: #ffffff;
border-color: #ffffff;
cursor:pointer;
background: rgba(0,0,0,0.4);
/*box-shadow: 0px 0px 15px 5px #fff;*/
}
.button-accent:hover,
.button-accent:focus {
2020-10-10 01:15:09 +02:00
background: #fff;
color: #232323;
}
.button-dark {
color: #232323;
border-color: #232323;
}
.button-dark:hover,
.button-dark:focus {
background: #232323;
color: #ffffff;
}
.btn {
/* border: none;
outline: none;
padding: 12px 16px; */
background-color: white;
cursor: pointer;
display: inline-block;
font-size: 1.15rem;
text-decoration: none;
text-transform: uppercase;
border-width: 2px;
border-style: solid;
padding: 0.5em 1.75em;
}
.btn:hover {
background-color: #ddd;
}
.btn.active {
background-color: #666;
color: white;
}
/* Parallax
2020-10-13 11:07:55 +02:00
=================== */ /* Das sollte wohl mal DAS werden https://www.w3schools.com/howto/howto_css_parallax.asp */
.parallax--bg {
width: auto;
}
/* header
=================== */
2020-10-10 01:15:09 +02:00
@media only screen and (min-width: 1000px) {
header {
z-index: 1;
2020-10-13 11:07:55 +02:00
position: absolute; /*verursacht das verschrobene menü auf der projects seite*/
2020-10-10 01:15:09 +02:00
top: 0px;
width: 100%;
}
}
2020-10-10 01:15:09 +02:00
@media only screen and (max-width: 500px) {
.nav li {
margin-left: 2px !important;
margin-right: 2px !important;
width: 20vw;
}
}
@media only screen and (min-width: 501px) and (max-width: 999px) {
.nav li {
margin-left: 2px !important;
margin-right: 2px !important;
width: 100px;
}
}
@media only screen and (min-width: 1000px) {
.nav li {
width: 100px;
}
}
header {
2020-10-10 01:15:09 +02:00
background: rgba(0,0,0,0.4);
2020-10-13 11:07:55 +02:00
margin: 0px; /*Der Versuch den header auf projects zu reparieren: margin: 1rem 0,0 klappt aber nicht so*/
}
2020-10-28 21:14:26 +01:00
@media only screen and (min-width: 1000px) {
div#project_margin {
margin-top: 250px;
}
video {
margin-top: 230px;
}
}
.nav ul {
margin: 0;
padding: 0;
list-style: none;
}
.nav li {
display: inline-block;
margin: 1em;
2020-10-10 01:15:09 +02:00
text-align: center;
}
.nav a {
font-weight: 900;
text-decoration: none;
2020-10-10 01:15:09 +02:00
/*! padding: 0.5em; */
text-transform: uppercase;
color: white;
2020-10-10 01:15:09 +02:00
font-size: 10pt;
/*! font-weight: bold; */
}
2020-10-10 01:15:09 +02:00
.nav a:hover {
color: #ddd;
2020-10-10 01:15:09 +02:00
font-size: 11pt;
/*! font-weight: bold; */
}
.logo {
margin-top: 0.5rem;
}
/* hero-home
=================== */
.home-hero {
background-image: url(../img/hero-bg.jpg);
background-size: cover;
background-position: center;
padding: 10em 0;
2020-10-10 01:15:09 +02:00
top: 0px;
color: #fff;
}
@media (min-width: 60rem) {
.home-hero {
height: 100vh;
padding-top: 35vh;
}
}
/* hero-home
=================== */
.home-about-textbox {
background-color: #232323;
padding: 10em 20%;
width: 100%;
outline: 2px solid#f9f9ed;
outline-offset: -2.5em;
color: #f9f9ed;
position: relative;
2020-10-14 23:31:26 +02:00
text-align: justify;
}
.home-about-textbox h1 {
color: #f9f9ed;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.75em;
background: #232323;
padding: 0 0.145em;
}
@media (min-width: 25rem) {
h1 {
font-size: 2rem;
}
.home-about-textbox h1 {
top: 0.6em;
}
}
@media (min-width: 60rem) {
h1 {
font-size: 2.5rem;
}
.home-about {
background-repeat: no-repeat;
}
.home-about-textbox {
width: 100%;
outline-offset: -3.75em;
/* margin-left: -2.5%; */
text-align: left;
box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.3);
}
.home-about-textbox h1 {
top: 0.75em;
left: 6rem;
transform: translateX(0);
}
}
/* portfolio
=================== */
/* .portfolio {
margin: 3em 0 0;
} */
.port-item {
margin: 0;
position: relative;
}
.port-item img {
display: block;
}
.port-desc {
position: absolute;
z-index: 100;
bottom: 0em;
left: 0em;
right: 0em;
color: white;
background: rgba(0, 0, 0, 0.6);
padding-bottom: 2em;
}
.port-desc p {
margin: 1em;
}
@media (min-width: 37rem) {
.port-item {
width: 50%;
float: left;
}
}
@media (min-width: 60rem) {
.port-item {
width: 33.3333334%;
overflow: hidden;
}
.port-desc {
transform: translateY(150%);
}
.port-item:hover .port-desc {
transform: translateY(0%);
}
}
/* display flex */
.pointer {
cursor: pointer;}
.gallery-container {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.gallery-item {
width: 50%;
margin-left: auto;
margin-right: auto;
}
@media screen and (max-width: 1000px) {
.gallery-item {
width: 100%;
}
}
/* Contact
=================== */
.contact-bg {
align-items: center;
background: url('../img/who-we-are.jpg');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
}
.contact-info {
background: #80808090;
margin: 25vmin 0;
padding: 1.5rem;
}
@media screen and (max-width: 1000px) {
.contact-info h2 {
font-size: 14px;
}
}
.gallery-description {
display: none;
}
.modal-gallery-all {
display: none;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1;
padding: 20px;
background-color: rgba(0, 0, 0, 0.8);
cursor:pointer;
}
.modal-gallery-txt-img-container {
max-height: 100%;
overflow-y: auto;
height: fit-content;
margin: auto;
}
.modal-gallery-all-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
height: fit-content;
margin: auto;
cursor:pointer;
}
.modal-all-img {
width: 260px;
max-width: 90%;
margin: 20px;
}
.modal-gallery {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 2;
padding: 15% 0;
background-color: rgba(0, 0, 0, 0.8);
}
.modal-gallery-outer-cont {
margin: auto;
display: flex;
flex-direction: column;
}
.modal-gallery-container {
display: flex;
justify-content: center;
}
.modal-gallery-image {
max-width: 80%;
}
.modal-gallery-button-prev {
visibility: hidden;
pointer-events: none;
margin: auto 20px;
padding: 10px;
}
.modal-gallery-button-prev:hover {
cursor: pointer;
}
.modal-gallery-button-next {
margin: auto 20px;
padding: 10px;
}
.modal-gallery-button-next:hover {
cursor: pointer;
}
.modal-gallery-close {
margin-left: auto;
}
.modal-gallery-close:hover {
cursor: pointer;
}
/* CTA
=================== */
.cta {
background-color: #f9f9ed;
padding: 5em 0;
}
/* Footer
=================== */
footer {
background: #232323;
color: #f9f9ed;
text-align: left;
padding: 5em 0;
}