Quantum

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

* {

margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins", sans-serif;
}
/* navbar css */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px 10%;
background: whitesmoke;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}

.logo {
font-size: 25px;
color: rgb(9, 153, 242);
text-decoration: none;
font-weight: 1000;
}

.navbar a {
font-size: 18px;
color: #ededed;
text-decoration: none;
font-weight: 2000;
margin-left: 35px;
transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
color: #00abf0;
}
/* main section css */
.home {
height: 100vh;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10%;
}

.home-content {
max-width: 600px;
background-color: transparent;
}

.home-content h1 {
font-size: 56px;
font-weight: 700;
line-height: 1.2;
margin-bottom: 5px;
}

.home-content h3 {
font-size: 32px;
font-weight: 700;
color: #00abf0;
}

.home-content p {
font-size: 16px;
margin: 20px 0 40px;
}

.btn-box button {
background-color: #00abf0;
padding: 10px;
border-color: #00abf0;
border-width: 1px;
font-size: 16px;
font-weight: bold;
border-radius: 8px;
color: white;
cursor: pointer;
}
.btn-box button:hover {
background-color: white;
border-color: #00abf0;
color: #00abf0;
transition: 0.5s;
}

.wrapper {
display: flex;
align-items: center;
justify-content: space-between;
}

.card {
width: 350px;
height: 350px;
padding: 2rem 1rem;
background: #ededed;
position: relative;
display: inline-block;
align-items: flex-end;
box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
transition: 0.5s ease-in-out;
justify-content: space-around;
margin: 90px;
margin-right: 40px;
}

.card:hover {
transform: translateY(20px);
}
.card:before {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
rgba(0, 176, 155, 0.5),
rgba(150, 201, 61, 1)
);
z-index: 2;
transition: 0.5s all;
opacity: 0;
}

.card:hover::before {
opacity: 1;
}

.card img {
width: 100%;
height: auto;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
margin-bottom: 20px;
position: absolute;
top: 0;
left: 0;
}

.card .info {
position: relative;
z-index: 3;
color: #fff;
opacity: 0;
transform: translateY(30 px);
transition: 0.5s all;
}
.card:hover .info {
opacity: 1;
transform: translateY(0px);
}
.column .image_container img {
margin-bottom: 5px;
}
.card .info h1 {
font-size: 26px;
font-weight: bold;
margin-bottom: 15px;
}

.card .info p {
letter-spacing: 1px;
font-size: 14px;
margin-top: 12px;
margin-bottom: 30px;
}

.card .info .btn {


text-decoration: none;
padding: 0.5rem 1rem;
background: #fff;
color: #000;
font-size: 14px;
font-weight: bold;
cursor: pointer;
transition: 0.4s ease-in-out;
}
.card .info .btn:hover {
box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
}

.row {
display: flex;
flex-wrap: wrap;
padding: 2em 1em;
text-align: center;
}
.row_content {
text-align: center;
}
.column {
width: 100%;
padding: 0.5em 0;
}
h1 {
text-align: center;
font-size: 3.5em;
color: #1f003b;
}
.card {
box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
padding: 3.5em 1em;
border-radius: 0.6em;
color: #1f003b;
cursor: pointer;
transition: 0.3s;
background-color: aliceblue;
}
.img-container {
width: 100px;
height: 250px;
margin: auto;
}
.card img {
width: 100%;
border-radius: 50%;
}
.card h3 {
font-weight: 500;
}
.card p {
font-weight: 300;
text-transform: uppercase;
margin: 0.5em 0 2em 0;
letter-spacing: 2px;
}
.icons {
width: 50%;
min-width: 180px;
margin: auto;
display: flex;
justify-content: space-between;
}
.card a {
text-decoration: none;
color: inherit;
font-size: 1.4em;
}
.card:hover {
background: linear-gradient(#6045ea, #8567f7);
color: #ffffff;
}
.card:hover .img-container {
transform: scale(1.15);
}
@media screen and (min-width: 768px) {
section {
padding: 1em 7em;
}
}
@media screen and (min-width: 992px) {
section {
padding: 1em;
}
.card {
padding: 5em 1em;
}
.column {
flex: 0 0 33.33%;
max-width: 33.33%;
padding: 0 1em;
}
}

You might also like