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

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

/* 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;
}

@font-face {
  font-family: "Montserrat";
  src: url(../../fonts/Montserrat-Regular.woff2);
  font-weight: 400;
  font-display: swap;
}

:root {
  --container-width: 1200px;
  --container-padding: 15px;
  --font-main: "Montserrat";
  --background: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: #000;
  font-family: "Montserrat";
  background: url(../img/matbet.jpeg);
  background-size: cover;
  background-position: center;
}

.intro {
  position: relative;
  display: flex;
  height: 1080px;
}

.intro__bg {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  object-fit: cover;
  width: 1920px;
  height: 1080px;
}

.intro__text {
  animation: pulse 1s alternate infinite;
  text-wrap: nowrap;
  position: absolute;
  z-index: 2;
  font-size: 60px;
  color: #fffb21;
  font-weight: bold;
  font-style: italic;
  top: 17%;
  left: 50%;
  transform: translate(-50%, 0%) scale(1);
  object-fit: cover;
}

.links {
  position: absolute;
  z-index: 2;
  top: 60%;
  left: 50%;
  transform: translate(-50%, 0%) scale(1);
  display: flex;
  width: 450px;
  justify-content: space-between;
}

.links__item {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  border-radius: 10px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.4s;
}

.links__item:nth-child(1) {
  background: linear-gradient(180deg, rgb(4 98 194) 31%, rgba(105, 102, 102, 1) 100%);
  ;
}

.links__item:hover {
  transform: scale(1.2);
}

.links__item:nth-child(2) {
  background: linear-gradient(180deg, rgba(252, 121, 5, 1) 0%, rgba(255, 0, 0, 1) 91%);
}

.links__item svg {
  margin-right: 15px;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, 0%) scale(1);
  }

  100% {
    transform: translate(-50%, 0%) scale(1.4);
  }
}

@media(max-width: 768px) {
  .intro__bg {
    width: 768px;
    height: 700px;
  }

  .intro {
    position: relative;
    display: flex;
    height: 700px;
  }

  .intro__text img {
    width: 200px;
    height: 50px;
  }

  .links__item {
    font-size: 16px;
    width: 140px;
    height: 60px;
  }

  .links {
    width: 320px;
  }
}

@media(max-width: 500px) {
  .intro__bg {
    width: auto;
    height: 700px;
    object-fit: cover;
  }
}