File size: 2,880 Bytes
94604aa f785c01 20e78d0 94604aa 20e78d0 f785c01 20e78d0 94604aa b0be169 94604aa f785c01 94604aa f785c01 94604aa b0be169 94604aa b0be169 94604aa b0be169 f785c01 94604aa b0be169 94604aa f785c01 94604aa f785c01 089dd1b 94604aa f785c01 94604aa 089dd1b 94604aa 089dd1b b0be169 089dd1b b0be169 94604aa b0be169 94604aa 089dd1b b0be169 20e78d0 b0be169 20e78d0 b0be169 7ce00fa b0be169 20e78d0 b0be169 94604aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
margin: 0;
padding: 0;
}
body {
font-family: Poppins, sans-serif;
min-height: 100vh;
overflow-x: hidden;
}
.hidden {
display: none;
}
nav {
background: #19274d;
color: aliceblue;
justify-content: flex-end;
display: flex;
align-items: center;
}
nav h1 {
left: 0;
margin: 20px;
margin-right:auto ;
margin-top: 10px;
margin-bottom: 10px;
}
nav span, .hero-section span {
color: rgb(126, 194, 49);
}
nav ul {
display: flex;
justify-content: space-between;
/* border: 2px solid red; */
height: 4rem;
}
/* Nav */
nav ul li {
display: flex;
transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
nav ul li a {
padding: 10px;
margin: 10px;
border: 2px;
background: #5582f3;
color: rgb(255, 255, 255);
text-decoration: none;
transition: all 0.3s linear;
border-bottom: 1px solid #5582f3;
}
nav ul li a:hover {
cursor: pointer;
background-color: rgba(234, 136, 208, 0.464);
border-bottom: 1px solid red;
}
.container {
color: aqua;
background-color: rgba(226, 159, 229, 0.321);
min-height: 100vh;
display: flex;
background: url(pic.avif) ;
background-repeat: no-repeat;
background-size: cover;
}
.container .hero-section h1 {
color: aliceblue;
font-size: 40px;
margin: 20px;
margin-left: 0;
}
.container .hero-section p {
color: rgb(205, 239, 184);
}
.container .hero-section {
/* background: red; */
width: 100%;
padding: 20px;
display: flex;
}
.container .hero-section .hero-container {
margin-top: 200px;
margin-left: 50px;
max-width: 50%;
/* background: url(repo.gif); */
background-repeat: no-repeat;
background-size: contain;
backdrop-filter: blur(2px);
height: fit-content;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.container .hero-section .hero-image{
width: 50%;
margin: auto;
flex-grow: 3;
}
@media (max-width:700px) {
nav {
display: inline-block;
width: 100%;
/* height: 100%; */
}
nav ul {
display: none;
position: absolute;
height: 100%;
background: #5582f3;
width: 50%;
z-index: 2;
padding-top: 50px;
transition: all 0.3s ease;
}
nav ul::before {
content: "";
position: absolute;
display: block;
width: 5000px;
height: 100vh;
background: rgba(255, 0, 0, 0);
backdrop-filter: blur(20px);
z-index: -1;
}
nav .active {
transition: all 0.3s ease;
display: inline-block;
}
nav ul li a {
width: 100%;
}
nav ul li a:hover {
background: #5582f39a;
}
.nav-close {
display: block;
float: right;
color: white;
font-weight: bold;
transition: all 0.3s ease;
cursor: pointer;
margin-right: 20px ;
}
.hiddenonmobile {
display: none;
}
} |