2024-01-06 02:30:45 +04:00

308 lines
5.4 KiB
CSS

:root{
--color1: rgba(76, 115, 255, 1);
--color2: rgba(13, 12, 30, 1);
--color3: rgba(255, 255, 255, 1);
}
@font-face {
font-family: 'Ubuntu';
src: url('../fonts/Ubuntu-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Ubuntu';
src: url('fonts/Ubuntu-Bold.woff') format('woff');
font-weight: normal;
font-style: bold;
}
@font-face {
font-family: 'Ubuntu';
src: url('../fonts/Ubuntu-Medium.woff') format('woff');
font-weight: normal;
font-style: medium;
}
@font-face {
font-family: 'Syne';
src: url('../fonts/Syne-Bold.woff') format('woff');
font-weight: normal;
font-style: bold;
}
.navbar {
margin: 0;
padding: 0;
padding-left: 88px;
padding-right: 88px;
}
section{
padding: 65px 0;
}
.bg-body-color {
background-color: rgb(255, 255, 255);
}
.navbar-brand {
margin-right: 40px;
}
.nav-link.active{
font-family: 'Ubuntu';
font-weight: bold;
opacity: 1;
}
.nav-link {
margin-right: 20px;
font-family: 'Ubuntu';
font-weight: normal;
font-size: 18px;
color: var(--color3);
opacity: 0.7;
}
.nav-link:hover {
opacity: 1;
}
.btn{
font-family: 'Ubuntu';
font-weight: normal;
font-size: 18px;
}
.list{
color: rgba(255, 255, 255);
font-family: Ubuntu;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
opacity: 0.5;
}
.bosslist{
color: #FFF;
font-family: Ubuntu;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 123%; /* 19.68px */
letter-spacing: 0.56px;
}
.activenav{
color: rgba(255, 255, 255);
font-weight: bold;
opacity: 1;
}
.active{
color: rgba(255, 255, 255);
font-weight: bold;
opacity: 1;
}
footer{
background: #000;
padding-top: 65px;
padding-bottom: 0;
}
.list:hover{
opacity: 1;
}
.textlist{
white-space: nowrap;
}
/* --------------------------------------------------------- */
h1{
color: var(--, #0C0C1D);
text-align: center;
font-family: Ubuntu;
font-size: 36px;
font-style: normal;
}
h2{
color: var(--, #0C0C1D);
text-align: center;
font-family: Ubuntu;
font-size: 18px;
font-style: medium;
font-weight: 400;
line-height: normal;
}
@media (max-width: 380px) {
.navbar {
padding-left: 0;
padding-right: 0;
text-align: center;
}
.navbar-brand {
margin-right: 0;
}
.navbar-toggler {
margin-right: 0;
}
.navbar-nav {
flex-direction: column;
}
.nav-item {
margin-right: 0;
}
}
@media (max-width: 170px) {
.navbar-toggler {
display: block;
position: static;
margin-top: 10px;
}
.navbar-brand {
display: block;
text-align: center;
}
.navbar-nav {
display: none;
}
}
/* ----------------------header-------------------- */
header{
background-image: url(../img/fon.png);
background-size: 100% 100%;
background-position: center;
padding-left: 50px;
padding-right: 50px;
padding-top: 71px;
padding-bottom: 150px;
}
.glavtext{
padding-bottom: 29px;
}
#searc{
padding: 10px;
position: absolute;
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 100%);
}
.first{
background-color: rgba(156, 181, 211, 0.5);
}
.picture{
margin-left: 5px;
}
@media(max-width: 1198px){
#searc{
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 170%);
}
}
@media(max-width: 992px){
#searc{
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 180%);
}
}
@media (max-width: 560px) {
.glavtext {
font-size: 26px;
}
.maltext {
font-size: 14px;
}
}
@media (max-width: 440px) {
#searc{
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 210%);
}
}
@media (max-width: 310px) {
.glavtext {
font-size: 18px;
}
.maltext {
font-size: 12px;
}
#text-search{
font-size: 10px;
}
#searc{
padding: 1px;
}
}
@media (max-width: 230px) {
.glavtext {
font-size: 12px;
padding-bottom: 0px;
}
.maltext {
font-size: 10px;
}
#firstheader{
padding-bottom: 50px;
}
#searc{
position: absolute;
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 0%);
}
.picture{
margin-left: 1px;
}
}
@media (max-width: 200px) {
#searc{
position: absolute;
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 60%);
}
}
@media (max-width: 180px) {
#searc{
position: absolute;
top: 50%;
left: 50%;
right: 20%;
transform: translate(-50%, 130%);
}
}
.card-comment {
position: relative;
}
.card-comment{
background-color: rgba(255, 255, 255);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
border-radius: 30px;
padding-left: 67px;
padding-right: 67px;
margin-bottom: 20px;
}
.thumb img {
-webkit-filter: grayscale(0);
filter: none;
border-radius: 5px;
padding: 5px;
}
.thumb img:hover {
-webkit-filter: grayscale(1);
filter: grayscale(1);
}
.thumb {
padding: 0px;
}