:root{
 --hover-color: rgba(91, 165, 255, 0.834);
 --wave-effect: inset 20px 0px 9px rgba(33, 103, 255, 0.608);
}

html{
 scroll-behavior: smooth;
}

body{
    background-color: rgb(15, 15, 15);
    color: aliceblue;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    overflow-x: hidden;
}

.up-element{
  width: 100%;
  height: 10vh;
  background: rgba(0, 0, 0, 0.741);
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 100;
}
.input-up{
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0 1.5%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
}

.to-home{
    width: 12%;
    height: 90%;
    position: absolute;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-up{
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.logo-img{
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0);
    background-image: url('/image/logo.png');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}
.logo-name{
    font-size: 200%;
    font-weight: bold;
    margin-left: 10px;
    transition: all 0.3s;
    color: aliceblue;
}
.btn-up{
  display: flex;
  align-items: center;
  font-size: 120%;
  gap: 20px;
}
.home-btn, .project-btn, .contact-btn{
    width: 170px;
    height: 45px;
    background: rgba(85, 85, 85, 0.259);
    border-left: 1px solid rgba(130, 130, 130, 0.216);
    border-top: 1px solid rgba(137, 137, 137, 0.216);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: aliceblue;
    box-sizing: border-box;
}
.home-btn:hover, .project-btn:hover, .contact-btn:hover{
  color: var(--hover-color);
  border-top: 0.4px solid var(--hover-color);
  border-left: 0.5px solid rgba(255, 255, 255, 0.264);
  box-shadow: var(--wave-effect);
  
}
.home-btn i , .project-btn i , .contact-btn i{
 margin-right: 9px;
}
.login-btn{
  width: 53px;
  height: 53px;
  background: rgba(85, 85, 85, 0.259);
  border-left: 1px solid rgba(130, 130, 130, 0.216);
  border-top: 1px solid rgba(137, 137, 137, 0.216);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s;
  text-decoration: none;
  color: aliceblue;
}
.login-btn:hover{
    color: var(--hover-color);
    border-left: 1px solid var(--hover-color);
    border-top: 1px solid var(--hover-color);    
    box-shadow: var(--wave-effect);
}

.ivent-menu{
    z-index: 20;
    position: fixed;
    right: 2.5%;
    top: 11%;
    opacity: 0;
    pointer-events: none;
}

.ivent-window{
    width: 300px;
    height: 500px;
    background: rgba(255, 255, 255, 0.129);
    backdrop-filter: blur(30px);
    border-radius: 15px 1px 15px 15px;
    overflow: hidden;
    display: flex;
}

.account-info{
    width: 90%;
    height: 15%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.099);
    display: flex;
    align-items: center;
    position: absolute;
    left: 5%;
    cursor: pointer;
}

.account-info section{
  color: rgba(240, 248, 255, 0.9);
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 63px;
}

#chevron{
    color: rgba(240, 248, 255, 0.723);
    position: absolute;
    right: 0;
}

#lang{
    border: none;
    background: rgba(245, 245, 245, 0.122);
    border-radius: 5px;
    color: aliceblue;
    transform: scale(1.15);
    outline: none;
}
#lang:focus {
    background: rgba(245, 245, 245, 0.25);
}

#lang option{
    color: aliceblue;
    background: rgb(0, 0, 0);
    border: none;
    border-radius: 10px;
}
#lang option:checked {
    color: var(--hover-color);
}

.ico-account{
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.256);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.ico-account:hover{
  color: rgba(255, 255, 255, 0.486);
}

.ico-speak{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;   
    font-size: 25px;
}

.home-page{
 position: relative;
 width: 100%;
 padding: 15% 5% 5% 5%;
 display: flex;
 flex-wrap: wrap; 
 justify-content: center;
 align-items: center;
 box-sizing: border-box;
}
.start-message{
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
}
.start-message h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.start-message p{
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-top: -30px;
    margin-left: -10px;
    color: rgba(240, 248, 255, 0.895);
}
.start-message a{  
  font-size: clamp(16px, 1.5vw, 20px);
  border-left: 1px solid var(--hover-color);
  border-top: 1px solid transparent;
  border-radius: 20px;
  margin: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.5s;
  text-decoration: none;
  color: aliceblue;
  display: inline-block;
}
.start-message a:hover{
  color: var(--hover-color);
  border-top: 0.4px solid var(--hover-color);
  border-left: 1px solid rgba(255, 255, 255, 0.177);
  box-shadow: var(--wave-effect);
}
.home-logo{
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: -50px;
}
.h-logo{
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    background-image: url('/image/logo.png');
    background-size: cover;
    background-position: center;
    box-shadow: rgba(255, 255, 255, 0.756) 2px 2px 2px ;
    border-radius: 10px;
}

.p-p{
    position: relative;
    margin-top: 50px;
}

.project-page{
    position: relative;
    width: 100%;
    padding: 50px 5%;
    box-sizing: border-box;
}
.famous-project{
    text-align: center;
}
.famous-project section{
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
}
.famous-project p{
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 10px;
}

.popular-card{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}
.card{
    width: min(330px, 90vw);
    height: 400px;
    background: rgba(49, 49, 49, 0.466);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.img-card{
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.171);
}
.card section{
    color: rgba(240, 248, 255, 0.818);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-top: 10px;
    padding: 0 10px;
}
.card i{
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: rgba(255, 217, 0, 0.749);
    margin: 10px 0;
}

.card h3{
  font-weight: lighter;
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 90%;
  padding: 0 15px;
  line-height: 1.5;
  margin: 10px 0;
  flex-grow: 1;
}

.btn-card-block{
    display: flex;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
    width: 100%;
}

.card a{
 width: 100px;
 height: 35px;
 background: rgba(255, 255, 255, 0.108);
 border-top: 0.4px solid rgba(255, 255, 255, 0.44);
 border-left: 0.5px solid rgba(255, 255, 255, 0.177);
 border-radius: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s;
 cursor: pointer;
 text-decoration: none;
 color: aliceblue;
 font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.card a:hover{
    color: var(--hover-color);
   border-top: 0.4px solid var(--hover-color);
   border-left: 0.5px solid rgba(255, 255, 255, 0.264);
   box-shadow: var(--wave-effect);
}

.contact-page{
    width: 100%;
    padding: 50px 5%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-names-block{
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.contact-names-block section{
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
}
.contact-names-block p{
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 10px;
}

.contact-block{
    width: min(600px, 90%);
    background: rgba(255, 255, 255, 0.045);
    border-radius: 1rem;
    padding: 30px 20px;
    box-sizing: border-box;
}

.channels-contact{
    text-align: center;
    margin-bottom: 40px;
}
.channels-contact section{
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    margin-bottom: 20px;
}
.channels-contact label{
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.channels-contact a{
    width: min(300px, 90%);
    height: 45px;
    background: rgba(255, 255, 255, 0.149);
    border-top: 0.4px solid rgba(255, 255, 255, 0.44);
    border-left: 0.5px solid rgba(255, 255, 255, 0.177);
    border-radius: 7px;
    text-decoration: none;
    color: aliceblue;
    font-size: clamp(1rem, 2vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-sizing: border-box;
}
.channels-contact a:hover{
 border-top: 0.4px solid var(--hover-color);
 color: var(--hover-color);
 box-shadow: var(--wave-effect);
}
.channels-contact a i{
    margin-right: 10px;
    margin-left: 10px;
}

.linia{
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.386);
    margin: 30px auto;
}

.message-contact{
    text-align: center;
}
.message-contact section{
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    margin-bottom: 20px;
}
.message-contact label{
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.message-contact a{
    width: min(300px, 90%);
    height: 45px;
    background: rgba(255, 255, 255, 0.149);
    border-top: 0.4px solid rgba(255, 255, 255, 0.44);
    border-left: 0.5px solid rgba(255, 255, 255, 0.177);
    border-radius: 7px;
    text-decoration: none;
    color: aliceblue;
    font-size: clamp(1rem, 2vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-sizing: border-box;
}
.message-contact a:hover{
 border-top: 0.4px solid var(--hover-color);
 color: var(--hover-color);
 box-shadow: var(--wave-effect);
}
.message-contact a i{
    margin-right: 10px;
    margin-left: 10px;
}
@media (max-width: 1200px) {
    .home-page {
        flex-direction: column;
        text-align: center;
    }
    .start-message {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .btn-up {
        font-size: 100%;
        gap: 10px;
    }
    
    .home-btn, .project-btn, .contact-btn {
        width: 135px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .login-btn {
        width: 45px;
        height: 45px;
    }
    
    .card {
        height: 380px;
    }
    
    .img-card {
        height: 100px;
    }
}

@media (max-width: 600px) {
    .input-up {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo-up {
        margin-bottom: 10px;
    }
    
    .btn-up {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .home-page {
        padding-top: 25%;
    }
    
    .start-message a {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .popular-card {
        gap: 20px;
    }
    
    .card {
        width: 90%;
        max-width: 330px;
    }
    
    .card:nth-child(2) {
        transform: scale(1) !important;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.2rem;
    }
    
    .home-btn, .project-btn, .contact-btn {
        width: 90px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .start-message h1 {
        font-size: 1.8rem;
    }
    
    .start-message p {
        font-size: 1.2rem;
    }
    
    .famous-project section,
    .contact-names-block section {
        font-size: 1.8rem;
    }
    
    .channels-contact a,
    .message-contact a {
        height: 40px;
        font-size: 0.9rem;
    }
    
    .contact-block {
        padding: 20px 15px;
    }
}

@media (max-width: 360px) {
    .logo-up {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-name {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .btn-up {
        font-size: 90%;
        gap: 5px;
    }
    
    .home-btn, .project-btn, .contact-btn {
        width: 80px;
        font-size: 0.7rem;
    }
    
    .start-message a {
        width: 90%;
        padding: 8px;
    }
}