You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
2.5 KiB
142 lines
2.5 KiB
3 years ago
|
:root{
|
||
|
--main-background-color: rgb(250, 250, 250);
|
||
|
--main-color: rgb(35, 35, 35);
|
||
|
--secondary-color: rgb(243, 243, 243);
|
||
|
}
|
||
|
|
||
|
|
||
|
body{
|
||
|
margin: 0;
|
||
|
font-family: "Inter", sans-serif;
|
||
|
overflow-x: hidden;
|
||
|
background-color: var(--main-background-color);
|
||
|
color: var(--main-color);
|
||
|
}
|
||
|
|
||
|
/*FLEX*/
|
||
|
.container{
|
||
|
display: flex;
|
||
|
}
|
||
|
.container-wrap{
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.justify-between{
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
.justify-around{
|
||
|
justify-content: space-around;
|
||
|
}
|
||
|
.justify-center{
|
||
|
justify-content: center;
|
||
|
}
|
||
|
.align-items-center{
|
||
|
align-items: center;
|
||
|
}
|
||
|
.flex-column{
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*STYLE*/
|
||
|
.floating-shadow{
|
||
|
box-shadow: rgb(214, 214, 214) 0 0 10px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*BOUTTONS*/
|
||
|
.button{
|
||
|
display: block;
|
||
|
width: max-content;
|
||
|
text-decoration: none;
|
||
|
padding: 0.6em 1.4em;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.is-border-white{
|
||
|
color: var(--secondary-color);
|
||
|
background-color: transparent;
|
||
|
border: 2px solid var(--secondary-color);
|
||
|
transition: 0.3s ease-in-out;
|
||
|
}
|
||
|
.is-border-white:hover{
|
||
|
background-color: rgba(255, 255, 255, 0.2);
|
||
|
transition: 0.3s ease-in-out;
|
||
|
}
|
||
|
|
||
|
.is-black{
|
||
|
color: var(--secondary-color);
|
||
|
background-color: var(--main-color);
|
||
|
transition: 0.3s ease-in-out;
|
||
|
border: none;
|
||
|
}
|
||
|
.is-black:hover{
|
||
|
color: var(--secondary-color);
|
||
|
background-color: black;
|
||
|
transition: 0.3s ease-in-out;
|
||
|
}
|
||
|
|
||
|
/*---------------NAV---------------*/
|
||
|
#navbar{
|
||
|
width: 94%;
|
||
|
position: fixed;
|
||
|
background-color: white;
|
||
|
z-index: 1;
|
||
|
padding: 0 3%;
|
||
|
}
|
||
|
#navbar-brand{
|
||
|
margin-right: 0.4em;
|
||
|
}
|
||
|
#navbar-left{
|
||
|
color: var(--main-color);
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
#navbar-right{
|
||
|
list-style: none;
|
||
|
}
|
||
|
#navbar-right > li{
|
||
|
margin-left: 0.4em;
|
||
|
}
|
||
|
#navbar-right > li > a{
|
||
|
color: var(--main-color);
|
||
|
text-decoration: none;
|
||
|
padding: 0.4em 0.8em;
|
||
|
transition: 0.1s ease-in-out;
|
||
|
}
|
||
|
#navbar-right > li > a:hover{
|
||
|
color: black;
|
||
|
transition: 0.1s ease-in-out;
|
||
|
}
|
||
|
|
||
|
/*card*/
|
||
|
.card{
|
||
|
background-color: rgb(245, 245, 245);
|
||
|
width: fit-content;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.card > img{
|
||
|
object-fit: cover;
|
||
|
width: 30vh;
|
||
|
height: 30vh;
|
||
|
}
|
||
|
/*SECTION-----------*/
|
||
|
.section{
|
||
|
width: 80%;
|
||
|
margin: 0 auto;
|
||
|
margin-bottom: 2em;
|
||
|
}
|
||
|
.section-title{
|
||
|
margin-top: 1em;
|
||
|
font-size: 2em;
|
||
|
}
|
||
|
|
||
|
/*FOOTER*/
|
||
|
footer{
|
||
|
background-color: rgb(233, 233, 233);
|
||
|
padding: 1em 1em;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
footer > img{
|
||
|
margin-left: 1em;
|
||
|
}
|