Files
2025-05-07 15:29:44 +04:00

319 lines
5.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-size: 18px;
font-family: sans-serif;
margin: 0;
padding: 0;
height: 100%;
}
.content{
min-height: 100%;
display: flex;
flex-direction: column;
}
.main{
flex: 1 1 auto
}
a {
text-decoration: none;
}
a:hover {
color: white;
}
a:visited,
a:link {
color: #dbe2ef;
}
.header {
position: fixed;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 90px;
background: #112d4e;
color: #dbe2ef;
top: 0;
left: 0;
padding: 0 20px;
z-index: 10;
}
.logo{
display: flex;
align-items: center;
}
.logo img {
width: 60px;
height: 60px;
border-radius: 15px;
}
.header h1 {
font-size: 1.5em;
margin-left: 20px;
}
.menu {
display: flex;
align-items: center;
list-style: none;
}
.menu li {
margin-left: 20px;
position: relative;
}
.features-menu {
display: none;
flex-direction: column;
background: #b2d6ff;
border-radius: 5px;
position: absolute;
top: 40px;
left: 0;
z-index: 1;
padding: 10px 0;
}
.features-menu a {
color: #112d4e;
}
.dropdown:hover .features-menu {
display: flex;
}
.features-menu li {
padding: 10px 20px;
text-align: center;
border-bottom: 1px solid #fff;
}
.features-menu li:last-child {
border-bottom: none;
}
.card {
padding-top: 100px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin: 20px;
text-align: center;
font-family: arial;
}
.price {
color: grey;
font-size: 22px;
}
.card button {
border: none;
outline: 0;
padding: 12px;
color: white;
background-color: #00264d;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
.card button:hover {
opacity: 0.7;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
width: 100%;
justify-content: center;
justify-items: center;
column-gap: 60px;
row-gap: 40px;
margin: 0 auto;
padding-bottom: 50px;
padding-top: 50px;
}
.footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #00264d;
color: #b2d6ff;
}
.social-container {
display: flex;
flex-wrap: wrap;
}
.social {
display: flex;
align-items: center;
margin-right: 20px;
}
.contact-info {
text-align: right;
margin-left: auto;
}
@media (max-width: 400px) {
.header {
flex-direction: column;
align-items: flex-start;
padding: 10px;
height: auto;
}
.logo {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.logo img {
width: 45px;
height: 45px;
margin-left: 0;
margin-right: 10px;
}
.header h1 {
margin: 0;
font-size: 1.2em;
white-space: nowrap;
}
.menu {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
margin-left: 0;
gap: 5px;
padding-left: 10px;
font-size: smaller
}
.menu > li {
margin-right: 0;
}
.dropdown .features-menu {
position: absolute;
top: 100%;
left: 0;
background: #b2d6ff;
border-radius: 5px;
display: none;
flex-direction: column;
justify-content: center;
z-index: 1000;
padding: 10px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.dropdown:hover .features-menu {
display: flex;
flex-direction: column;
}
}
@media (min-width: 400px) and (max-width: 767px) {
.header {
flex-direction: column;
align-items: flex-start;
padding: 10px;
height: auto;
}
.logo {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.logo img {
width: 50px;
height: 50px;
margin-left: 0;
margin-right: 10px;
}
.header h1 {
margin: 0;
font-size: 1.2em;
white-space: nowrap;
}
.menu {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
margin-left: 0;
gap: 10px;
padding-left: 10px;
}
.menu > li {
margin-right: 0;
}
.dropdown .features-menu {
position: absolute;
top: 100%;
left: 0;
background: #b2d6ff;
border-radius: 5px;
display: none;
flex-direction: column;
justify-content: center;
z-index: 1000;
padding: 10px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.dropdown:hover .features-menu {
display: flex;
flex-direction: column;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
.text-container h2 {
font-size: 2em;
}
}
@media (min-width: 1024px) and (max-width: 1365px) {
.text-container h2 {
font-size: 2.5em;
}
}
@media (min-width: 1366px) {
.text-container h2 {
font-size: 3em;
}
}