*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

.head{
    display: flex;
    width: auto;
    height: 100px;
    justify-content: space-between;
}

header {
    background-image: url(img/head.jpg);
    width: 100%;
    height: 550px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: blanchedalmond;
}

h2{
    font-size: 19px;
}
a{
    font-size: 16px;
    color: black; /* Set the text color to black */
    text-decoration: none;
}
body {
    text-align: center;
    font-family: sans-serif;
}

.ds {
    width: 40%;
    height: 40%;
    color: blanchedalmond;
    margin: 60px;
    margin-top: 100px;
}

.nv{
    height: 90px;
    margin: 30px;
}
.nv a {
    text-decoration: none;
    margin: 10px;
    
}

.tt {
    display: flex;
    margin: 30px;
    width: auto;
    height: 90px;
}

.h {
    display: flex;
    margin: 10px;
}
h1{
    margin: 5px;
    font-size: 35px;
    margin-bottom: 15px;
}

.bt {
    color: #000;
    padding: 7px 15px;
    background-color: #ffff;
    border-radius: 20px;
    font-size: 14px;
}

.bt:hover {
    color: #fff;
    background-color: #000;
}

h3{
    margin: 30px;
    color: rgb(48, 48, 48);
    font-size: 138%;
}

h4{
    font-size: 20px;
    margin: 10px;
}
#gl {
    margin-bottom: 10px;
}

.contenedor {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    color: rgb(48, 48, 48);
}
p{
    color: rgb(48, 48, 48);
    font-size: 19px;
}
#dg {
    margin-bottom: 10px;
}

.contenedor .tg {
    background-color: #fff;
    width: 30%;
    height: auto;
    margin: 1%;
    border-radius: 10px;
    overflow: hidden;
    justify-content: center;
}

.tg:hover {
    transform: translateY(-5px);
}

.contenedor .tg .ic {
    width: 200px;
    height: 200px;
    margin: auto;
    display: block;
    border-radius: 50%;
}

.row .column img{
    width: 90%;
    margin-top: 7%;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgb(8, 7, 7,0.343);
    border: 1px solid rgba(222,222, 222, 0.118);
    transition: all 1s;
}

.row .column img:hover{
    transform: translateY(-5px);
    opacity: 1.2;
    transform: scale(1.15);
}

.row {
    display: flex;
    padding: 6%;
    flex-wrap: wrap;
    margin-top: -6%;
    margin-bottom: -7%;
}

.column {
    flex: 33%;
    
}

@media ( max-width:600px){
    .column{
        flex: 100%;
    }
}

@media ( max-width:800px){
    .column{
        flex: 30%;
    }
}

@media ( max-width:600px){
    .contenedor .tg .ic {
        width: 120px;
        height: 120px;
    }
}


#mp{
    margin-top: 5px;
    width: 90%;
    height: 500px;
    justify-content: space-between;
    border-bottom: 300px;
}

@media ( max-width:800px){
    .contenedor .tg .ic {
        width: 100px;
        height: 100px;
    }
    h1{
        font-size: 22px;
    }
    h2{
        font-size: 13px;
    }
    h12{
        font-size: 11px;
    }
    header{
        height: 470px;
    }
    h4{
        font-size: 14px;
    }
    p{
        font-size: 14px;
    }
    a{
        font-size: 13px;
    }
}
.Btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: fixed; /* Make the button fixed */
    bottom: 20px; /* Position it 20px from the bottom */
    right: 20px; /* Position it 20px from the right */
    overflow: hidden;
    transition-duration: 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
    background-color: #00d757;
    z-index: 1000; /* Ensure it stays above other elements */
}
  
  .sign {
    width: 100%;
    transition-duration: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .sign svg {
    width: 25px;
  }
  
  .sign svg path {
    fill: white;
  }
  .text {
    position: absolute;
    right: 0%;
    width: 0%;
    opacity: 0;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    transition-duration: 0.3s;
  }
  
  .Btn:hover {
    width: 150px;
    border-radius: 40px;
    transition-duration: 0.3s;
  }
  
  .Btn:hover .sign {
    width: 30%;
    transition-duration: 0.3s;
    padding-left: 10px;
  }
  
  .Btn:hover .text {
    opacity: 1;
    width: 70%;
    transition-duration: 0.3s;
    padding-right: 10px;
  }
  .Btn:active {
    transform: translate(2px, 2px);
  }
video{
    padding: 3%;
    width: 40%;
    height: auto;
    margin-left: 2%;
    margin-right: 6%;
}

.infovid {
    background-color: rgb(34, 34, 34);;
    display: flex;
}

#ttdesc{
    margin-top: 6%;
    color: blanchedalmond;
}

.descr{
    padding-right: 10%;
    font-family: sans-serif;
    color: #fff;
    margin-bottom: 3%;
    
}

@media (max-width: 768px) {
    .infovid {
        flex-direction: column; 
        align-items: center;
        text-align: center;
        padding-bottom: 5%;
    }

    video {
        width: 90%;
        margin: 0 auto;
        margin-top: 5%;
        padding: 2%;
    }

    .descr {
        padding: 0 5%;
        text-align: justify; 
    }

    #ttdesc {
        margin-top: 3%;
        font-size: 1.3rem;
    }
}
footer{
    padding-top: 1%;
    padding-bottom: 1%;
}
