/* 

    Auteur: Tim Kleuver
    Datum: 26-8-2024
    beschrijving: portfolio.css

*/

p
{
    color: black;
}

#item-2
{
    flex-grow: 1;
}

#container
{
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-top: 50px;
    margin-bottom: 100px;
    justify-content: space-evenly;
    flex: 1;
    float: left;
}

#container2
{
    transition: all 0.5s;
    display: flex;
    float: right;
    flex-direction: column;
    width: 48%;
    margin-top: 50px;
    margin-bottom: 100px;
    justify-content: space-evenly;
    flex: 2;
    margin-right: 15px;
}

.item
{
    transform: rotateZ(0deg);
    transition: all 0.5s;
    width: 100%;
    background: linear-gradient(rgb(52, 133, 225), rgb(13, 70, 135));
    margin: 4px;
    min-height: 20px;
    height: auto;
    box-shadow: rgb(69, 68, 68) 2px 2px 2px 2px;
}

.item:hover
{
    transform: rotateZ(1deg);
    transition: all 0.5s;
    width: 100%;
    background: linear-gradient(rgb(13, 70, 135), rgb(52, 133, 225));
    margin: 4px;
    min-height: 20px;
    height: auto;
    box-shadow: rgb(69, 68, 68) 2px 2px 2px 2px;
}

.text
{
    margin: 0px;
}

#item-1
{
    border-radius: 50%;
}

.tim
{
    background-color: blue;
    z-index: 8;
    min-width: 230px;
    max-width: 350px;
}

@media screen and (max-width:580px) and (min-height:450px) and (max-height:1000px) { /*phone portrait*/
    #container
{
    display: flex;
    flex-direction: column;
    width: 97%;
    justify-content: space-around;
    flex: 1;
    float: none;
}

#container2
{
    display: flex;
    float: none;
    flex-direction: column;
    width: 97%;
    justify-content: space-around;
    flex: 2;
}
.text
{
    margin: 0px;
    font-size: 20px;
}

    .tim
    {
        margin-left: 14%;
        padding: 20px;
        background-color: transparent;
        width: 150px;
        height: 320px;
    }
}

@media screen and (max-width: 1000px) and (max-height: 450px) { /*phone landscape*/
    .text
{
    margin: 0px;
    font-size: 20px;
}

    .tim
    {
        margin-left: 15%;
        padding: 20px;
        background-color: transparent;
        width: 150px;
        height: 320px;
    }
}