html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}


:root {
    --text-color: #FFFFFF;
    --icinc-back-color: #3D1A59C9;
    --font-color: #6C25A4;

    --start-lin-grad-color: #5C5C5C;
    --end-lin-grad-color: #42424200;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--text-color);

}

.oswald-bold {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.oswald-semibold {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.work-sans-bold {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }

.rubik-mono-one-regular {
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
  }

.montserrat-medium {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }


  p {
    display: block;
    padding: 0;
    margin: 0;
}


.container {
    margin: 0 auto;
}


.main {

    position: relative;
    background-color: dimgray;
    background-repeat: no-repeat;
    max-width: 1440px;
    min-height: 1024px;
    background-size: cover;
    overflow: hidden;
    z-index: 10;

}

.main-par {
    position: relative;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0.08px;
    font-weight: 900;
    font-weight: bold;
    z-index: 70;
    text-align: center;
}



.header {
    position: relative;
    display: flex;
    /* padding: 48px 0px 50px; */
    padding-right: 10px;
    z-index: 12;
    justify-content: space-between;
    
}

.header_contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.header_contacts_ellips {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--text-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 12px;
}

.header_contacts_ellips img {
    width: 100%;
}

.header_contacts_text {
    font-size: 24px;

}


.header_logo {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
}

.header_logo_img {
    width: 120px;
    height: 70px;

}

.header_logo_img img {
    width: 100%;
    height: 100%;
}


.header_logo_en,
.header_logo_ru {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 50px;
    height: 50px;
    font-size: 28px;
    color: var(--font-color);
    border-radius: 50%;
}


#triangle1 {
    width: 0;
    height: 0;
    border-left: 500px solid transparent;
    border-right: 500px solid transparent;
    border-bottom: 500px solid #424242;
    rotate: 227deg;
    position: absolute;
    right: 1000px;
    bottom: 720px;
    opacity: 0.6;
}

#triangle2 {
    width: 0;
    height: 0;
    border-left: 500px solid transparent;
    border-right: 500px solid transparent;
    border-bottom: 500px solid #424242;
    position: absolute;
    right: -597px;
    top: -330px;
    rotate: 121deg;
    opacity: 0.6;

}

#triangle3 {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 200px solid #424242;
    position: absolute;
    rotate: 169deg;
    top: 725px;
    left: -64px;
    opacity: 0.6;

}

#triangle4 {
    width: 0;
    height: 0;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    border-bottom: 250px solid #424242;
    position: absolute;
    left: 1139px;
    top: 866px;
    rotate: 180deg;
    opacity: 0.6;

}


/* стили для слайдера фотографий */

.adaptivny-slayder {
    position: relative;
    max-width: 960px;
    margin: 50px auto;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
  }
  
  .adaptivny-slayder input[name="kadoves"] {
    display: none;
  }
  
  .kadoves {
    position: absolute;
    left: 0;
    bottom: -40px;
    text-align: center;
    width: 100%;
    letter-spacing: 10px;
  }
  
  .kadoves label {
    display: inline-block;
    width: 8px;
    height: 8px;
    cursor: pointer;
    margin: 0 3px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .8);
    border-radius: 50%;
    border: 10px solid #2f363c;
    background-color: #738290;
  }
  
  #slaid1:checked~.kadoves label[for="slaid1"] {
    background-color: white;
  }
  
  #slaid2:checked~.kadoves label[for="slaid2"] {
    background-color: white;
  }
  
  #slaid3:checked~.kadoves label[for="slaid3"] {
    background-color: white;
  }

  #slaid4:checked~.kadoves label[for="slaid4"] {
    background-color: white;
  }

  #slaid5:checked~.kadoves label[for="slaid5"] {
    background-color: white;
  }
  
  .adaptivny-slayder-lasekun {
    overflow: hidden;
     
  }
  
  .abusteku-deagulus {
    display: flex;
    width: 100%;
    transition: all 0.5s;
  }
  
  .abusteku-deagulus img {
    width: 100%;
    flex-shrink:0;
  }
  
  #slaid1:checked~.adaptivny-slayder-lasekun .abusteku-deagulus {
    transform: translate(0);
  }
  
  #slaid2:checked~.adaptivny-slayder-lasekun .abusteku-deagulus {
    transform: translateX(-100%);
  }
  
  #slaid3:checked~.adaptivny-slayder-lasekun .abusteku-deagulus {
    transform: translateX(-200%);
  }

  #slaid4:checked~.adaptivny-slayder-lasekun .abusteku-deagulus {
    transform: translateX(-200%);
  }

  #slaid5:checked~.adaptivny-slayder-lasekun .abusteku-deagulus {
    transform: translateX(-200%);
  }


@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .header {
        padding: 10px;
    }

    .header_logo_img {
        width: 100px;
        height: 50px;
    }

    .header_logo_img img {
        width: 100%;
        height: 100%;
    }

    .header_logo_en,
    .header_logo_ru {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .header_contacts_ellips {
        width: 45px;
        height: 45px;
        padding: 14px;
    }

}

@media screen and (max-width: 767px) {


    .header {
        padding: 15px;
    }

    .header_logo {
        gap:10px;
        padding: 10px;
    }

    .header_logo_img {
        width: 65px;
        height: 30px;
    }

    .header_logo_img img {
        width: 100%;
        height: 100%;
    }

    .header_contacts {
        padding: 10px;
    }
    .header_contacts_ellips {
        width: 30px;
        height: 30px;
        padding: 11px;
    }


    .header_contacts_text {
        font-size: 15px;
    }

    .header_logo_en,
    .header_logo_ru {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .adaptivny-slayder {
        margin: 55px;
    }

    .main-par {
        font-size: 24px;
        padding-top: 30px;
    }

    .kadoves {
        letter-spacing: 10px;
    }

    .kadoves label {
        width: 15px;
        height: 15px;
        border: 10px solid #2f363c;
    }

    #triangle1 {
        right: 273px;
        bottom: 880px;
        border-left: 200px solid transparent;
        border-right: 200px solid transparent;
        border-bottom: 200px solid #424242;
    }

    #triangle2 {
        border-left: 200px solid transparent;
        top:-274px;
    }

    #triangle3 {
        top: 329px;
        left: -284px;
    }

    #triangle4 {
        left: 302px;
        top: 376px;
    }

}

