/*
Nom : Mohamed Talhaoui
Filière : Informatique et IA (S3) | 2024/2025
*/

@font-face {
    font-family: 'ballpark';
    src: url(/polices/ballpark.ttf);
}

@font-face {
    font-family: 'dayrom';
    src: url(/polices/dayrom.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: Verdana, sans-serif;
    font-size: 1.2em;
    padding: 20px;
    margin: 5px;
}

#mohamed-talhaoui{
    font-family: 'ballpark';
}

header{
    height: 180px;
}

header a{
    text-decoration: none;
    color: black;
}

header a:hover{
    color: #660033;
    font-weight: bolder;
}

header ul{
    font-family: 'dayrom';
    font-size: 1.4em;
    list-style: none;
}

header li{
    display: inline;
    margin-right: 20px;
}

header nav{
    display: inline;
    text-align: right;
}

header img{ /*LOGO*/
    width: 70px;
    height: 70px;
    margin-right: 20px;
    padding-top: 0;
}

header h1{
    display: block;
}

header p{
    display: inline;
    font-family: 'dayrom';
    font-size: 1.2em;
}

.titre{ /*TOUS LES TITRES*/
    font-family: 'dayrom';
    font-size: 1.4em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

main{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 10px;
    padding: 0;
}

section{
    display: block;
}

section img{
    width: 100%;
}

.separateur{
    height: 5px;
}

.fpn-img{
    display: block;
    position: relative;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px;
    box-shadow: 0px 2px 10px #000000;
}

section p{
    display: block;
    position: relative;
    background-color: #000000d6;
    color: white;
    padding: 25px;
    padding-left: 10px;
    bottom: 72px;
    width: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

section button{
    font-family: Verdana, sans-serif;
    font-size: 15px;
    border-radius: 5px;
    background-image: url(https://t4lhawi.github.io/Programmation-Web/HTML%20&%20CSS/CSS/TDMs/TDM3/images/fond_degraderouge.png);
    color: white;
    position: absolute;
    padding: 5px;
    width: 150px;
    top: 535px;
    right: 80px;
}

@media screen and (max-width: 1200px) {
    section button{
        top: 420px;
        right: 60px;
    }
}

@media screen and (max-width: 800px) {
    section button{
        top: 355px;
        right: 60px;
    }
}

@media screen and (max-width: 750px) {
    section button{
        width: 110px;
        top: 315px;
        right: 60px;
    }
}


.about-me img{
    display: inline;
    position: relative;
    bottom: -20px;
    width: 50px;
}

.about-me .titre{
    display: inline;
    word-spacing: 15px;
    line-height: 60px;
}

.about-author{
    display: block;
    position: relative;
    padding: 10px;
    margin: 0;
    background-color: gray;
    color: white;
    width:100%;
    height: 100%;
    justify-items: center;
    text-align: center;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0px 2px 5px #000000;
}

.about-author .etudiant{
    width: 85%;
    padding-top: 20px;
}

.about-author .social-media{
    display: inline-block;
    padding: 10px;
}

.about-author .titre{
    padding-top: 20px;
}

.about-author .bulle{
    position: absolute;
    width: 20px;
    right: 100%;
    top: 30%;
}

.separe{
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
}

.separe .ombre{
    display: flex;
    width: 100%;
    height: 10px;
    position: relative;
}
.separe a img{
    display: flex;
    justify-self: center;
    bottom: 14px;
    position:relative;
}

.footer-layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.photos img{
    border: 1px solid;
}
.competences ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #660033;
    list-style-image: url(https://t4lhawi.github.io/Programmation-Web/HTML%20&%20CSS/CSS/TDMs/TDM3/images/ico_liensexterne.png);
}