
* {box-sizing: border-box;}
html, body {
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode'; color: rgba(255, 255, 255, 0.932);
    background-color:#688fa5;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background-image: url(images/tlo1.png);
    background-repeat: repeat;
    background-position: center center;
    background-size: 25%;

}


#profile img{
    border-radius: 50%;
    width: 400px;
    height: 400px;   
    z-index: 1;
    position: relative;
    background-color: #ffffff;
    background-image: url(images/base.png);
}

#profile img:hover{
    background-image: url(images/animatedobrys.gif);
}

#About p{
    color: ##8B8644;
}

#mainbody {
    border-radius: 25px;
    opacity: 0.5px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}


header {
    position: left;
}

footer{
    font-size: small;
}


hr {
    
    border: dtted 2px #ffffff; 
}

.experience h1{ 
    background-color: rgba(44, 44, 44, 0.863);
    text-align: center;
}

.work {
    margin-top: 50px;
    background-color: rgba(44, 44, 44, 0.863);
    opacity: 0.5px;
    border-radius: 5px;
    top: 50px;
    width: 100%;
    padding: 10px;
    font-size: medium;
}



#Additonal {
    border-radius: 5px;
    background-color: rgba(44, 44, 44, 0.863);
    opacity: 0.5px;
    width: 80%;
    padding: 10px;
    grid-row: 1;
    display: inline-block;
}

#Additonal li{
    display: inline-block;
    padding: 10px;
}

header { 
    align-items: center;
}


nav {
    display: block;
    background-color: rgba(44, 44, 44, 0.5);
    flex-direction: row;
}

a{
    color: white;
}


@media screen and (max-width: 600px){
    .portfolio iframe{
        width: 200px;
        height: 560px;
    }
    model-viewer{ 
        width: 200px;
    }
    .banner{
        background-image: none;
    }
    .portfolio h2{
        font-size: 25px;
  }
}

nav li {
    display: inline-block;
    margin: auto;
    background-color: rgb(44, 44, 44);
    margin-top: 15px;
    margin-bottom: 10px
  }

nav{
    width: 100%;
    background: none;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
    min-width: 0;
    flex-grow: 1;
    margin: 0;
    bottom: 0;
    padding: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode'; color: rgba(255, 255, 255, 0.932);
    text-align: center;
    border-bottom: #ffffff solid;
    background-repeat: repeat;
    background-position: center center;
    background-size: 25%;
    background-color: rgb(44, 44, 44);
    background-image: url(images/tlo2.png);
    word-spacing: 10px;
}

nav a:hover{
    color: rgb(208, 199, 211);
    background-color:#688fa5;
}

nav a{
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.932);
    color: black;
}

.portfolio iframe{
    width: 720px;
    height: 560px;
}


#contact {
    text-align: left;
    background-color: rgb(44, 44, 44);
    padding: 0;
    bottom: 0;
    flex-grow: 1;
    flex-direction: row;
    width: 100%;
    margin-top: 50px;
}

#contact li {
    display: inline-block;
    padding: 10px;
}