::-webkit-scrollbar{
    display: none;
}
* {
    transition: all 0.2s ease-in-out;
}
body {
    font-family: Arial, Helvetica;
    color: white;
    background: black;
    margin: 0;
    padding: 0;
    height: 100%;
}
/*header menu*/
.animated-link {
    display: flex;
    color: whitesmoke;
    text-decoration: none;
    text-shadow: 0 1px 2px black;
    writing-mode: vertical-lr;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
}
.animated-link a {
    display: flex;
    background-color: red;
    color: whitesmoke;
    text-decoration: none;
    padding: 10px 5px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 0 0 5px;
    cursor: pointer;
    transition:
    color 0.5s ease-out,
    background-color 0.15s ease-out;
}
.animated-link a:nth-child(2n) {
    display: flex;
    background-color:blue;
    color: whitesmoke;
    padding: 10px 5px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition:
    color 0.5s ease-out,
    background-color 0.15s ease-out;
}
.animated-link a:nth-child(3n) {
    display: flex;
    background-color: rgb(255, 200, 0);
    color: whitesmoke;
    padding: 10px 5px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition:
    color 0.5s ease-out,
    background-color 0.15s ease-out;
}
.animated-link a:hover:nth-child(1n) {
    color: black;
    background-color: whitesmoke;
    box-shadow: 0 0 30px black;
    text-shadow: none;
}
.animated-link a:hover:nth-child(2n) {
    color: black;
    background-color: whitesmoke;
    box-shadow: 0 0 30px black;
}
.animated-link a:hover:nth-child(3n) {
    color: black;
    background-color: whitesmoke;
    box-shadow: 0 0 30px black;
}
/*main template*/
.card1 {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 425px;
    margin: 5vh auto 0 ;
    position: relative;
    border-bottom: 1px solid white;
    padding-bottom: 15px;
}
.photo {
    position: absolute;
    right: 0;
    width: 60%;
    height: 97%;
    object-fit: cover;
    object-position: 80%;
    box-shadow: 0 0 5px gray;
}
h1 {
    z-index: 1;
    font-size: 15px;
    padding: 0px 0px 20px;
    margin-top: 0;
    border-bottom: 1px solid white;
    width: 35%;
}
h2 {
    font-size: 11px;
    width: 140px;
    text-align: justify;
    line-height: 18px;
}
.card2 {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 442px;
    margin: 15px auto;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 5vh;
}
.photo2 {
    left: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: 30%;
    box-shadow: 0 0 5px gray;
}
.titre2 {
    position: absolute;
    right: 0;
    z-index: 1;
    font-size: 15px;
    padding: 0px 0px 20px;
    border-bottom: 1px solid white;
    width: 35%;
    right: 0;
    text-align: right;
}
.text2 {
    position: absolute;
    right: 0;
    font-size: 11px;
    width: 140px;
    text-align: right;
    line-height: 18px;
    padding-top: 55px;
    text-align: justify;
}
.reddot {
    position: absolute;
    background-color: red;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin: 50vh 50vw;
    z-index: 1;
    box-shadow: 0 0 20px red;
    animation: 2s funkyY ease-in-out infinite;
}
.yelodot {
    position: absolute;
    background-color: rgb(255, 200, 0);
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin: 10vh 65vw;
    z-index: 1;
    box-shadow: 0 0 20px rgb(255, 200, 0);
    animation: 1.8s funkyY ease-in-out infinite;
}
.bluedot {
    position: absolute;
    background-color: blue;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin: 93vh 35vw;
    z-index: 1;
    box-shadow: 0 0 20px blue;
    animation: 1.65s funkyY ease-in-out infinite;
}
@keyframes funkyY {
    50% {
       transform: translateY(10px);
    }
}
/*media query*/
@media (max-width: 700px) {
    .card1 {
        width: 290px;
        height: 385px;
        margin-top: 5vh;
    }
    .photo {
        width: 50%;
        object-position: 75%;
    }
    h1 {
        font-size: 15px;
        width: 45%;
    }
    h2 {
        font-size: 10px;
        width: 130px;
        line-height: 16px;
    }
    .card2 {
        width: 290px;
        height: 375px;
        margin: 15px auto;
    }
    .photo2 {
        width: 50%;
        object-position: 35%;
    }
    .titre2 {
        font-size: 15px;
        width: 45%;
    }
    .text2 {
        font-size: 10px;
        width: 130px;
        line-height: 16px;
    }
}