/* Normalize
--------------------------------------------- */

@import url(https://fonts.googleapis.com/css?family=Roboto:regular,500,600,700);

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
li {
  margin: 0;
  padding: 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */

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

html {
  box-sizing: border-box;
}

/* Variables
--------------------------------------------- */

/* Mixins
--------------------------------------------- */

.sidebar {
  float: left;
}

[dir=rtl] .sidebar {
  float: right;
}

/* General
--------------------------------------------- */

/* Variables
--------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #141232;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  padding: 0;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: #fff;
  border-bottom: 1px solid rgba(20, 18, 50, 0.08);
  padding: 16px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo span {
  color: #0c1a3c;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

nav a {
  color: #141232;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.language {
  display: flex;
  gap: 8px;
  font-weight: 600;
  color: rgba(20, 18, 50, 0.6);
}

.language a {
  text-decoration: none;
  color: rgba(20, 18, 50, 0.6);
}

.language a:hover {
  color: #0c1a3c;
}

.container {
  padding: 0 16px;
}

.flex-box {
  display: flex;
  flex-direction: column;
}

.between {
  display: flex;
  justify-content: space-between;
}

.center {
  text-align: center;
}

.top-block {
  background-color: #0c1a3c;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.top-block .text {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.top-block h1 {
  color: #fff;
}

.top-block p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 24px;
}

.top-block .image {
  text-align: center;
}

.top-block img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.about {
  background-color: #f2efec;
  padding: 40px 0;
}

.about .text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 24px;
}

.about .image {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.about .image a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  width: 150px;
  padding: 10px;
  background-color: #dddddd;
}

.about .image img {
  object-fit: contain;
}

h1 {
  font-weight: 700;
  font-size: 33px;
}

h2 {
  font-weight: 500;
  font-size: 30px;
  line-height: 32px;
  text-align: center;
  color: #141232;
  margin-bottom: 20px;
}

h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #222222;
}

.contact {
  background-color: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(20, 18, 50, 0.08);
  border-bottom: 1px solid rgba(20, 18, 50, 0.08);
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact-details {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details p {
  margin: 0;
  color: #141232;
  font-size: 16px;
  line-height: 24px;
}

.contact-details strong {
  font-weight: 600;
  color: #141232;
}

.contact-details a {
  color: #0c1a3c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: rgba(12, 26, 60, 0.8);
  text-decoration: underline;
}

.footer {
  background-color: #f2efec;
  padding: 40px 0;
  border-top: 1px solid rgba(20, 18, 50, 0.08);
  border-bottom: 1px solid rgba(20, 18, 50, 0.08);
  text-align: center;
}

@media screen and (min-width: 1240px) {
  .container {
    max-width: 1124px;
    margin: auto;
    padding: 0;
  }

  .flex-box {
    flex-direction: row;
    gap: 40px;
  }

  h1 {
    font-weight: 700;
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
    line-height: 32px;
  }

  h2 {
    font-size: 46px;
    line-height: 56px;
  }

  p {
    font-size: 18px;
    line-height: 26px;
  }

  .mobile-break {
    display: none;
  }

  .hide-mobile {
    display: block;
  }

  .hide-desctop {
    display: none;
  }

  .header-content {
    gap: 32px;
  }

  nav a {
    font-size: 16px;
  }

  .language {
    gap: 12px;
    font-size: 16px;
  }

  .top-block {
    flex-direction: row;
    align-items: center;
    padding: 48px;
    gap: 48px;
  }

  .top-block .text {
    flex: 1;
  }

  .top-block .image {
    flex: 1;
  }

  .about {
    padding: 80px 0;
  }

  .about .text {
    margin-bottom: 60px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
  }

  .about .image a {
    height: 145px;
    width: 145px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact h2 {
    margin-bottom: 40px;
  }

  .contact-details {
    gap: 16px;
  }

  .contact-details p {
    font-size: 18px;
    line-height: 26px;
  }
}