*{
    box-sizing: border-box;
}

img {
    position: relative;
    height: 20%;
    width: 20%;
    border-radius: 15px;
}

#main-pic{
    display: block;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #28262C;
}

li{
    float: left;
}

li a{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: solid;
}

li a:hover{
    background-color: #998FC7;
}

h1{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #28262C;
}

.title{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 40px ;
    color: #28262C;
}

footer{
    text-align: center;
    padding: 3px;
    background-color: #14248A;
    color: white;
}

nav{
    display: grid;
}

.dimension{
    background-color: burlywood;
    box-sizing: border-box;
    width: 100px;
    padding: 20px;
    border: 8px solid red;
    margin: 20px;
}

button{
    all:unset;
    color: white;
    width: 200px;
    padding: 20px 16px;
    border-radius: 16px;
    background-color: blue;
    text-align: center;
    transition: background-color 1s, left 0.3s ease-in-out;

}

button:hover{
    left: 100px;
    background-color: blueviolet;
}

input{
    all: unset;
    border: 1px solid black;
    padding: 16px;
    border-radius: 8px;
    caret-color: red;
}

input:focus{
    background-color: burlywood;
}

.outer{
    width: 200px;
    height: 200px;
    background-color:red;
    position: relative;
}

.inner{
    width: 80px;
    height: 80px;
    background-color: burlywood;
    display: absolute;
    top: 20px 16px 12px 8px;
}

/* flex training */
.container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-end;

}

.box{
    width: 100px;
    height: 100px;
    flex-grow: 1;
}

#red{
    background-color: #f25f2c;
    min-width: 1000px;
    height: 400px;
}

#yellow{
    background-color: #ffe066;
    height: 500px;

}

#blue{
    background-color: #247ba0;
    height: 600px;


}