/*--------------------Smooth scroll----------------------*/
html {
    scroll-behavior: smooth;
}
/*--------------------universal selector----------------------*/

* {
    margin:0;
}

/*-------------------root styles-------------------------------*/

:root {
    --txt-color:red;
    --red:rgb(95, 5, 5);
    --orange:rgb(186, 37, 0);
    --font1:'Gill Sans', sans-serif;
    --font2: 'Times New Roman', serif;
}

/*--------------------content structure-----------------------*/


.header {
    text-align: center;
    border-bottom: solid;
    border-width: 1pt;
    padding:3% 0;
    
}

.section {
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}


/*---------------------typography structures-------------------*/

h1 {
    font-family: var(--font2);
    color:var(--txt-color);
    font-size: 3vw;
    font-weight: 400;
    
}

h2 {
    background-color:var(--red);
    color:bisque;
    padding:1% 30%;
    border-radius: 50px;
    font-family: var(--font1);
    font-weight: 500;
    margin:2%;
}

img {
    width:15vw;
    height:auto;
    margin: 3%;
}

/*-----------------transform styles----------------*/

.rotate {
    transform: rotate(90deg);

}

.rotate:hover {
    transform:rotate(.75turn);
}

.translate {
    transform:translate(-2px);
}

.translate:hover {
    transform: translateY(60px); 
    
}

.skew:hover {
    transform:skew(100deg, 10deg);
}

.scale:hover {
    transform:scale(1.5);
}