@charset "UTF-8";

.container {
    display: grid;
}
body {
    margin: 0 auto;
    padding: 0;
    background-color: cadetblue;
}
a {
    color: #000000;
    text-decoration: none;
}
a:hover {
    color: #5052a1;
}
p {
    font-size: 16px;
    line-height: 1.8;
    padding: 8px;
}
h1 {
    font-size: 20px;
    line-height: 1.2;
    padding: 5px;
}
h2 {
    font-size: 17px;
    line-height: 1.2;
    padding: 5px;
}
#header-top {
    width: 100%;
    height: 100px;
}
.logo {
    float: left;
}
.header1 {
    width: 200px;
    margin-left: 130px;
    position: absolute;
}
.contact {
    width: 300px;
    margin: 0 auto;
    padding: 0;
}
.mail {
    margin-top: -40px;
}
.lien {
    margin-top: -80px;
}
.header-title2 {
    background-image: url(../images/towndetective.jpg);
    height: 150px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.handyman,.alicia,.detective-agency {
    margin-top: 20px;
    margin-left: 2px;
}
.photo5 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.photo4 {
    margin-left: 50px;
}
.woman {
    width: 100%;
    height: 100%;
    margin-top: 50px;
}
.oneperson {
    width: 300px;
    margin-left: 20px;
}
.investigation1 {
    margin-top: 100px;
}
.line {
    width: 150px;
    border-style: solid;
    border-bottom: 1px;
    border-color: rgb(141, 212, 253);
}
.investigation3 {
    margin-top: 50px;
}
.investigation3 img {
    width: 100%;
    height: 100%;
}
.investigation4 {
    margin: 0 auto;
    padding: 1;
    background-color: #d3d3d371;
}
.eavesdropping {
    margin: 0 auto;
    padding: 1;
}
iframe {
    margin-top: 100px;
}
.secret4 {
    margin-top: 30px;
}
.secret3 {
    width: 320px;
    margin: 0 auto;
    padding: 0;
}
.mail2 {
    margin-left: 10px;
}
.lien2 {
    margin-top: -80px;
    margin-left: 10px;
}
.footer4 {
    margin-top: 30px;
}
.item4 {
    background-color: rgba(60, 91, 134, 0.418);
}
.footer1 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.footer2 {
    padding: 0;    
}
.lien-img {
    width: 400px;
    margin: 50px auto;
}
.lien-download,.lien-friend {
    color: chartreuse;
}
.lien-download {
    margin-left: 10px;
}
.lien-friend {
    margin-left: 80px;
}
@media (min-width: 640px) {
    .container {
        grid-template-columns: 1fr 4fr 1fr;
    }
    .item0 {
        grid-column-start: 1;
        grid-column-end: 4;        
    }
    .item2 {
        grid-column-start: 2;
        grid-column-end: 3;
    }
    .item4 {
        grid-column-start: 1;
        grid-column-end: 4;        
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 20px;
    }
    p {
        font-size: 17px;
    }
    #header-top {
        width: 250px;
    }
    .logo {
        width: 120px;
        height: 70px;
    }
    .header1 {
        font-size: 16px;
        margin-left: 100px;
        position: relative;
    }
    .contact {
        width: 330px;
        float: right;
        margin-top: -80px;
    }
    .mail {
        width: 150px;
        height: 120px;
    }
    .lien {
        margin-left: 10px;
        width: 150px;
        height: 120px;
    }
    .handyman,.alicia,.detective-agency {
        width: 90px;
        height: 30px;
    }
    .handyman {
        margin-left: 10px;
    }
    .header-title2 {
        height: 200px;
    }
    .oneperson2 {
        margin: 0 auto;
    }
    .line {
        width: 170px;
    }
    .investigation1 {
        margin-left: 20px;
    }
    .investigation4 {
        margin-left: 0px;
        width: 200px;
        text-align: center;
    }
    .investigation3 {
        margin-top: 80px;
    }
    .investigation3 img {
        margin-top: 10px;
    }
}
@media (min-width: 800px) {
    .contact {
        width: 440px;
        margin-top: -100px;
    }
    #photo {
        margin-top: 50px;
    }
    .mail {
        width: 200px;
        height: 150px;
    }
    .lien {
        width: 200px;
        height: 150px;
    }
    iframe {
        height: 400px;
    }
}
@media (min-width: 1024px) {
    .container {
        grid-template-columns: 1fr 3fr 1fr;
    }
    #header-top {
        height: 100px;
    }
    .logo {
        width: 150px;
        height: 90px;
        margin-top: 10px;
    }
    .header1 {
        margin-top: 20px;
        margin-left: 140px;
        width: 300px;
        position: absolute;
    }
    .contact {
        width: 500px;
    }
    .mail,.lien {
        margin-top: -25px;
        width: 230px;
        height: 150px;
    }
    .handyman,.alicia,.detective-agency {
        width: 120px;
        height: 40px;
    }
    .footer1 {
        width: 100%;
        display: flex;
        justify-content: center;
        column-gap: 30px;
    }
    .footer3 {
        margin-top: 20px;
    }
    .footer5 {
        margin-top: 30px;
    }
}
@media (min-width: 1440px) {
    .container {
        grid-template-columns: 1fr 2fr 1fr;
    }
    h1 {
        font-size: 26px;
    }
    .logo {
        margin-left: 100px;
    }
    .header1 {
        margin-left: 240px;
    }
    .contact {
        margin-right: 100px;
    }
    .mail,.lien {
        height: 150px;
    }
    .line {
        width: 200px;
    }
    .header-title2 {
        height: 400px;
    }
    .handyman,.alicia,.detective-agency {
        width: 180px;
        height: 50px;
    }
    .photo3 {
        width: 350px;
        height: 120px;
    }
    .investigation4 {
        width: 250px;
    }
    iframe {
        height: 500px;
    }
    .secret3 {
        display: flex;
        width: 100%;
        column-gap: 30px;
        justify-content: center;
    }
    .mail2,.lien2 {
        margin: 0;
    }
    .footer1 {
        column-gap: 60px;
    }
}
@media (min-width: 1920px) {
    .container {
        grid-template-columns: 1fr 1.5fr 1fr;
    }
    h1 {
        font-size: 30px;
    }
    #header-top {
        height: 120px;
    }
   .logo {
    margin-top: 20px;
    margin-left: 300px;
   }
   .header1 {
    margin-top: 30px;
    margin-left: 440px;
   }
   .lien {
    margin-left: 20px;
   }
   .contact {
    margin-top: -110px;
    margin-right: 200px;
   }
   .header-title2 {
    height: 500px;
   }
   .oneperson {
    width: 550px;
    height: 80px;

   }
   .handyman,.alicia,.detective-agency {
    width: 200px;
    height: 100px;
   }
   iframe {
    height: 700px;
   }
   .secret3 {
    column-gap: 50px;
   }
}
@media (min-width: 2560px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .logo {
        margin-left: 500px;
    }
    .header1 {
        margin-left: 640px;
    }
    .contact {
        margin-right: 400px;
    }
    .handyman,.alicia,.detective-agency {
        width: 350px;
        height: 100px;
    }
}