* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    border-style: none;
    list-style-type: none;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* wrapper  and mains*/
#wrapperScroll{
    position: absolute;
    background-image:  url("../images/serviceBack.png");
    top: 0;
    right: 0;
    bottom: 100;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100;
    border: 1px solid #000; 
    background-color: rgb(237, 237, 237);
}
#wrapper{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border: 1px solid #000; 
    background-color: rgb(237, 237, 237);
}
main{
    margin-left: 3%;
}
header {
    text-align: center;
    margin-bottom: 9%;
}
/* text */
h1 {
    margin-top: 5%;
    font-size: clamp(1.25rem, 1.1035rem + 1.0191vw, 2.25rem);
   
}
h3{
    font-size: clamp(1.125rem, 1.0189rem + 0.4848vw, 1.625rem);
}
p{
    margin: 0;
    padding: 0;
}
/* logo */
#logoPOne{
    position: absolute;
    object-fit: cover;
    border-left: 4px solid #ceb49f;
    height: 85%;
    margin-left: 3%;
    z-index: 1;
}
#logoPTwo{
    position: absolute;
    z-index: 1;
    object-fit: cover;
    margin-left: 3%;
    height: 15%;
    bottom: 0;
}

/* Home page*/
#homePage {
    list-style: none;
    padding: 0;
    margin: 0;
}
#homePage p{
    text-align: center;
    font-weight: bold;
    font-size: 120%;
}
#firstPic{
    position: absolute;
    left: 0%;
    bottom: 35%;
    top: 5%;
    width: 24%;
}
#secondPic{
    position: absolute;
    bottom: 0%;
    top: 19%;
    width: 24%;
    left: 25.5%;
}
#thirdPic{
    position: absolute;
    top: 0%;
    bottom: 25%;
    width: 24%;
    right: 25.5%;   
}
#fourthPic{
    position: absolute;
    right: 0%;
    width: 24%;
    top: 19%;
    bottom: 22%;
}   
#firstPic img, #fourthPic img, #secondPic img, #thirdPic img {
    height: 100%;
    width: 100%; 
}
/* home animation */
#firstPic, #thirdPic {
    animation: slideInTop 3s ease forwards;
}
#secondPic, #fourthPic {
    animation: slideInBottom 3s ease forwards;
}
@keyframes slideInTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideInBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* inner-wrapper */
.inner-wrapper{
    padding: 0;
    text-align: center;
}
.inner-wrapper img{
    width:  23vh;
    height: auto;
}
.inner-wrapper video{
    width:  23vh;
    height: auto;
}
.inner-wrapper p {
    margin-top: 3%;
    margin-bottom: 3%;
}
/* contacts */
.contact p{
    font-size: clamp(0.75rem, 0.6584rem + 0.6369vw, 1.375rem);
    margin-left: 3%;
    text-decoration: underline;
}
#contacts{
    position: absolute;
    bottom: 30%;
}
.contact {
    display: flex;
    flex-direction:row;
    align-items: center;
    text-align: center;
}
#map{
    height: 50%;
    width: 75%;
    margin-top: 3%;
}

/* navigation */
nav {
    position: absolute;
    top: 0%;
    right: 5%;
    z-index: 2; 
    margin-top: 5.5%;
}
nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 3vw;
}
a, a:link, a:visited {
    text-decoration: none;
    color: #000;
}
/* footer */
footer{
    position: absolute;
    bottom: 2.2%;
    width: 100%;
}
footer ul{
    font-size: clamp(0.5625rem, 0.2329rem + 2.293vw, 2.8125rem);
    font-weight: bold;
    list-style: none;
    padding-left: 32%;
    padding-right: 8%;
    color: #ceb49f;
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid #ceb49f;
}
/* about */
#aboutImg{
    width: 50%;
    margin-bottom: 500px;
}
#aboutimg{
    margin-top: 3%;
    margin-bottom: 3%;
    max-width:40%;
    filter: drop-shadow(10px -10px 10px rgb(64, 63, 64));

}
#about{
    margin-bottom: 0px;
}
#aboutus h2{
    font-size: 3vh;
    margin: 2%;

}
#aboutustext{
    width: 80%;
    text-align: center;
}
#aboutustext p{
    margin-bottom: 3%;
    font-size: clamp(0.75rem, 0.6842rem + 0.2807vw, 1rem);
}
/* about logos */
.logo-container {
    max-width: 75%;   
    max-height: 20%;
    margin:15px;
}
/* .logos-wrapper {
    display: flex;
} */

.logos-wrapper img {
    max-width: 50px; 
    max-height: 50px; 
    margin-right: 10px; 
}
/* services */
#servisestext{
    width: 80%;
    padding-left: 10%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}
#servisestext p{
    margin-bottom: 2%;
}
#servisestext h1{
    margin-bottom: 3%;
}
#servises img,video{
    filter: drop-shadow(10px -10px 10px rgb(64, 63, 64));
}

/* computer screen */
@media only screen and (min-width: 600px) {
    body{
        background-color: #f7f7f7c0;
        background-size: cover;
    }
    main {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      padding-bottom: 15%;
    }
    #wrapperScroll{
        margin: auto;
        width: calc(100vh*0.7);
        
    }
    nav a{
        font-size: 90%;
    }
    #homePage p{
        font-size: 170%;
    }
    #wrapper{
        margin: auto;
        width: calc(100vh*0.7);
        height: 100vh;
    }
    #logoPOne{
        height: 83%;
    }
    #logoPTwo{
        height: 17%;
    }
    p{
        font-size: 1.2em;
    }
    .logos-wrapper img {
        max-width: 70px; 
        max-height: 70px; 
    } 
    footer ul{
        font-size: 100%;
    }
    #aboutustext p{
        margin-bottom: 3%;
        font-size: clamp(0.5625rem, 0.0625rem + 1vw, 1rem);
    }
}
@media only screen and (min-width: 1500px) {
    .logos-wrapper img {
        max-width: 120px; 
        max-height: 120px; 
    } 
}
/* phone screen */
@media only screen and (max-width: 599px) {
    main {
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 3%;
        padding-bottom: 9%;

    }
    #logoRest{
        height: 6%;
    }
    #logoStart{
        height: 94%;
    }
    .inner-wrapper img{
        width:  36vh;
        height: auto;
    }
    .inner-wrapper video{
        width:  36vh;
        height: auto;
    }
    #in_video{
        margin-bottom: 21%;
    }
    footer{
        bottom: 1.3%;
    }
    /* #aboutus h2{
        position: absolute;
        bottom: 40%;
    } */

}