100-project-100-days-website/css/style.css
2022-08-24 22:43:03 +03:00
Ask

188 lines
3.2 KiB
CSS

{6f4dc706230d40c0c10cec88cbdfda95c60da149 true 3238 style.css 0xc002aebce0}

@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Aboreto', cursive;
}
.header{
position: relative;
width: 100%;
height: 100vh;
background: url(../img/bg1.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.header .container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.header .container .countdown-container{
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
font-size: 30px;
margin-top: 20px;
}
.header .container .countdown-container small{
font-size: 11px;
}
.header #text{
position: relative;
font-size: 29px;
text-align: center;
transition: .3s;
padding-top: 150px;
}
.header .clouds{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
pointer-events: none;
}
.header .clouds img{
position: absolute;
bottom: 0;
max-width: 100%;
animation: animate calc(10s * var(--i)) linear infinite;
}
@keyframes animate{
0%{
transform: translateX(-100%);
}
100%{
transform: translateX(100%);
}
}
/* Start My Projects*/
section{
position: relative;
padding: 75px 100px;
}
section h2{
position: relative;
font-size: 2.5em;
margin-bottom: 20px;
}
section .projects{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 30px;
}
section .projects .box{
box-shadow:
0 2px 15px rgba( 0 0 0 / 20%),
0 -2px 15px rgba( 0 0 0 / 20%);
background: #fff;
border-radius: 4px;
overflow: hidden;
}
section .projects .box img{
width: 100%;
max-width: 100%;
height: 200px;
}
section .projects .box .content{
padding: 20px;
}
section .projects .box .content h3{
margin: 0;
}
section .projects .box .content p{
color: #777;
line-height: 1.5;
margin: 10px 0 0;
}
section .projects .box .info{
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-top: 1px solid #e6e6e7;
}
/* Footer*/
footer{
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(0, 0, 0, .9);
padding: 20px;
text-align: center;
}
footer .copyright{
color: #fff;
}
footer .media ul{
display: flex;
justify-content: center;
align-items: center;
gap:10px
}
footer .media ul li{
list-style: none;
}
footer .media ul li a{
color: #000;
padding: 10px 13px;
background: #fff;
border-radius: 50%;
transition: .3s;
}
footer .media ul li a:hover{
background: #000;
color: #fff;
}
@media(max-width:767px){
footer{
flex-direction: column;
gap: 30px;
font-size: 15px;
}
}
/* Scroll to Top */
.scrollTop{
position: fixed;
bottom: 70px;
right: -50px;
font-size: 20px;
padding: 5px 7px;
background: #000;
color: #fff;
border-radius: 5px;
transition: .3s;
cursor: pointer;
}
.scrollTop.show{
right: 20px;
}
.scrollTop:hover{
background: #000;
color: #fff;
}