:root{
--color-link: #002f5a;
--color-dlg: #002f5acc;
--color-button: #000000c0;
}

@font-face {
    font-family:Icons;
    src:url(./fonts/icons.eot);
    src:url(./fonts/icons.eot?#iefix) format("embedded-opentype"),
    url(./fonts/icons.woff2) format("woff2"),
    url(./fonts/icons.woff) format("woff"),
    url(./fonts/icons.ttf) format("truetype");
    font-style:normal;
    font-weight:400;
    font-variant:normal;
    text-decoration:inherit;
    text-transform:none
}
@font-face {
    font-family:Brands;
    src:url(./fonts/brands.eot);
    src:url(./fonts/brands.eot?#iefix) format("embedded-opentype"),
    url(./fonts/brands.woff2) format("woff2"),
    url(./fonts/brands.woff) format("woff"),
    url(./fonts/brands.ttf) format("truetype");
    font-style:normal;
    font-weight:400;
    font-variant:normal;
    text-decoration:inherit;
    text-transform:none
}

@font-face {font-family: 'Roboto'; font-style: normal; font-weight: normal; src: local('Roboto'), url(./fonts/Roboto-Regular.ttf);}
@font-face {font-family: 'Roboto'; font-style: italic; font-weight: normal; src: local('Roboto'), url(./fonts/Roboto-Italic.ttf);}
@font-face {font-family: 'Roboto'; font-style: normal; font-weight: bold; src: local('Roboto'), url(./fonts/Roboto-Bold.ttf);}
@font-face {font-family: 'Roboto'; font-style: italic; font-weight: bold; src: local('Roboto'), url(./fonts/Roboto-BoldItalic.ttf);}

*{padding: 0; margin: 0; box-sizing: border-box;}
body{
    min-height: 100vh; 
    color: white; 
    font-family: Roboto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(/share/img/gui/underwaterdive.jpg);
}
a, button, [onclick], menu *, .mess{cursor: pointer;}
a{text-decoration: none; color: var(--color-link);}
li{margin-left: 30px;}

button, input, textarea, .button{
    border-radius: 7px;
    box-shadow: 0 0 10px black;
    border: none;
}
button, input, textarea{
    padding: 10px 20px;
}
button{
    background-color: var(--color-button);
    color: white;
}
button.white{
    background-color: white;
    color: var(--color-link);
}
button:hover, .button:hover{
    margin-top: -2px;
    box-shadow: 0 0 12px black;
}

.icon{font-family: Icons;}
.icon.phone::before{content: "\f095";}
.icon.mail::before{content: "\f0e0";}
.icon.email::before{content: "\f1fa";}
.icon.address::before{content: "\f2bb";}
.icon.close::before{content: "\f057";}
.icon.mess::before{content: "\f075";}
.icon.close{
    font-size: 5vh;
    position: fixed;
    top: 10vh;
    right: 10vw;
}

@keyframes wiggle {
    0% { transform: scale(0.7); }
   30% { transform: scale(0.7); }
   40% { transform: scale(1); transform: rotate(0deg);}
   50% { transform: rotate(0deg); }
   55% { transform: rotate(15deg); }
   60% { transform: rotate(-15deg); }
   65% { transform: rotate(0deg); }
   90% { transform: rotate(0deg); }
   100% { transform: scale(0.7); }
}
.mess{
    position: fixed;
    top: 50vh;
    right: 5vw;
    z-index: 100;
    font-size: 35px;
    line-height: 70px;
    height: 70px;
    width: 70px;
    background-color: var(--color-link); 
    box-shadow: 0 0 10px black, 0 0 5px black;
    text-align: center;
    border-radius: 100%;
    animation: wiggle 20s infinite;
}
.mess:hover{animation: none;}

.brand{
    font-family: Brands;
    font-size: 25px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
}
.brand.wapp{background-color: #25d366;}
.brand.teleg{background-color: #2ca5e0;}
.brand.wapp::before{content: "\f232";}
.brand.teleg::before{content: "\f2c6";}

content{max-width: 100vw; padding: 2.5vw;}
footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(9px);
    width: 100%;
}
footer .logo{
    height: 100px;
    width: auto;
}
.dialog{
    display: none;
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    width: 100vw;
    padding: 5vw;
    color: white;
    background-color: var(--color-dlg);
    backdrop-filter: blur(9px);
    border: none;
    z-index: 110;
}
.dialog td{padding: 5px;}
.dialog td:first-child{text-align: right;}
.dialog em{color: red; font-size: 1.2em;}

@media screen and (orientation: portrait) {
.contact{flex-direction: column;}
}