@font-face {
  font-family: "Roboto"; /* set name */
  src: url(assets/Roboto-VariableFont_wdth,wght.ttf) format('truetype'); /* url of the font */
  /* font-weight: normal;
  font-style: normal; */
}
body{
  font-family: "Roboto", sans-serif;
  font-size: 1.1em;
  color: #04345d;
  margin: 0;
}
.header{
  display: flex;
  gap: 0.7em;
  justify-content: flex-end;
  border-block-end: solid 2px;
  padding-block: 1.4em;
  padding-inline: 1em;
  font-size: 0.8em;
  z-index: 2;
  position: relative;
  box-shadow: 0 1px 7px #555a;
}
.logo{
  position: absolute;
  top: 0;
  left: 0;
  display:flex;
}
.logo > img{
  width: 11em;
  height: 8em;background-color:#c1001f;
  padding-left: 5em;
}
.logo > div{
  border-top: solid #c1001f 8em;
  border-right: solid transparent 8em;
}
.logo > #shadow{
  position: absolute;
  height: 0;
  width: 19em;
  z-index: -1;
  border-right: solid transparent 8em;
  border-top: solid #aaa6 8em;
}
.block1{
  background-image: url(assets/BG2.svg);
  padding-left: 5em;
  background-size: cover;
  padding-top: 5em;
  position: relative;
}
.block1 > .hor{
  justify-content: space-between;
  padding-right: 20em;
}
.tx{
  z-index: 1;
}
#deviceImg{
  height: 20em;
  scale:1.6;
  margin-left: 4em;
  align-self: end;
  position: relative;
  z-index: 2;
}
#bgText{
  font-size: 7em;
  color: #80808030;
  font-weight: bold;
  white-space: nowrap;
  writing-mode: vertical-rl;
  position: absolute;
  right: 0.6em;
  transform: translateY(calc(-4em / 7));
}
#phoneLine{
  /* background-image: linear-gradient(90deg,transparent,#04345d); */
  padding-block: 1em;
  display: flex;
  justify-content: space-between;
  padding-right: 2em;
  position: relative;
  /* z-index: 0; */
}
#phoneLine > div{
  display: flex;
  align-items: center;
  gap: 0.5em;
  z-index: 1;
}
#phoneLine > div > img{
  height: 1em;
}
#phoneLine > img{
  height: 2em;
  z-index: 1;
}
#phoneLine > #bg{
  background-image: linear-gradient(90deg,transparent,#04345d);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 0;
}
.divide{
  width: 100%;
  height: 1px;
  background-color: #ccc;
}
.block2{
  padding:5em;
  background-image: url(assets/BG.svg);
  background-size: cover;
}
.block3{
  background-image: url(assets/BG.svg);
  padding-left: 5em;
  padding-block: 3em;
  background-size: cover;
  position: relative;
  background-blend-mode: multiply;
  background-color: #f0f0f0;
}
.block3 > div {
  z-index: 1;
  position: relative;
}
.block3 > div > .horItem{
  max-width: 33vw;
}

h1{
  color: #c1001f;
  font-size: 4em;
  margin: 0.1em;
  white-space: nowrap;
  margin-top: 0.8em;
}
h2{
  margin: 0.1em;
}
h3{
  color: #c1001f;
  margin-block: 0.1em;
  font-size: 1.4em;
}
h4 {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
}
h5{
  color: #c1001f;
  margin-block: 0.1em;
  font-size: 1.4em;
  font-weight: normal;
}
h6 {
  font-size: 1.1em;
  margin-block: 1em;
}
button{
  background-color: #c1001f;
  color: white;
  border: none;
  border-radius: 0.4em;
  padding-block: 0.6em;
  padding-inline: 1.2em;
  font-size: 0.9em;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
}
button:hover {
  filter: brightness(1.2);
}
button:active {
  filter: brightness(0.8);
}
img {
  user-select: none;
}
#dial{
  position:absolute;
  max-width: 53%;
  right: 9em;
  bottom: 0;
  z-index: 1;

}
.hor{
  display: flex;
  justify-content: space-between;
  gap:1em;
}
.horItem{
  padding-inline: 0.7em;
  padding-top: 0.5em;
  padding-bottom: 2em;
  position: relative;
  width: fit-content;
}
.horItem > .tx{
  position: relative;
  z-index: 2;
}
.horItem > .edge{
    position: absolute;
    height: 15px;
    width: 15px;
}
.horItem > .left{
  position: absolute;
  left: 0;
  border-left: solid #04345d 1px;
}
.horItem > .bottom{
  bottom: 0;
  border-bottom: solid #04345d 1px;
}
.horItem > .right{
  right: 0;
  border-right: solid #04345d 1px;
}
.horItem > .top{
  top: 0;
  border-top: solid #04345d 1px;
}
#detailImg{
  height: -webkit-fill-available;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-mask-image: linear-gradient(black 25%, #0002);
  mask-image: linear-gradient(black 25%, #0002);
}
.grid{
  display: grid;
   grid-template-columns: auto auto auto;
   padding-left: 5em;
   padding-block: 1.5em;
   justify-items:baseline;
   width: max-content;
   gap: 1em;
   color: black;
}
.grid > #contact{
  grid-column: 1 / span 2;
}
.blue{
  background-color:#04345d;
}
video{
  max-width: 48vw;
  max-height: 39vw;
}
.footer{
  color: white;
  background-color: #04345d;
  font-size: 0.9em;
  padding-left: 8.333em;
  padding-block: 3.333em;
}
@media only screen and (max-width: 750px) {body {font-size: 1em;}}
@media only screen and (max-width: 650px) {body {font-size: 0.9em;}}
@media only screen and (max-width: 600px) {body {font-size: 0.8em;}}
@media only screen and (max-width: 530px) {body {font-size: 0.7em;}}
@media only screen and (max-width: 470px) {body {font-size: 0.6em;}}
@media only screen and (max-width: 400px) {body {font-size: 0.5em;}}
