/* 

    Auteur: Tim Kleuver
    Datum: 26-8-2024
    beschrijving: hobbys.css

*/

section{
    margin-bottom: 70px;
}

#item-2
{
    flex-grow: 1;
}

#container
{
    transition: all 0.5s;
    display: flex;
    flex-direction: row;
    max-height: 10%;
    margin-top: 100px;
    margin-bottom: 100px;
    justify-content: space-evenly;
    flex: 1;
    float: left;
}

.item
{
    transform: rotateZ(0deg);
    transition: all 0.5s;
    box-shadow: rgb(255, 255, 255) 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    margin: 40px;
    max-height: 10%;
    min-height: 20px;
    height: auto;
}

.item:hover
{
    transform: rotateZ(1deg);
    transition: all 0.5s;
    box-shadow: white 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    margin: 4px;
    min-height: 20px;
    height: auto;
}

.text
{
    margin: 0px;
}

#item-1
{
    border-radius: 50%;
    width: 40%;
    max-width: 350px;
    min-width: 200px;
}

.tim
{
    background-color: blue;
    z-index: 8;
    width: 100%;
    height: 100%;
}

@media screen and (max-width:580px) and (min-height:450px) and (max-height:1000px) { /*phone portrait*/
    #container
{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    flex: 1;
    float: none;
}
#item-1
{
    border-radius: 50%;
    width: 50%;
    margin-left: 20%;
    max-width: 165px;
    min-width: 100px;
}

.item
{
    width: 90%;
    transform: rotateZ(0deg);
    transition: all 0.5s;
    margin-left: 5%;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: rgb(255, 255, 255) 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    min-height: 20px;
    height: auto;
}

.item:hover
{
    width: 90%;
    transform: rotateZ(1deg);
    transition: all 0.5s;
    margin-left: 5%;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: rgb(255, 255, 255) 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    min-height: 20px;
    height: auto;
}

.tim
{
    background-color: blue;
    z-index: 8;
    width: 100%;
    height: 100%;
}
#item-2
{
    flex-grow: 1;
    margin-bottom: 0px;
}
}

@media screen and (max-width: 1000px) and (max-height: 450px) { /*phone landscape*/

    #item-2
    {
        flex-grow: 1;
    }

#container
{
    transition: all 0.5s;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 100px;
    justify-content: space-evenly;
    flex: 1;
    float: left;
}

.item
{
    transform: rotateZ(0deg);
    transition: all 0.5s;
    margin-top: 200px;
    box-shadow: rgb(255, 255, 255) 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    margin: 20px;
    min-height: 20px;
    height: auto;
}

.item:hover
{
    transform: rotateZ(1deg);
    transition: all 0.5s;
    margin-top: 200px;
    box-shadow: rgb(255, 255, 255) 2px 2px 2px 2px;
    background-color: rgb(30, 30, 30);
    color: white;
    margin: 4px;
    min-height: 20px;
    height: auto;
}

.text
{
    margin: 0px;
}

#item-1
{
    border-radius: 50%;
    width: 100%;
}

.tim
{
    background-color: blue;
    z-index: 8;
    width: 100%;
    height: 100%;
}
}