* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    scroll-behavior: smooth;
}

nav {
    width: 100%;
    height: 15vh;
    background: #111;
    position: fixed;
    z-index: 2;
    
}

nav header {
    max-width: 70%;
    height: 15vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
    position: relative;
    padding: 0 10px;
}

header .logo span {
    font-size: 20px;
    font-weight: bold;
}

header .logo {
    animation: logo 3s ease infinite;
    transition: 3s ease-in;
}

@keyframes logo {
    0%   { transform: rotateX(0deg)}
    100% {transform: rotateY(360deg)}
}

.dropdown-menu a {
    font-size: 13px;
    padding-right: 1rem;
    font-weight: bold;
}
.dropdown-menu a::after {
    content: " ";
    position: absolute;
    height: 3px;
    width: 0;
    background-color: #fff;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

.dropdown-menu a:hover:after {
    width: 95%;
}

.social-networks a i{
    transition: 0.5s ease;
    font-size: 20px;
}

.social-networks a i:hover {
    transform: translateY(-5px);
    color: red;
}

header img {
    width: 3rem;
    position: absolute;
    right: 1rem;
    cursor: pointer;
    display: none;
}

.main-section {
    width: 100%;
    height: 90vh;
}

section .img-card {
    background: url(./image/rasm5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 100%;
    height: 95vh;
    background-attachment: fixed;
    position: relative;
}

section .img-card .text1 {
    max-width: 30rem;
    height: 25vh;
    background-color: rgba(220, 20, 60, 0.838);
    position: absolute;
    top: 13rem;
    left: 18rem;
    padding: 2rem 3rem;
    color: rgb(227, 216, 219);
}

.img-card .text1 h1 {
    font-size: 35px;
    line-height: 5rem;
    animation: main_text 3s ease;
}

.img-card .text1 h4 {
    color: rgb(10, 249, 22);
    animation: main_text 3s ease-in-out;
}

.register-form {
    display: none;
}
.register-form.active {
    z-index: 999;
    width: 35%;
    height: 65vh;
    background:rgb(10, 249, 22);
    position: relative;
    top: 30%;
    left: 35%;
    padding: 70px;
}

.register-form input {
    width: 100%;
    padding: 15px;
    margin: 5px 0;
    border-radius: 7px;
    border: none;
}

.register-form input[type="submit"] {
    background-color: rgba(19, 18, 18, 0.573);
    color: #fff;
    margin-top: 2rem;
    transition: all 0.8s ease;
}

.register-form input[type="submit"]:hover {
    background-color:rgb(249, 245, 246);
    color: #333;
}

.register-form.active {
    display: block;
    z-index: 999;
}

.btn-close  {
    position: absolute;
    right: 5%;
    top: 3%;
    padding: 10px 20px;
    border: none;
    transition: all 0.5s ease-in-out;
}

.btn-close:hover {
    background-color: #23e3;
    font-size: 1.5em;
}

@keyframes main_text {
    0%   {transform: translateX(-500px); opacity: 0; }
    80%  {transform: scale(1.3);}
    100% {transform: translateX(0); opacity: 1; scale: 1; }
}

.service-section {
    position: relative;
    max-width: 100%;
    height: 100vh;
}

.service-section h1 {
    position: relative;
    left: 38rem;
    padding: 3rem 0;
    font-size: 2.5rem;
    color: crimson;
    display: inline-block;
    animation: service-animation 2s;
    transition: 2s ease;
}

@keyframes service-animation {
    0%   { transform: translateY(-100px); opacity: 0;}
    100% { opacity: 1}
}

.service-section .service-card {
    width: 100%;
    height: 80vh;
    background-color:rgb(249, 245, 246);
    margin: 0 auto;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-around;
}

.service-card .service-item {
    width: 25%;
    height: 62vh;
    background-color:rgb(43, 200, 161);
    text-align: center;
    transition: .8s;
    overflow: hidden;
    color: rgb(23, 24, 25);
    padding: 10px;
    line-height: 30px;
}
.service-card .service-item:hover {
    transform: scale(1.1);
    box-shadow: 2px 7px 2px 5px rgba(238, 255, 0, 0.66);
}

.service-item img {
    width: 100%;
    height: 15rem;
    transition: .8s;
}

.service-item h3 {
    color:rgb(200, 82, 43);
}

.service-item p {
    width:20rem;
    text-align:initial; 
}
.service-item img:hover {
    transform: scale(1.1);

}

.btn {
    position: relative;
    top: -4rem;
    left: 42rem;
    border: none;
    padding: 15px 25px;
    background-color: crimson;
    color: white;
    transition: all 0.5s;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background-color: #fff;
    color: black;
}

.work {
    background: #000016;
    padding: 3rem;
}

.work .content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.work .content .card {
    width: 340px;
    margin: 15px;
}

.work .content .card-img {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
}

.work .content .card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: .5s ease;
    cursor: pointer;
}

.work .content .card-img img:hover {
    transform: scale(1.2);
}
.order-card.active {
    position: absolute;
    width: 40rem;
    height: 60vh;
    background:rgba(18, 18, 18, 0.897);
    top: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;   
    padding: 2rem 0;
    
}

.order-card {
    display: none;
    transition: all 1s ease-in-out;
}

.order-card .order-item span {
    font-size: 25px;
    font-weight: bold;
    font-family: open sans,sans-serif;
    color: crimson;
}

.order-card .order-item label {
    font-size: 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 600;
    color:rgb(249, 245, 246)
}

.order-card .order-item input {
    padding: 10px;
    width: 100%;
    border-radius: 1.5rem;
    border: none;
    outline: none;
    margin: 5px 0;
    text-align: center;
}

.order-item form .btn-danger {
    border-radius: 1.5rem;
    width: 100%;
    padding: 10px 0;
    margin: 10px 0;
    cursor: pointer;
    transition: all 1s ease;
}

.order-item .btn-danger:hover {
    background: crimson;
    color: #fff;
}

.biz-haqimizda .text2 {
    max-width: 80%;
    height: 90vh;
}

.text2 h1 {
    text-align: center;
    padding-bottom: 3rem;
    color: crimson;
}

.text2 p {
    font-size: 20px;
    width: 100%;
}

.biz-haqimizda .text2 img {
    position: relative;
    left: 25%;
}

.contact {
    background-color: rgb(223, 213, 213);
    padding: 4rem;
}

.title {
    text-align: center;
    font-size: 35px;
    color: crimson;
    font-weight: 600;
}

.contact .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
    
}

.contact .content .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.contact .row .card {
    background: #fff;
    width: 240px;
    margin: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 25px rgba(1 1 1 /15%);
    border-radius: 10px;
}

.contact .card .contact-icon {
    font-size: 60px;
    color: royalblue;
    text-align: center;
    transition: transform .5s ease;
}

.contact .card:hover .contact-icon {
    transform: translateY(-10px);
}

.contect .card .info h3 {
    color: #222;
    font-size: 20px;
    font-weight: 700;
    margin: 10px;
}

.contect .card .info span {
    color: #555;
    font-weight: 500;
}

.contact-form {
    background: #fff;
    max-width: 600px;
    margin-top: 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 /15%);
}

.contact-form h3 {
    color: #111;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form .input-box {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
    width: 100%;
    font-size: 17px;
    color: #111;
    padding: 10px;
    font-weight: 400px;
    outline: none;
    border: 1px solid #111;
    border-radius: 5px;
    resize: none;
}

.contact-form .input-box .send-btn {
    color: #fff;
    background: crimson;
    display: inline-block;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: .5s ease;
}

.contact-form .input-box .send-btn:hover {
    color: #000;
    background: #fff;
    border: 1px solid #111;
}

.footer {
    background: #000016;
    color: #fff;
    text-align: center;
    padding: 34px;
}

.footer .footer-title {
    font-size: 20px;
    font-weight: 600;
}

.footer p {
    margin-top: 10px;
}

.reveal {
    position: relative;
    transform: translateY(70px);
    opacity: 0;
    transition: all 1.5s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

@media only screen and (max-width: 992px) {
    
    .dropdown-menu, .social-networks {
        display: none;
    }

    header img {
        display: block;
    }


}