281 lines
4.9 KiB
CSS
281 lines
4.9 KiB
CSS
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
|
|
body, html {
|
|
font-family: 'Open Sans', sans-serif !important;
|
|
color: #4A4A4A !important;
|
|
margin: 0;
|
|
}
|
|
body a, html a {
|
|
margin: 0;
|
|
text-decoration: none;
|
|
}
|
|
section.gallery-in, section.home{
|
|
background: #EEEEEE;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 3em 5em;
|
|
}
|
|
section.team , section.contact-us, section.about{
|
|
background: #FFF;
|
|
padding: 3em 5em;
|
|
height: auto;
|
|
}
|
|
h1.title{
|
|
font-weight: 700;
|
|
font-size: 5em;
|
|
margin-bottom: .4rem
|
|
}
|
|
h1.left{
|
|
text-align: left;
|
|
padding-top: .25em;
|
|
font-size: 4em;
|
|
font-weight: 400;
|
|
}
|
|
h2.title{
|
|
font-size: 3.5em;
|
|
font-weight: 400;
|
|
}
|
|
h3.title{
|
|
font-size: 3em;
|
|
font-weight: 700;
|
|
}
|
|
p.article{
|
|
padding-top: .3em;
|
|
font-size: 2.5em;
|
|
}
|
|
section.home {
|
|
min-height: 100vh;
|
|
background-image: url('../img/logo.png');
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: 28em;
|
|
}
|
|
a img.arrow-down{
|
|
width: 3.5em;
|
|
position: absolute;
|
|
top: calc(100vh - 4em);
|
|
left: calc(50% - 1.75em);
|
|
}
|
|
section h1{
|
|
text-align: center;
|
|
}
|
|
section.about article.about-us-1 , article.about-us-2{
|
|
padding-top: 4em;
|
|
}
|
|
/* FUTURE PLANS FOR INCONS
|
|
article.about-us-1 h3.title::before{
|
|
content: "Whaaat";
|
|
}
|
|
*/
|
|
div.gallery{
|
|
display: block;
|
|
margin-top: 1.6em;
|
|
}
|
|
div.gallery img{
|
|
width: 100%;
|
|
}
|
|
section.people{
|
|
padding-top: 2em;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 23.05em);
|
|
grid-template-rows: repeat(2,auto);
|
|
grid-gap: 3em;
|
|
justify-content: space-evenly;
|
|
text-align: center;
|
|
}
|
|
section.member{
|
|
margin: 2em 0 0 0;
|
|
}
|
|
section.member-last{
|
|
width: 23em;
|
|
margin: 5em auto 0 auto;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
img.member-photo{
|
|
padding: 1em;
|
|
width: 75%;
|
|
}
|
|
form.contact-form{
|
|
display: grid;
|
|
grid-template-rows: repeat(3,auto);
|
|
grid-row-gap: .5em;
|
|
font-size: 2.5em;
|
|
font-weight: 300;
|
|
margin: 1.5em 0;
|
|
}
|
|
input.name-surname{
|
|
width: 15em;
|
|
}
|
|
input{
|
|
width: 15em;
|
|
}
|
|
textarea{
|
|
resize: none !important;
|
|
overflow: hidden !important;
|
|
}
|
|
input, textarea{
|
|
background-color: #F9F9F9;
|
|
color: #4A4A4A !important;
|
|
border: none;
|
|
padding: .35em .5em;
|
|
}
|
|
button{
|
|
display: block !important;
|
|
margin: .7em auto 0 auto !important;
|
|
width: 13em;
|
|
color: #828282;
|
|
background-color: #EEEEEE;
|
|
border: none;
|
|
justify-content: center;
|
|
}
|
|
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
font-weight: 300;
|
|
color: #9D9D9D;
|
|
opacity: 1; /* Firefox */
|
|
}
|
|
|
|
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
font-weight: 300;
|
|
color: #9D9D9D;
|
|
}
|
|
|
|
::-ms-input-placeholder { /* Microsoft Edge */
|
|
font-weight: 300;
|
|
color: #9D9D9D;
|
|
}
|
|
|
|
footer{
|
|
background-color: #4A4A4A;
|
|
padding: 3em 3em;
|
|
color: #FCFCFC !important;
|
|
}
|
|
/* <--- NAVIGATION ---> */
|
|
nav {
|
|
position: fixed;
|
|
background: #EEEEEE;
|
|
width: calc(100%);
|
|
height: calc(100vh);
|
|
z-index: +101;
|
|
transform: scaleX(0);
|
|
transform-origin: right;
|
|
}
|
|
nav ul {
|
|
list-style-type: none;
|
|
margin: 6em auto 0 auto;
|
|
display: grid;
|
|
grid-template-rows: repeat(6, 8em);
|
|
justify-content: space-evenly;
|
|
text-align: center;
|
|
width: 80%;
|
|
}
|
|
nav ul a{
|
|
color:#4A4A4A;
|
|
font-weight: bold;
|
|
font-size: 4.5em;
|
|
}
|
|
nav ul li {
|
|
opacity: 0;
|
|
animation: show-x .7s 1s forwards;
|
|
}
|
|
nav ul a:hover{
|
|
color:#0E404D;
|
|
text-decoration: none;
|
|
}
|
|
#overlay h1.title{
|
|
opacity: 0;
|
|
}
|
|
img.close-btn {
|
|
opacity: 0;
|
|
padding-top: 1.5em;
|
|
position: relative;
|
|
width: 4.2em;
|
|
cursor: pointer;
|
|
}
|
|
img.menu-btn {
|
|
position: relative;
|
|
padding-top: 1.5em;
|
|
width: 5.5em;
|
|
cursor: pointer;
|
|
}
|
|
header{
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: +100;
|
|
}
|
|
div.navbar-strip{
|
|
margin-top: 1em;
|
|
}
|
|
div.navbar-container{
|
|
padding: 0 3em;
|
|
}
|
|
div.navbar-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(2,auto);
|
|
}
|
|
div.-right{
|
|
text-align: right;
|
|
}
|
|
.inactive{
|
|
animation: r-slide-menu .3s ease-out forwards;
|
|
}
|
|
.active{
|
|
display: block;
|
|
animation: slide-menu .3s ease-in forwards;
|
|
}
|
|
.active .close-btn, .active h1.title{
|
|
animation: show-x .3s .5s forwards;
|
|
}
|
|
.active li:nth-of-type(1){
|
|
animation: menu-item .25s forwards .35s ease-in-out;
|
|
}
|
|
.active li:nth-of-type(2){
|
|
animation: menu-item .25s forwards .40s ease-in-out;
|
|
}
|
|
.active li:nth-of-type(3){
|
|
animation: menu-item .25s forwards .45s ease-in-out;
|
|
}
|
|
.active li:nth-of-type(4){
|
|
animation: menu-item .25s forwards .50s ease-in-out;
|
|
}
|
|
.active li:nth-of-type(5){
|
|
animation: menu-item .25s forwards .55s ease-in-out;
|
|
}
|
|
.active li:nth-of-type(6){
|
|
animation: menu-item .25s forwards .60s ease-in-out;
|
|
}
|
|
/* <--- ANIMATIONS ---> */
|
|
@keyframes slide-menu {
|
|
from{
|
|
transform: scaleX(0);
|
|
}
|
|
to{
|
|
transform: scaleX(1);
|
|
}
|
|
}
|
|
@keyframes r-slide-menu {
|
|
from{
|
|
transform: scaleX(1);
|
|
}
|
|
to{
|
|
transform: scaleX(0);
|
|
}
|
|
}
|
|
@keyframes show-x {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@keyframes menu-item {
|
|
from{
|
|
transform: translateY(60%);
|
|
opacity: 0;
|
|
}
|
|
to{
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|