/* fonts */
@font-face {
  font-family: 'Open-sans';
  font-style: normal;
  src: url('/fonts/OpenSans-Light.ttf');
  font-weight: 300;
}

@font-face {
  font-family: 'Open-sans';
  font-style: normal;
  src: url('/fonts/OpenSans-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Open-sans';
  font-style: normal;
  src: url('/fonts/OpenSans-Bold.ttf');
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
  font-family: 'Open-sans', sans-serif;
}

:root {
  --color1: #0d7ddf;
  --color2: #8fbee8;
}

header {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}

.logo {
  height: 80px;
}

main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  display: flex;
}

.content {
  justify-content: space-around;
  flex-flow: row wrap;
  row-gap: 3rem;
  margin-top: 20vh;
  color: var(--color1);
  font-size: 2.4rem;
  font-weight: 700;
}

.text {
  justify-content: center;
  margin-top: 6rem;
  color: var(--color2);
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
}

.contact {
  justify-content: center;
  margin-top: 6rem;
}

.contact-wrapper {
  display: grid;
}

a {
  text-decoration: none;
  border: 1px solid;
  border-radius: 2px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  margin-bottom: 3rem;
  text-align: center;
}

.mail {
  border-color: var(--color1);
  color: var(--color1);
  transition-duration: 0.3s;
}

.mail:hover {
  color: white;
  background-color: var(--color1);
}

.tel {
  border-color: var(--color2);
  color: var(--color2);
  transition-duration: 0.3s;
}

.tel:hover {
  color: white;
  background-color: var(--color2);
}

footer {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  width: 100%;
  background: rgb(13, 125, 223);
  background: linear-gradient(
    218deg,
    rgba(13, 125, 223, 1) 1%,
    rgba(143, 190, 232, 1) 99%
  );
  color: white;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .content {
    display: grid;
    text-align: center;
    margin-top: 10rem;
  }
}

@media screen and (min-width: 768px) {
  .tel {
    display: none;
  }
}
