
html {
    scroll-behavior: smooth;
    min-width: 224px;
}

/* Основной контент страницы */
body {
    font-family: Arial, sans-serif;
    font-size: 1em;
    font-weight: normal;
    color: #000000;
    background-color: white;
    background-image: url(""), url("otherimages/back_tile.jpg");
    /*otherimages/back_top.webp*/
    background-repeat: no-repeat, repeat;
    background-size: 100%, auto;
    background-position: top, bottom;
    line-height: 1.5;
    background-attachment: fixed;
}

h3 {
    color: black;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
}

hr {
    border: none;
    border-top: 1px solid rgb(0, 0, 0);
    margin: 0;
    padding: 0;
}

a:visited {
    color: #0000FF;
}

a:active {
    color: #FF0000;
}

/* Меню */
nav.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav.menu li {
    display: inline-block;
    font-size: 1.4em;
    margin-right: 0.5em;
    margin-left: 0.5em;
}

:target:before {
    content: "";
    display: block;
    height: 60px;

}

a[href^="#"] {
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

nav a:link,
nav a:visited {
    text-decoration: none;
    color: #000000;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
}

/* Облака */
.square {
    display: inline-block;
    background-color: white;
    padding: 10px;
    border: none;
    margin-left: -12px;
    opacity: 0.8;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    /* text-shadow: 2px 2px 4px rgb(240, 240, 240); */
}

.square:hover {
    transform: translateY(-5px);
}

nav.menu:hover {
    transform: translateY(0px);
}

.square.notransform:hover {
    transform: translateY(0px);
}

/* Облако с отступом сверху */
.squarenext {
    margin-top: 2em;
}

.squareshow {
    margin-top: 0em;
}

/* .image-logo-container {

} */

.image-logo {
    display: flex;
    object-fit: cover;
    width: calc(100% + 16px);
    height: auto;
    margin-top: 54px;
    margin-left: -8px;
    margin-right: -8px;
    max-height: 575px;
    user-select: none;
    mask-image: linear-gradient(to bottom, 
    black 0%, 
    black 88%, 
    transparent 100%);
}

.image-logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
}


.image-logo img {
    user-select: none;
}

main.square ul li {
    list-style: none;
    margin-bottom: 0.8em;
    padding-left: 1em;
    text-indent: 0;
}

main.square ul li:before {
    content: "•";
    font-size: 2em;
    vertical-align: middle;
    line-height: 0.8em;
    position: relative;
    top: -1px;
    left: -0.6em;
    margin-left: -12px;
}

.div-container {
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Скролл кнопка */
#scrollToTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1;
    font-size: 2em;
    width: 1.5em;
    height: 1.5em;
    border: none;
    border-radius: 0.1em;
    background-color: #dedede;
    /* #dedede */
    color: #000000;
    cursor: pointer;
}

#scrollToTopButton:hover,
#scrollToTopButton:focus {
    background-color: #bebebe;
    text-decoration: none;
    cursor: pointer;
}

#scrollToTopButton:active {
    background-color: #aeaeae;
    text-decoration: none;
    cursor: pointer;
}

/* Поле контакты, блок изображение-текст */
.imageaftertext {
    display: flex;
    align-items: center;
}

.text-to-section {
    margin-left: 20px;
}

.text-marg-20 {
    margin-left: 20px;
    margin-right: 20px;
}

.imageaftertext-text {
    font-weight: normal;
    line-height: 1em;
    margin-left: 20px;
}

.equipment img {
    width: 11em;
    height: 10em;
    display: inline-block;
}

.contactavatar img {
    width: 5em;
    height: 5em;
    border-radius: 7em;
    display: inline-block;
}

.contactlogo img {
    width: 5em;
    height: 5em;
    display: inline-block;
}

.yamap {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yamap iframe {
    position: relative;
}

#geopos {
    display: none;
}

.squareend {
    margin-bottom: 5em;
}


/*
.buttondiv {
    display: flex;
    justify-content: center;
    align-items: center;
}
button[name='send'] {
    width: 120px;
    height: 40px;
    background-color: #FF97CB;
    border: none;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 6px;
    transition-duration: 0.2s;
}
button[name="send"]:hover, button[name="addArray"]:hover {
    background-color: #FF69B4;
}
button[name="send"]:active, button[name="addArray"]:active  {
    background-color: #FF4AA5;
} */