@font-face {
    font-family: "PawWow";
    src: url('./Media/fonts/paw-wow-font/PawWowBlock-VGMDl.otf');
}

@font-face {
    font-family: "Papaw";
    src: url('./Media/fonts/doggy-papaw-font/DoggyPapawDemo-ZpyL8.otf');
}

@font-face {
    font-family: "Doggie Regular";
    src: url("./Media/fonts/doggie.regular.ttf");
}


body {
    background-color: #FFF7D1;
    margin: 0;
    padding: 0;
    font-family: "Doggie Regular";
    font-size: 1.2em;
}

header{
    background-color: #FFD09B;
    width: 100%;
    padding-top: 5em;
}

header nav ul li:hover {
    background-color:#FFF7D1;
}

header h1 {
    font-family: "PawWow";
    color: #000000;
    font-size: 4em;
    text-align: center;
    letter-spacing: .2em;
}

header p {
    font-family: "Papaw";
    src: url('Media/fonts/doggy-papaw-font/DoggyPapawDemo-ZpyL8.otf');
    text-align: center;
}

header nav ul{
    padding: 1em;
    background-color: #FFB0B0;
}

header nav li{
    display: inline;
    margin-left: 1em;
    padding: 1em;

}

header nav li img{
    width: 1em;
}

header nav li a {
    text-decoration: none;
    color: black;
}

#dropDown {
    position: relative;
    display: inline-block;
}

#dropDown ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1.2em;
    background-color: #FFB0B0;
    position: absolute;
    right: 0;
}
#dropDown ul li {
    padding: 8px 12px;
    white-space: nowrap;
}

#dropDown ul li a {
    text-decoration: none;
    color: black;
}

#dropDown ul.active {
    display: flex;
    flex-direction: column;
}



@media screen and (max-width: 450px) {
    header{
        background-color: #FFD09B;
        width: 100%;
        padding-top: 2em;
    }
    
    header h1 {
        font-family: "PawWow";
        color: #000000;
        font-size: 2em;
        text-align: center;
        letter-spacing: .2em;
    }
    
    header p {
        font-family: "Papaw";
        src: url('Media/fonts/doggy-papaw-font/DoggyPapawDemo-ZpyL8.otf');
        text-align: center;
        font-size: .5em;
    }
    
    header nav ul{
        padding: .2em;
        background-color: #FFB0B0;
    }
    
    header nav li{
        display: inline;
        margin-left: 1em;
        padding: 1em;
        font-size: .5em;
    }
    
    header nav li img{
        width: 1em;
    }
    
    header nav li a {
        text-decoration: none;
        color: black;
    }
}

/* ------------------------------------------------------------------------------------- */

main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

}

.mainContent {
    order: 1;
    flex-grow: 4;
    padding-left: 1em;
    width: 70%;
}

.cardContainer {
    display: flex;
    gap: 1em;
    justify-content: center;
}
.card{
    width: 12rem;
    background-color: #FFD09B;
    height: 20em;
    text-align: center;
    border-radius: 15px;
}

.card img{
    width: 90%;
    margin-top: .5em;
    border-radius: 15px;
}

.btnGo{
    background-color: transparent;
    padding: .2em;
    outline: none;
    border: none;
    font-weight: bold;
    position: relative;
    padding:1em;
}
.btnGo::after{
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border: 2px solid transparent;
    top: 0;
    right: 0;
}
.btnGo::before{
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border: 2px solid transparent;
    bottom: 0;
    left: 0;
}
.btnGo:hover::after{
    height: 100%;
    width: 100%;
    border: 2px solid rgb(8, 0, 0);
    border-left: none;
    border-top: none;
    border-radius: 15px;
    transition: height 0.3s linear, width 0.3s linear 0.3s;
}
.btnGo:hover::before{
    height: 100%;
    width: 100%;
    border: 2px solid rgb(0, 0, 0);
    border-right: none;
    border-bottom: none;
    border-radius: 15px;
    transition: height 0.3s linear, width 0.3s linear 0.3s;
}
.btnGo:hover{
    background-color: #FFECC8;
    transition: 0.6s ease-in;
    border-radius: 15px;
}

.mainContent h4 {
    font-size: 1.2em;

}

.secArticle {
    margin-bottom: 4em;
}

.lastPart {
    margin-top: 3em;
    text-align: center;
}

.firstPart h2{
    text-align: center;
    font-size: 3em;
}

.secondPart h2 {
    font-size: 2em;
}
.secondPart h4 {
    font-size: 1.5em;
}

.thirdPart h2 {
    margin-top: 1em;
    text-align: center;
    font-size: 3em;
}
.thirdPart table {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.thirdPart table th {
    font-size: 1.2em;
    background-color: #FFD09B;
}
.tData{
    width: 15em;
    text-align: center;
}
.tData ul li {
    list-style-type: none;
}
.tLeft{
    width: 20%;
    background-color: #FFD09B;
}

aside{
    background-color: #FFECC8;
    order: 2;
    flex-grow: 1;
    text-align: center;
    width: 20%;
}
aside ul {
    margin-top: 2em;
}
aside ul li {
    list-style-type: none;
    text-align: center;
    margin-top: 1em;
}
aside ul li a{
    color: black;
    text-decoration: none;
}

@media screen and (max-width: 450px){
    main {
        display: flex;
        gap: 2%;
        flex-wrap: wrap;
    }

    .firstPart h2{
        font-size:xx-large;
    }

    .cardContainer {
        display: flex;
        flex-wrap: wrap;
    }

    .card{
        width: 12rem;
        background-color: #FFD09B;
        height: 20em;
        text-align: center;
        border-radius: 15px;
        font-size: small;
        margin-bottom: 2em;
    }

    .btnGo{
        font-size:.8em;
        position: relative;
    }

    aside{
        background-color: #FFECC8;
        order: 2;
        width: 20%;
        height: 60vh;
        font-size: .2em;
    }
    aside ul {
        margin-top: 2em;
    }
    aside ul li {
        list-style-type: none;
        margin-top: 3em;
        text-align: start;
    }
    aside ul li a{
        color: black;
        text-decoration: none;
    }

    .secondPart h2 {
        font-size: xx-large;
        margin-top: 1%;
    }
    .secondPart h4 {
        font-size: large;
    }
    .secondPart p, .secondPart li {
        font-size: medium;
    }

    .thirdPart h2 {
        margin-top: 1em;
        text-align: center;
        font-size: xx-large;
    }

    .thirdPart table {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        font-size: small;
    }
    .thirdPart table th {
        background-color: #FFD09B;
    }
    .tData{
        width: 15em;
        text-align: center;
    }
    .tData ul li {
        list-style-type: none;
    }
    .tLeft{
        width: 20%;
        background-color: #FFD09B;
    }
    .tLeft2{
        font-size: 1em;

    }
}

/* ----------------------------------------------------------------------- */

footer {
    text-align: center;
    margin-top: 20vh;
    background-color: #FFB0B0;
    padding: 1em;
}

