@import url("https://fonts.googleapis.com/css2?family=Squada+One&display=swap");
/* 400 500 600 700 */

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

@font-face {
  font-family: "MyWebFont";
  src: url(../fonts/Segoe.ttf);
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Squada One", sans-serif;
  font-weight: 400;
}

.container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.bg {
  height: 100vh;
  width: auto;
  max-width: 50%;
  object-fit: cover;
  flex-shrink: 1;
  min-width: 0;
}

.content {
  margin: 0 5%;
  flex: 1;
  min-width: 0;
}

.content > h1 {
  font-size: clamp(42px, 6vw, 64px);
  margin-bottom: 5%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.content > p {
  font-family: MyWebFont;
  font-size: 16px;
  font-style: normal;
  line-height: 1.45;
  margin-bottom: 15%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.btn {
  color: #fff;
  font-size: 30px;
  border-radius: 17px;
  background: #2b2b2b;
  padding: 2% 12% 2% 7%;
  position: relative;
}

.btn > a {
  color: #fff;
  font-size: 30px;
}

.btn::after {
  position: absolute;
  top: 35%;
  left: 75%;
  content: "";
  width: 20px;
  height: 20px;
  background-image: url(../img/tel_icon.svg);
}

@media (max-width: 575px) {
  .container {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .bg {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px 20px 40px;
    box-sizing: border-box;
  }

  .content > h1 {
    font-size: clamp(36px, 11vw, 56px);
    margin-bottom: 16px;
  }

  .content > p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .btn {
    padding: 12px 48px 12px 24px;
    margin-bottom: 0;
    font-size: 24px;
  }

  .btn::after {
    top: 50%;
    left: auto;
    right: 16px;
    transform: translateY(-50%);
  }
}
