html{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    scroll-behavior:smooth;
}
*,
*::after,
*::before{
box-sizing: inherit;
}
body{
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1.2;
    background-color: whitesmoke;
    overflow-x: hidden;       
}
main{
    flex: 1;
}
.home{
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
    height: auto;
    width: 100%;
}
.container{
    width: 100%;
    margin: 0 auto;
    height: 50%;
    padding: 0;
}
.navbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
      background: rgba(246, 245, 245, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(2px);
  opacity: 0.7;
}

.navbar__wrap{
    display:flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
}
.logo{
    display: flex;
    align-items: center;
    width: 150px;
}
.socialIcons {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.socialIcons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;   
  margin: 0;   
}

.socialImg {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu > li > a {
    text-decoration: none;
}
a{
    color: #fe9c67;
    padding: 30px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: light;
}
#menu > li > a{
    font-size: 18px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: light; 
}
#menu > li > a:hover{
    color:#fa5e0a;
 
  
      
}
.navbar__wrap .menu{
    display:none;
}
.hamb{
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.hamb__field{
    padding: 10px 20px;
    cursor: pointer;
   
}
.bar{
    display: block;
    width: 40px;
    height: 3px;
    margin: 7px auto;
    background-color: #fe9c67;
    transition: 0.2s;
}
.popup{
    position: fixed;
    top: 95px;
    right: -100%;
    width: 30%;
    height: 100%;
    background: rgba(246, 245, 245, 0.55);
  backdrop-filter: blur(12px);
  transform: translateY(2px);
  opacity: 0.95;
    z-index: 1100;
    display: flex;
    flex-wrap: wrap;
    transition: 0.3s;
}
.popup.open{
    bottom: 0;
    right: 0;
}
.popup .menu{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 0;
   
}
.popup .menu > li {
    width: 50%;
}

.popup .menu > li > a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
    font-weight: bold;
    color: #fe9c67;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}
.popup .menu > li > a:hover {
    background-color:rgba(246, 245, 245, 0.55);
}

.hamb__field.active .bar:nth-child(2) {
    opacity: 0;
}

.hamb__field.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamb__field.active .bar:nth-child(3) {
    transform: translateY(-12px) rotate(-42deg);
}
section {
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px;
}
#services{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h1{
    color:#fa5e0a;
    font-size: 50px;
    margin-top: 90px;
}
h2{
  color:#fa5e0a;
  font-size: 40px;
  margin-top: 90px;
}
.title {
text-align: center;
}
h3{
  color: #fe9c67;
  text-align: center;
}
.header{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
#blockVideo{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #fe9c67;
    border-radius: 10px;
    width: 45%;
}
#blockVideo:hover{
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: 0.3s;
    border: 2px solid #fa5e0a;
    h3{
        color:#fa5e0a;
    }

}
.contacts{
display: flex;
  align-items: center;
  gap: 4px;


}
.contacts a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;   /* важно убрать внутренние отступы */
  margin: 0;    /* и внешние тоже */
}
.socialContacts{
    width: 30px;
  
  
  border-radius: 5px;
}
#contacts{
  width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    
}
#video{
    width: 100%;
    border: 2px solid #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

footer{
   display: flex;
   flex-direction: column;
    justify-content: center;
    background-color: whitesmoke;
    color: #fe9c67;
    font-size: 14px;
    margin-top: 150px;
   border-top: 1px solid #fe9c67;
   width: 100%;
   height: 100px;
    align-items: center;
    left: 0;
    right: 0;
}
@media (max-width: 480px) {
  .popup{
    width: 100%;
  }
  .about-content { 
  
   flex-direction:column; 
   
  }
  #blockVideo{
    width: 90%;
}
  .blockText {
  width: 80%;
  height:450px;
  
}
  .blockText {
  width: 80%;
  height:450px;
  
}
}