*{
    margin: 0;
    padding: 0;
}

body{
    background-color: rgb(227, 216, 207);
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header{
    background-color: rgb(88, 20, 9);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 20px;
}

h2{
    font-size: 2rem;
    margin-bottom: 20px;
}

h1{
    margin-top: 10px;
    font-size: 4.5rem;
}

p{
    font-size: 1.5rem;
}

header a{
    color: rgb(227, 216, 207);
    text-decoration: none;
    font-size: 1.5rem;
}

#banner{
    color: rgb(32, 32, 32);
    text-decoration: none;
    text-align: center ;
}

#banner img{
    width: 30%;
    margin: 50px;
    margin-left: 100px;
}

hr{
    border: 1px solid rgb(36, 36, 36);
    margin-top: 10px;
}

#layout{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    text-align: left;
    margin-left: 100px;
    margin-top: 50px;
}

#description{
    margin-top: 125px;
}


#board img{
    margin-left: 50px;
    width: 70%;
    transition: opacity 500ms;
}

/*transition*/
figure .visible{
    opacity: 1;
}

figure .hidden{
    opacity: 0;
}

figure{
    position: relative;
}
figure img{
    position: absolute;
    top: 0;
    left: 0;
}

figure:hover .hidden{
 opacity: 1;
}

figure:hover .visible{
    opacity: 0;
}


#roles{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#role-layout{
    margin-top: 350px;
    margin-left: 100px;
    margin-bottom: 200px;
}

#roles p{
    padding: 20px;
}

/*my role*/
#my-role{
    background-color: rgb(177, 142, 33);
    height: 500px;
    width: 100%;
    h2{
        color: aliceblue;
    }

    p{
        color: aliceblue;
    }

    img{
    width:66%
    }

    figure{
       margin-left:100px;
    }
}

#capyskill{
    background-color: rgb(0, 0, 0);
    height: 500px;
    width: 100%;
    h2{
        color: aliceblue;
    }

    p{
        color: aliceblue;
    }

    img{
    width:59%
    }

    figure{
       margin-left:100px;
    }
}

#challenge{
    background-color: rgb(88, 20, 9);
    padding: 100px;
    display: grid;
    h2{
        color: aliceblue;
    }

    p{
        color: aliceblue;
    }
}