/* @import url('https://fonts.googleapis.com/css2?family=Verdana:ital,wght@0,100;0,300;0,500;1,700&display=swap'); */


@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth
    }
}



* {
    font-family: 'Cambria', sans-serif;
    font-size: large;
    margin: 0 auto;
}

body {
    max-width: 100%;
}


#header {
    background-image: url('../images/ev-charging.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 1100px;
    color: white;
}

#header:before {
	content: '';
	display: block;
	width: 100%;
	height: 1100px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color:rgba(0, 0, 0, .3);
}



#logo {
    /* padding-left: 35px; */
    height: 100%;
    margin-left: 0;
}

#logo-text {
    color: rgb(225, 79, 0);
}

.header-inner {
    position: absolute;
    z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    display: flex;
    justify-content: space-between;
}

.nav-text {
    transition: background-color .4s;
    transition-duration: 0.4s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: background-color;
    margin: 0;
    position: fixed;
    background-color: transparent;
    height: 70px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* gap: 250px; */

}

.nav-text h1 {
    font-size: xx-large;
    transition: 0.2s 50ms;
    
}

.logo-name {
    height: 70px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    margin-left: 20px;
}

.logo-name p {
    white-space: nowrap;
}

.logo-name p a {
    text-decoration: none;
    color: orangered;
    font-weight: 700;
    font-size: 1.1em;
}

.navigation {
   color: white;
    display: flex;
    flex-direction: row;
    gap: 30px;
    height: 100%;
    align-items: center;
    white-space: nowrap;
}


nav a {
    text-decoration: none;
    color: yellow;
    transition: color ease 0.5s 100ms;
    text-transform: uppercase;
}

nav a:hover {
    cursor: pointer;
    color: rgb(255, 81, 0);
}

.header-text {
    position: absolute;
    padding: 11%;
    padding-left: 6%;
    margin-top: 5%;
    width: 25%;
    line-height: 40px;
    font-size: 1.8em;
}

.header-text p {
    font-weight: 300;
    text-align: left;
    border-radius: 15px;
    font-size: 1.2em;
}

.header-text h2 {
    font-size: xx-large;
    color: rgb(242, 70, 18);
}

#header-span {
    color: rgb(242, 70, 18);
    font-weight: 700;
    font-size: 1.3em;
    width: 140%;
    display: block;
}

#about-us {
    margin-top: 15%;
    margin-bottom: 10%;
}

#about-us hr {
   height: 1px;
   width: 100%;
}

.about-text {
    margin-top: 7%;
    max-width: 60%;
    text-align: left;
    display: flex;
    gap: 30px;
    flex-direction: column;
    margin-left: 2%;
}

.about-text h1 {
    font-size: xx-large;
    font-weight: 700;
    margin-left: 25px;
}

.about-text p {
    font-weight: 300;
}

.about-text p:first-of-type {
    font-weight: 700;
    margin: 0;
}

.about-text p:last-of-type {
    padding-bottom: 15%;
}

#about-pic {
    position: absolute;
    right: 10px;
    border-radius: 10px;
    width: 30%;
}

#about-img {
    position: absolute;
    margin-left: 20.5%;
    border-radius: 10px;
    max-width: 40%;
    margin-top: 10%;
    left: -300px;
    margin-top: 4%;
}

#between {
    color: rgb(225, 79, 0);
    height: 15px;
    font-weight: 900;
    font-size: 2em;
    background-color: rgb(225, 79, 0);
    border: none;
    width: 95%;
    border-radius: 3px;
}

#stations {
    margin-bottom: 15%;
    display: flex;
    flex-direction: column;
}

.station-imgs {
    display: flex;
    margin-left: 300px;
    margin-right: 300px;
    justify-content: space-evenly;
    flex-direction: row;
}

.charge-img {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
}

.charge-img img {
    width: 100%;
    transition: 0.8s all ease;
}

.charge-img img:hover {
    transform: scale(1.2);
}

.charge-img p {
    transition: 0.8s all ease;
}

.charge-img p {
    margin-bottom: 60px;
}


#snimok {
    width: 60%;
    padding-top: 3%;
}

.voltage {
    color: rgb(255, 81, 0);
    font-weight: 700;
}

#main-info {
    margin-left: 45%;
    margin-top: 10%;
    justify-content: center;
    align-items: center;
    gap: 150px;
}

#main-info h1 {
    font-weight: 700;
}

#main-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#main-info {
    padding-bottom: 15%;
}

#cards {
    display: flex;
    width: 90%;
    flex-wrap: wrap;
    gap: 100px;
}

.card {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    text-align: center;
}

.card i {
    font-size: 6em;
    color: rgb(225, 79, 0);
}

#charger {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 100px;
}

#charger h1 {
    font-size: 2.5em;
    text-align: center;
}

.countries {
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 70px;
}

.countries h3 {
    font-size: 1.1em;
    padding-left: 15px;
}

.countries:first-of-type {
    padding: 50px;
}

#charges-img {
    width: 50%;
    border-radius: 15px;
    transition: 1s;
    border: 1px solid #e2e2e2;
}

#charges-img:hover {
    transform: scale(1.1);
    border-radius: 50px;
}

#advantages {
    margin-top: 8%;
    display: flex;
    justify-content: center;
    flex-direction: column;

}

.first-part {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.first-part h1 {
    color: rgb(225, 79, 0);
    width: 700px;
    font-size: 1.5em;
}

.first-part ul {
    line-height: 40px;
    
}

.list-element {
    color: rgb(225, 79, 0);
}

.list-element span {
    color: black;
}

.second-part {
    margin-top: 1%;
    position: relative;
    width: 800px;
}

.second-part hr {
    margin-bottom: 40px;
    height: 2px;
    color: rgb(225, 79, 0);
    background-color:rgb(225, 79, 0);
    border: none;
}

.second-part h1 {
    position: absolute;
    top: -20px;
    left: 350px;
    background-color: white;
    border: 10px solid white;
    color: rgb(225, 79, 0);
}

.second-part p {
    line-height: 25px;
}

.for {
    display: flex;
    flex-wrap: wrap;
}

.place {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 40px;
}

.place p {
    font-weight: 700;
    font-size: 1.1em;
}

.place i {
    color: rgb(225, 79, 0);
    font-size: 4em;
    transition: 0.3s;
}

.place i:hover {
    transform: scale(1.2);
}


.first-one {
    padding-top: 50px;
}

#dc {
    margin-top: 5%;
    display: flex;

}

#dc span, #dc i {
    color: rgb(225, 79, 0);
}

#xmark {
    color: rgb(242, 70, 18) !important;
}

.table h1 {
    text-align: center;
    padding-bottom: 100px;
    font-size: 1.2em;
}

#table {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 5px;
    border: 1px solid black;

}

#table th, #table td {
    padding: 20px;
    border-style: solid;
    border-width: 0 1px 1px 0;
}

.left-part {
    text-align: left;
}

.ac-dc {
    margin-top: 10%;
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.acdc-imgs img {
    width: 750px;
}

.acdc-imgs img:first-of-type {
    width: 900px;
}

.relative {
    position: relative;
}

.absolute span {
    color: rgb(225, 79, 0);
    font-weight: 900;
}

.absolute {
    color: rgb(168, 168, 168);
    font-weight: 700;
    position: absolute;
    max-width: 300px;
    bottom: 325px;
}

.absolute:first-of-type {
    bottom: 100px;
    left: 700px;
    width: 200px;
}

.absolute:last-of-type {
    bottom: 550px;
    left: 700px;
    width: 200px;
}

#toc {
    margin-top: 10%;
    display: flex;
    text-align: left;
}

.list-item {
    list-style: none;
}

.uneed ul .list-item:first-of-type{
    padding-top: 35px;
}

.list-item::before {
    content: '-';
    padding-top: 15px;
    color: rgb(225, 79, 0);
    font-size: 2em;
}

.wegive {
    background-color: rgb(225, 79, 0);
    color: white;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

#uneed, .wegive {
    font-weight: 700;
    border-radius: 15px;
    padding: 15px;
    max-width: 650px;
}

#feedback form {
    display: flex;
    
}

footer {
    height: 50px;
    margin-top: 7%;
    display: flex;
    color: black  ;
}

.footer p {
    color: black;
    font-weight: 500;
    padding-left: 20px;
    padding-bottom: 5px;
    margin: 0;
    margin-left: 10px;
    margin-top: 15px;
}

.contact p i {
    color: rgb(225, 79, 0);
}

#navigation {
    color: white;
    display: flex;
    flex-direction: row;
    gap: 30px;
    height: 100%;
    align-items: center;
}

#company-logo {
    position: absolute;
    right: 10px;
    margin-top: 15px;
    color: rgb(255, 145, 0);
}

.contact {
    padding: 55px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5%;
    bottom: 0;
    left: 0;
}
.contact_top {
    border-bottom: 2px solid gray;
    padding: 20px;
    margin-bottom: 40px;
}
  
.contact_form {
    margin-left: 100px;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}
  
  .input_group {
    width: 521px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .input_group label {
    font-size: 16px;
    color: #458ff6;
    padding: 10px 0px;
    padding-top: 30px;
  }
  
  .input_group textarea {
    font-size: 16px;
    padding: 10px 0px;
    height: 150px;
    margin-top: 40px;
    padding-left: 10px;
  }

  .input_group input::placeholder {
    color: #999;
  }

  .feedback-info {
    line-height: 40px;
    margin-right: 0;
  }

  .feedback-info p a {
    text-decoration: none;
    font-weight: 700;
    color: orangered;
  }

  .input_group input {
    width: 500px;
    padding: 10px;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    border-radius: 6px;
    border: 1px solid rgb(225, 79, 0);
  }
  
  .input_group input::placeholder {
    color: #999;
  }
  .input_group button[type="submit"] {
    margin: 30px;
    margin-bottom: 0;
    padding: 10px 25px;
    font-weight: bold;
    background-color: rgb(225, 79, 0);
    border: 1px solid rgb(225, 79, 0);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: 300ms;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.15) ;
    display: flex;
    align-items: center;
  }
  
  .input_group button[type="submit"] img {
    margin-left: 10px;
  }
  
  .input_group button[type="submit"]:hover {
    color: rgb(225, 79, 0);
    background-color: #fff;
  }

  textarea {
    scroll-snap-type: none;
    width: 100%;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid rgb(225, 79, 0);
    border-radius: 4px;
    font-size: 16px;
    resize: none;   
  }

  .transparent {
    opacity: 0.9;
    background-color: black;
    transition: 0.5s ;
}

.arrow-up {
    position: fixed;
    bottom: 35px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 81, 0);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    
    transition: 0.2s;
}

.arrow-up i {
    color: white;
}

.arrow-up:hover {
    cursor: pointer;
    background-color: white;
    color: rgb(255, 81, 0);
    border: 1px solid rgb(255, 81, 0);
}

.arrow-up:hover i {
    color: rgb(255, 81, 0);
}

.chat {
    z-index: 2;
    position: fixed;
    bottom: 50px;
    left: 30px;
}

.chat button {
    border: none;
    background-color: transparent;
    color: rgb(242, 70, 18);
    width: 70px;
}

.chat button:hover {
    cursor: pointer;
}

.chat button i {
    font-size: 3em;
}

.popup__bg {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
}

.popup__bg.active {
    opacity: 1;
    pointer-events: all ;
    transition: 0.5s all;
}


.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: white;
    width: 400px;
    padding: 25px;
    transition: 0.5s all;
    border-radius: 15px;
}

.popup.active { 
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: 0.2s all;
}

.close-popup:hover {
    color: rgb(255, 81, 0);
    transition: 0.2s all;
}

.popup label {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column-reverse;

}

.popup .label__text {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    color: black;
    margin-bottom: 5px;
}

.popup input {
    height: 45px;
    font-size: 18px;
    border: none;
    outline: none;
    border-bottom: 1px solid #868686;

}

.popup input:focus {
    border-bottom: 1 px solid rgb(255, 81, 0);
}

.popup input:focus + .label__text {
    color: rgb(255, 81, 0);
}

.popup textarea {
    resize: none;
    width: 100%;
    height: 150px;
    outline: none;
    border: none;
    border-bottom: 1px solid #868686;
    font-size: 18px;
    padding-bottom: 5px;
}

.popup textarea:focus {
    border-bottom: 1 px solid rgb(255, 81, 0);
}

.popup textarea:focus + .label__text {
    color: rgb(255, 81, 0);
}

.popup button {
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.5s all;
    border-radius: 5px;
}

.popup button:hover {
    background: white;
    color: rgb(255, 81, 0);
    transition: 0.5s all;
}
#chatik {
    color: rgb(255, 81, 0);
}

@media (max-width: 1440px) {
    .navigation {
        gap: 20px;
    }
    .charge-img img {
        width: 250px;
        margin-bottom: 40px;
    }
    .logo-name {
        gap: 20px;
    }
    .logo-name p {
        display: none;
    }
    .header-text {
        width: 35%;
        margin-top: 8%;
    }
}

@media (max-width: 1024px) {
    #header {
        height: 1000px;
    }
    #header:before {
        height: 1000px;
    }
    .header-text {
        margin-top: 10%;
        width: 40%;
        font-size: 1.5em;
    }
    .navigation {
        display: none;
    }
    #about-pic {
        display: none;
    }
    .about-text {
        margin: 0 auto;
        text-align: center;
    }
    .about-text h1 {
        margin: 0 auto;
    }
    #charges-img:hover {
        transform: scale(1.3);
    }
    .input_group input {
        width: 100%;
    }
    .input_group {
        width: 100%;
    }
    .contact_form {
        width: 400px;
    }
    #logo {
        padding-left: 35px;
    }
}

@media (max-width: 768px) {
    #header {
        height: 900px;
    }
    #header:before {
        height: 900px;
    }
    .input_group input {
        width: 300px;
    }
    .input_group textarea {
        width: 350px;
    }
    .input_group button[type="submit"] {
        margin: 0 auto;
        margin-top: 30px;
    }
    .contact_form {
        margin-left: 0;
        width: 400px;
    }
    .feedback-info {
        margin-right: 0;
        width: 200px;
    }
    .station-imgs {
        flex-wrap: wrap;
    }
    .second-part, .first-part, .first-part h1 {
        width: 100%;
    }
    .popup__bg {
        height: 130vh;
    }
    .input_group {
        width: 350px;
    }
    .first-part {
        margin-bottom: 5%;
    }
    .second-part h1 {
        left: 325px;
    }
    #charger h1 {
        text-align: center;
    }
    #stations {
        margin-bottom: 10%;
    }
    .chat {
        bottom: 25px;
        left: 15px;
    }
    .chat button i {
        font-size: 2em;
    }
    .arrow-up {
        width: 35px;
        height: 35px;
    }
    .arrow-up i {
        font-size: 0.9em;
    }
    .header-text {
        font-size: 1em;
    }
}

@media (max-width: 450px) {
    #header-span {
        width: 100%;
    }
    .station-imgs {
        margin: 0 auto;
    }
    .first-part {
        width: 300px;
    }
    .first-part h1 {
        width: 300px;
    }
    .first-part ul {
        padding-left: 20px;
    }
    .charge-img p {
        margin-bottom: 45px;
    }
    .second-part {
        width: 300px;
    }
    .second-part h1 {
        left: 100px;
    }
    .contact {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 55px;
    }
    .feedback-info {
        margin: 0 auto;
    }
    .popup__bg {
        height: 120vh;
    }
    .contact_form {
        padding: 0;
    }
    .about-text {
        text-align: left;
    }
    #charges-img {
        width: 80%;
    }
    #charges-img:hover {
        transform: scale(1.15);
        border-radius: 15px;
    }
    .header-text {
        width: 60%;
    }
    .logo-name p {
        display: none;
    }
    #charger h1 {
        width: 300px;
        font-size: 2em;
    }
    .input_group {
        margin-left: 0;
    }
    .input_group input {
        width: 250px;
    }
    .input_group textarea {
        width: 250px;
        margin: 0 auto;
        margin-top: 30px;
        height: 100%;
    }
    .contact_form {
        width: 200px;
    }
    .input_group {
        width: 300px;
    }
    .header-text {
        width: 80%;
        margin-top: 40%;
    }
    .popup {
        width: 80%;
    }
    #charger {
        margin-bottom: 100px;
    }
    #snimok {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .contact {
        padding: 0;
    }
}