@font-face {
    font-family: 'Inter'; /* Название шрифта для использования в CSS */
    src: 
      url('../Fonts/Inter/Inter-Italic-VariableFont_opsz\,wght.ttf') format('truetype');
    font-weight: 400; /* Укажите вес (например, 400, 700) */
    font-style: italic; /* Укажите стиль (normal, italic) */
  }

html {
    font-family:Arial,sans-serif;
}

body {
    font-family: 'Inter';
    margin: 0;
}

header {
    display: flex;
    min-height: 50px;
    background-color: black;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
}

header img {
    width: 36px;
    height: 30px;
}

header a {
    text-decoration:none;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 36px;
}

header a:hover {
    border-bottom: 4px solid white;
}

.contentheader {
    margin: 0px 16px;
    width: 960px;
    position: relative;
}

.bg-contentheader {
    position: absolute;
    margin-top: 7px;
    height: 10px;
    width: 100%;
    background: #1D70B8;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 960px;
    margin: auto;
}

main h1 {
    padding-left: 16px;
    margin: 30px 0px;
}

main h2 {
    padding-left: 15px;
}

.validationCoS {
    display: none;
    padding: 0 16px;
}

.validationCoS.visible {
    display: block;
}

.accessCoS {
    color: green;
    font-size: 20px;
    font-weight: 600;
}

.validationCoS a {
    font-size: 20px;
    font-weight: 600;
    text-underline-offset: 5px;
}

.validationCoS a:hover {
    text-decoration: underline 4px;
}

.firstContentBlock {
    max-width: 630px;
}

.firstContentBlock p {
    font-size: 20px;
    padding: 0px 16px;
    margin: 20px 0px;
    font-weight: 400;
}
    
.formFirst {
    display: flex;
    flex-direction: column;
    padding: 0px 16px;
}

.formFirst input{
    width: 95%;
    max-width: 654px;
    padding: 4px 10px;
    margin-bottom: 10px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid gray;
    font-size:16px;
}

.arrowInput {
    width: 18px;
    margin-left: 6px;
}

.formFirst button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 396px;
    background: rgb(0 112 60);
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    padding: 8px;
    margin-bottom: 20px;
}

.formFirst button:hover {
    background: rgb(0, 67, 36);
}

.secondContentBlock {
    max-width: 630px;
}

.secondContentBlock p {
    font-size: 20px;
    padding: 0px 16px;
    margin: 20px 0px;
    font-weight: 400;
}


.formSecond {
    /* margin-bottom: 56px; */
}

.formSecondBlock {
    display: flex;
    flex-direction: column;
    padding: 0px 16px;
}

.formSecondBlock input{
    width: 95%;
    max-width: 654px;
    padding: 4px 10px;
    margin-bottom: 10px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid gray;
    font-size:16px;
}

.formSecondBlock button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 396px;
    background: rgb(0 112 60);
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    padding: 8px;
    margin-bottom: 20px;
}

.formSecondBlock button:hover {
    background: rgb(0, 67, 36);
}

.validationGWF {
    display: none;
    margin-bottom: 50px;
    padding: 0 16px;
}

.validationGWF.visible {
    display: block;
}

.accessGWF {
    color: green;
    font-size: 20px;
    font-weight: 600;
}

.validationGWF a {
    font-size: 20px;
    font-weight: 600;
    text-underline-offset: 5px;
}

.validationGWF a:hover {
    text-decoration: underline 4px ;
}

.askBlock {
    display: none;
}

.askBlock.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    min-height: 20px;
    background-color: rgb(243 242 241);
    padding: 0px 16px 20px 16px;
    border-top: 1px solid rgb(177 180 182);
    max-width: 100%;
}

.btnAskBlock:hover {
    cursor: pointer;
    background-color: rgb(171, 171, 171);
}

.btnAskBlock.active {
    background: rgba(255, 255, 0, 0.458);
}

.askBlock div{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
}

.askBlock h3 {
    font-size: inherit;
    width: auto;
    padding: 10px 0px;
    margin: 0px 20px;
}

.askBlockButtons button:first-child{
    margin-right: 20px;
}

.askBlockButtons button{
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid black;
    border-bottom: 6px solid black;
    min-width: 102px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}



.footerLine {
    background: #1D70B8;
    height: 10px;
}

.footerContent {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 16px;
}

.footerContent hr {
    border-top: 1px gray;
    margin-bottom: 50px;
}

.footerContent nav {
    display: flex;
}

.footerContent ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.footerContent li {
    display: inline-block;
    margin-right: 16px;
    color:#1D70B8;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-underline-offset: 5px;
    text-decoration:2px underline;
}

.footerLinks a{
    color: #1D70B8;
}

.footerContent li:hover {
    text-decoration:4px underline;
}

.blockOGLImg{
    margin-right: 10px;
}

.OGL-symbol {
    height: 17px;
    width: 41px;
}

.licenceLink {
    color: black;
}

.footerContent a:hover {
    text-underline-offset: 5px;
    text-decoration: underline 3px;
}


@media (max-width: 768px) {
    .askBlock.visible {
      justify-content: center;
    }
}