2019-12-15 14:34:54 +02:00
/* === GENERAL === */
2019-12-15 04:02:33 +02:00
* {
margin : 0 ;
padding : 0 ;
box-sizing : border-box ;
}
2019-12-15 14:34:54 +02:00
/* === css variables === */
2019-12-15 04:02:33 +02:00
: root {
--header-bg-color : #4a7799 ;
2019-12-15 14:34:54 +02:00
--textarea-bg-color : rgb ( 250 , 246 , 246 ) ;
--body-bg-color : rgb ( 210 , 214 , 210 ) ;
--nav-link-color : #bbb ;
2019-12-15 04:02:33 +02:00
}
2019-12-15 14:34:54 +02:00
/* === body style === */
2019-12-15 04:02:33 +02:00
body {
background : var ( - - body - bg - color ) ;
margin : auto ;
2019-12-15 14:34:54 +02:00
line-height : 1.75 ;
font-weight : 900 ;
word-spacing : 1.5 px ;
font-family : 'Lato' , sans-serif ;
font-weight : 300 ;
2019-12-15 04:02:33 +02:00
}
2019-12-15 14:34:54 +02:00
/* === header style === */
2019-12-15 04:02:33 +02:00
header {
background : var ( - - header - bg - color ) ;
}
2019-12-15 14:34:54 +02:00
/* === title and subtitle style === */
2019-12-15 04:02:33 +02:00
h1 ,
h2 {
2019-12-15 14:34:54 +02:00
margin : 20 px ;
font-weight : 300 ;
font-family : Nunito ;
2019-12-15 04:02:33 +02:00
}
2019-12-15 14:34:54 +02:00
/* === header menu style === */
2019-12-15 04:02:33 +02:00
. menu-container {
width : 90 % ;
display : flex ;
justify-content : space-around ;
align-items : center ;
color : rgb ( 221 , 215 , 215 ) ;
padding : 25 px ;
}
. nav-lists {
display : flex ;
}
. nav-list {
list-style : none ;
margin : 0 5 px ;
}
. nav-link {
text-decoration : none ;
font-size : 22 px ;
padding : 0 5 px ;
color : var ( - - nav - link - color ) ;
2019-12-15 14:34:54 +02:00
font-weight : 400 ;
2019-12-15 04:02:33 +02:00
}
2019-12-15 14:34:54 +02:00
. brand-name {
font-size : 28 px ;
font-weight : bolder ;
}
/* === paragraph text style === */
p {
font-size : 22 px ;
font-weight : 300 ;
}
/* === main style === */
2019-12-15 04:02:33 +02:00
main {
width : 90 % ;
margin : auto ;
}
2019-12-15 14:34:54 +02:00
/* === container div inside main style === */
. container {
background : rgb ( 210 , 214 , 210 ) ;
padding : 20 px ;
margin : auto ;
}
. tech-lists {
margin : 10 px auto ;
text-align : left ;
font-size : 20 px ;
}
. tech {
list-style : none ;
}
/* === button style === */
. btn {
2019-12-15 04:02:33 +02:00
width : 150 px ;
height : 50 px ;
background : var ( - - header - bg - color ) ;
color : var ( - - nav - link - color ) ;
font-size : 20 px ;
2019-12-15 14:34:54 +02:00
margin : 5 px ;
2019-12-15 04:02:33 +02:00
border : 1 px solid var ( - - header - bg - color ) ;
2019-12-15 14:34:54 +02:00
font-family : Lato ;
cursor : pointer ;
2019-12-15 04:02:33 +02:00
}
. btn : focus {
outline : 2 px solid #2a70a5 ;
2019-12-15 14:34:54 +02:00
cursor : pointer ;
2019-12-15 04:02:33 +02:00
}
2019-12-15 14:34:54 +02:00
/* === textarea style === */
2019-12-15 04:02:33 +02:00
textarea {
2019-12-15 14:34:54 +02:00
width : 65 % ;
margin : auto ;
padding : 10 px 15 px ;
outline : 2 px solid rgba ( 207 , 203 , 203 , 0.25 ) ;
2019-12-15 04:02:33 +02:00
border : none ;
font-size : 18 px ;
2019-12-15 14:34:54 +02:00
font-family : Lato ;
font-weight : 300 ;
2019-12-15 04:02:33 +02:00
}
textarea : focus {
border : none ;
2019-12-15 14:34:54 +02:00
outline : 2 px solid rgba ( 74 , 119 , 153 , 0.45 ) ;
2019-12-15 04:02:33 +02:00
background : var ( - - textarea - bg - color ) ;
font-size : 18 px ;
2019-12-15 14:34:54 +02:00
caret-color : var ( - - header - bg - color ) ;
font-family : Lato ;
font-weight : 300 ;
}
/* === responsiveness === */
@ media ( max-width : 600px ) {
. menu-container {
flex-direction : column ;
justify-content : space-between ;
}
h1 {
font-size : 22 px ;
}
. nav-lists {
flex-direction : column ;
}
textarea {
width : 100 % ;
}
2019-12-15 04:02:33 +02:00
}